<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>blogTJ</title>
	<atom:link href="http://blogtj.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogtj.wordpress.com</link>
	<description>“One reason the young sometimes succeed where the old fail is that they don’t realize how incompetent they are.”- Paul Graham</description>
	<lastBuildDate>Sat, 21 Jan 2012 06:35:55 +0000</lastBuildDate>
	<language>ro</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blogtj.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f8e093f17d34cdc1a837bcc6ad2c3f0b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>blogTJ</title>
		<link>http://blogtj.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blogtj.wordpress.com/osd.xml" title="blogTJ" />
	<atom:link rel='hub' href='http://blogtj.wordpress.com/?pushpress=hub'/>
		<item>
		<title>prestashop modify header no changes</title>
		<link>http://blogtj.wordpress.com/2012/01/21/prestashop-modify-header-no-changes/</link>
		<comments>http://blogtj.wordpress.com/2012/01/21/prestashop-modify-header-no-changes/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 06:27:52 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[prestashop]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=913</guid>
		<description><![CDATA[if you try to change any file from your theme, to see any changes you must go to Backoffice&#8211;&#62;performance&#8211;&#62;Force compile and change this to YES. Now all change that you make is visible. Good luck<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=913&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>if you try to change any file from your theme, to see any changes you must go to Backoffice&#8211;&gt;performance&#8211;&gt;Force compile and change this to YES.</p>
<p>Now all change that you make is visible.</p>
<p>Good luck</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/913/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=913&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2012/01/21/prestashop-modify-header-no-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>
	</item>
		<item>
		<title>magento connect manager 404 error</title>
		<link>http://blogtj.wordpress.com/2012/01/19/magento-connect-manager-404-error/</link>
		<comments>http://blogtj.wordpress.com/2012/01/19/magento-connect-manager-404-error/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 06:17:04 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=907</guid>
		<description><![CDATA[fresh install of magento and 404 error when click on magento connect manager. To solve this you must set: Directory /downloader/ set to 755 file /downloader/index.php set to 644<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=907&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>fresh install of magento and 404 error when click on magento connect manager.</p>
<p>To solve this you must set:</p>
<p>Directory /downloader/ set to 755<br />
file /downloader/index.php set to 644</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/907/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/907/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/907/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/907/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/907/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/907/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/907/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/907/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/907/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/907/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/907/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/907/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/907/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/907/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=907&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2012/01/19/magento-connect-manager-404-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>
	</item>
		<item>
		<title>yii rules numerical float</title>
		<link>http://blogtj.wordpress.com/2011/12/04/yii-rules-numerical-float/</link>
		<comments>http://blogtj.wordpress.com/2011/12/04/yii-rules-numerical-float/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 15:21:03 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[Yii]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=904</guid>
		<description><![CDATA[if you want to validate a float number you can use this:     public function rules() { // NOTE: you should only define rules for those attributes that // will receive user inputs. return array( array(&#8216;price&#8217;, &#8216;numerical&#8217;, &#8216;integerOnly&#8217;=&#62;FALSE,&#8217;numberPattern&#8217;=&#62;&#8217;/^\s*[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s*$/&#8217;,'message&#8217;=&#62;&#8217;erroreeeeee&#8217;), ); } Example: 19.32 &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=904&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>if you want to validate a float number you can use this:</p>
<blockquote><p>    public function rules()<br />
{<br />
// NOTE: you should only define rules for those attributes that<br />
// will receive user inputs.<br />
return array(</p>
<p>array(&#8216;price&#8217;, &#8216;numerical&#8217;, &#8216;integerOnly&#8217;=&gt;FALSE,&#8217;numberPattern&#8217;=&gt;&#8217;/^\s*[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s*$/&#8217;,'message&#8217;=&gt;&#8217;erroreeeeee&#8217;),</p>
<p>);<br />
}</p>
</blockquote>
<p>Example: 19.32</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/904/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/904/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/904/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/904/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/904/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/904/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/904/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/904/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/904/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/904/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/904/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/904/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/904/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/904/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=904&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2011/12/04/yii-rules-numerical-float/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>
	</item>
		<item>
		<title>yii image resize include(CArray.php) [function.include]: failed to open stream: No such file or directory</title>
		<link>http://blogtj.wordpress.com/2011/11/30/yii-image-resize-includecarray-php-function-include-failed-to-open-stream-no-such-file-or-directory/</link>
		<comments>http://blogtj.wordpress.com/2011/11/30/yii-image-resize-includecarray-php-function-include-failed-to-open-stream-no-such-file-or-directory/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 07:58:07 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=901</guid>
		<description><![CDATA[I installed a image extension that do resize. On localhost I had the following error when I try to do $image-&#62;save($path,100): include(CArray.php) [function.include]: failed to open stream: No such file or directory To fixed it go to: http://www.yiiframework.com/forum/index.php?/topic/6392-fancyupload/ or if that location doesn&#8217;t work put these code into /protected/components/CArray.php &#60;?php /** * Array helper class. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=901&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I installed a image extension that do resize. On localhost I had the following error when I try to do $image-&gt;save($path,100):</p>
<p>include(CArray.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory</p>
<p>To fixed it go to:</p>
<p>http://www.yiiframework.com/forum/index.php?/topic/6392-fancyupload/</p>
<p>or if that location doesn&#8217;t work put these code into /protected/components/CArray.php</p>
<p>&lt;?php<br />
/**<br />
 * Array helper class.<br />
 *<br />
 * $Id: arr.php 3769 2008-12-15 00:48:56Z zombor $<br />
 *<br />
 * @package    Core<br />
 * @author     Kohana Team<br />
 * @copyright  (c) 2007-2008 Kohana Team<br />
 * @license    http://kohanaphp.com/license.html<br />
 */<br />
class CArray {</p>
<p>        /**<br />
         * Return a callback array from a string, eg: limit[10,20] would become<br />
         * array(&#039;limit&#039;, array(&#039;10&#039;, &#039;20&#039;))<br />
         *<br />
         * @param   string  callback string<br />
         * @return  array<br />
         */<br />
        public static function callback_string($str)<br />
        {<br />
                // command[param,param]<br />
                if (preg_match(&#039;/([^\[]*+)\[(.+)\]/&#039;, (string) $str, $match))<br />
                {<br />
                        // command<br />
                        $command = $match[1];</p>
<p>                        // param,param<br />
                        $params = preg_split(&#039;/(? $value)<br />
                {<br />
                        $value = ($keep_keys === TRUE) ? $value : array_values($value);<br />
                        foreach ($value as $k =&gt; $v)<br />
                        {<br />
                                $new_array[$k][$key] = $v;<br />
                        }<br />
                }</p>
<p>                return $new_array;<br />
        }</p>
<p>        /**<br />
         * Removes a key from an array and returns the value.<br />
         *<br />
         * @param   string  key to return<br />
         * @param   array   array to work on<br />
         * @return  mixed   value of the requested array key<br />
         */<br />
        public static function remove($key, &amp; $array)<br />
        {<br />
                if ( ! array_key_exists($key, $array))<br />
                        return NULL;</p>
<p>                $val = $array[$key];<br />
                unset($array[$key]);</p>
<p>                return $val;<br />
        }</p>
<p>        /**<br />
         * Extract one or more keys from an array. Each key given after the first<br />
         * argument (the array) will be extracted. Keys that do not exist in the<br />
         * search array will be NULL in the extracted data.<br />
         *<br />
         * @param   array   array to search<br />
         * @param   string  key name<br />
         * @return  array<br />
         */<br />
        public static function extract(array $search, $keys)<br />
        {<br />
                // Get the keys, removing the $search array<br />
                $keys = array_slice(func_get_args(), 1);</p>
<p>                $found = array();<br />
                foreach ($keys as $key)<br />
                {<br />
                        if (isset($search[$key]))<br />
                        {<br />
                                $found[$key] = $search[$key];<br />
                        }<br />
                        else<br />
                        {<br />
                                $found[$key] = NULL;<br />
                        }<br />
                }</p>
<p>                return $found;<br />
        }</p>
<p>        /**<br />
         * Because PHP does not have this function.<br />
         *<br />
         * @param   array   array to unshift<br />
         * @param   string  key to unshift<br />
         * @param   mixed   value to unshift<br />
         * @return  array<br />
         */<br />
        public static function unshift_assoc( array &amp; $array, $key, $val)<br />
        {<br />
                $array = array_reverse($array, TRUE);<br />
                $array[$key] = $val;<br />
                $array = array_reverse($array, TRUE);</p>
<p>                return $array;<br />
        }</p>
<p>        /**<br />
         * Because PHP does not have this function, and array_walk_recursive creates<br />
         * references in arrays and is not truly recursive.<br />
         *<br />
         * @param   mixed  callback to apply to each member of the array<br />
         * @param   array  array to map to<br />
         * @return  array<br />
         */<br />
        public static function map_recursive($callback, array $array)<br />
        {<br />
                foreach ($array as $key =&gt; $val)<br />
                {<br />
                        // Map the callback to the key<br />
                        $array[$key] = is_array($val) ? arr::map_recursive($callback, $val) : call_user_func($callback, $val);<br />
                }</p>
<p>                return $array;<br />
        }</p>
<p>        /**<br />
         * Binary search algorithm.<br />
         *<br />
         * @param   mixed    the value to search for<br />
         * @param   array    an array of values to search in<br />
         * @param   boolean  return false, or the nearest value<br />
         * @param   mixed    sort the array before searching it<br />
         * @return  integer<br />
         */<br />
        public static function binary_search($needle, $haystack, $nearest = FALSE, $sort = FALSE)<br />
        {<br />
                if ($sort === TRUE)<br />
                {<br />
                        sort($haystack);<br />
                }</p>
<p>                $high = count($haystack);<br />
                $low = 0;</p>
<p>                while ($high &#8211; $low &gt; 1)<br />
                {<br />
                        $probe = ($high + $low) / 2;<br />
                        if ($haystack[$probe] = $low_distance) ? $haystack[ceil($low)] : $haystack[floor($low)];<br />
                }</p>
<p>                return $high;<br />
        }</p>
<p>        /**<br />
         * Emulates array_merge_recursive, but appends numeric keys and replaces<br />
         * associative keys, instead of appending all keys.<br />
         *<br />
         * @param   array  any number of arrays<br />
         * @return  array<br />
         */<br />
        public static function merge()<br />
        {<br />
                $total = func_num_args();</p>
<p>                $result = array();<br />
                for ($i = 0; $i  $val)<br />
                        {<br />
                                if (isset($result[$key]))<br />
                                {<br />
                                        if (is_array($val))<br />
                                        {<br />
                                                // Arrays are merged recursively<br />
                                                $result[$key] = arr::merge($result[$key], $val);<br />
                                        }<br />
                                        elseif (is_int($key))<br />
                                        {<br />
                                                // Indexed arrays are appended<br />
                                                array_push($result, $val);<br />
                                        }<br />
                                        else<br />
                                        {<br />
                                                // Associative arrays are replaced<br />
                                                $result[$key] = $val;<br />
                                        }<br />
                                }<br />
                                else<br />
                                {<br />
                                        // New values are added<br />
                                        $result[$key] = $val;<br />
                                }<br />
                        }<br />
                }</p>
<p>                return $result;<br />
        }</p>
<p>        /**<br />
         * Overwrites an array with values from input array(s).<br />
         * Non-existing keys will not be appended!<br />
         *<br />
         * @param   array   key array<br />
         * @param   array   input array(s) that will overwrite key array values<br />
         * @return  array<br />
         */<br />
        public static function overwrite($array1)<br />
        {<br />
                foreach (array_slice(func_get_args(), 1) as $array2)<br />
                {<br />
                        foreach ($array2 as $key =&gt; $value)<br />
                        {<br />
                                if (array_key_exists($key, $array1))<br />
                                {<br />
                                        $array1[$key] = $value;<br />
                                }<br />
                        }<br />
                }</p>
<p>                return $array1;<br />
        }</p>
<p>        /**<br />
         * Fill an array with a range of numbers.<br />
         *<br />
         * @param   integer  stepping<br />
         * @param   integer  ending number<br />
         * @return  array<br />
         */<br />
        public static function range($step = 10, $max = 100)<br />
        {<br />
                if ($step &lt; 1)<br />
                        return array();</p>
<p>                $array = array();<br />
                for ($i = $step; $i  $value)<br />
                {<br />
                        if (is_array($value))<br />
                        {<br />
                                // Convert the array to an object<br />
                                $value = arr::to_object($value, $class);<br />
                        }</p>
<p>                        // Add the value to the object<br />
                        $object-&gt;{$key} = $value;<br />
                }</p>
<p>                return $object;<br />
        }</p>
<p>} // End arr</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/901/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/901/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/901/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/901/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/901/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/901/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/901/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/901/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/901/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/901/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/901/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/901/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/901/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/901/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=901&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2011/11/30/yii-image-resize-includecarray-php-function-include-failed-to-open-stream-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL change table name</title>
		<link>http://blogtj.wordpress.com/2011/10/24/sql-change-table-name/</link>
		<comments>http://blogtj.wordpress.com/2011/10/24/sql-change-table-name/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 12:56:07 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=899</guid>
		<description><![CDATA[Often I googled how to change the name of a table in sql. Maybe this help you too: alter table Old_Name rename to New_Name<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=899&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Often I googled how to change the name of a table in sql.</p>
<p>Maybe this help you too:</p>
<p>alter table Old_Name rename to New_Name</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/899/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=899&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2011/10/24/sql-change-table-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>
	</item>
		<item>
		<title>yii criteria SQL</title>
		<link>http://blogtj.wordpress.com/2011/09/13/yii-criteria-sql/</link>
		<comments>http://blogtj.wordpress.com/2011/09/13/yii-criteria-sql/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 19:43:55 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=891</guid>
		<description><![CDATA[$criteria = new CDbCriteria; $criteria-&#62;condition = &#8220;salariu=:salariu_val&#8221;; $criteria-&#62;order = &#8220;name ASC&#8221;; $criteria-&#62;limit = 10; $items = Item::model()-&#62;findAll($criteria);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=891&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_892" class="wp-caption aligncenter" style="width: 210px"><a href="http://blogtj.files.wordpress.com/2011/09/yii_framework.jpg"><img class="size-full wp-image-892" title="yii_framework" src="http://blogtj.files.wordpress.com/2011/09/yii_framework.jpg?w=500" alt="yii_framework"   /></a><p class="wp-caption-text">yii_framework</p></div>
<p>$criteria = new CDbCriteria;<br />
$criteria-&gt;condition = &#8220;salariu=:salariu_val&#8221;;<br />
$criteria-&gt;order = &#8220;name ASC&#8221;;<br />
$criteria-&gt;limit = 10;<br />
$items = Item::model()-&gt;findAll($criteria);</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/891/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/891/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/891/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/891/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/891/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/891/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/891/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/891/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/891/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/891/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/891/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/891/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/891/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/891/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=891&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2011/09/13/yii-criteria-sql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>

		<media:content url="http://blogtj.files.wordpress.com/2011/09/yii_framework.jpg" medium="image">
			<media:title type="html">yii_framework</media:title>
		</media:content>
	</item>
		<item>
		<title>slug for nice url</title>
		<link>http://blogtj.wordpress.com/2011/09/12/slug-for-nice-url/</link>
		<comments>http://blogtj.wordpress.com/2011/09/12/slug-for-nice-url/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 15:14:04 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=879</guid>
		<description><![CDATA[iata o functie foarte ok pentru a crea &#8220;Slug&#8221;:     public function slug($str, $replace=array(), $delimiter=&#8217;-') { setlocale(LC_ALL, &#8216;en_US.UTF8&#8242;); if( !empty($replace) ) { $str = str_replace((array)$replace, &#8216; &#8216;, $str); } $clean = iconv(&#8216;UTF-8&#8242;, &#8216;ASCII//TRANSLIT&#8217;, $str); $clean = preg_replace(&#8220;/[^a-zA-Z0-9\/_&#124;+ -]/&#8221;, &#8221;, $clean); $clean = strtolower(trim($clean, &#8216;-&#8217;)); $clean = preg_replace(&#8220;/[\/_&#124;+ -]+/&#8221;, $delimiter, $clean); return $clean; } Mie mi-a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=879&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_888" class="wp-caption aligncenter" style="width: 211px"><a href="http://blogtj.files.wordpress.com/2011/09/slug.jpg"><img class="size-full wp-image-888" title="slug" src="http://blogtj.files.wordpress.com/2011/09/slug.jpg?w=500" alt="slug"   /></a><p class="wp-caption-text">slug</p></div>
<p>iata o functie foarte ok pentru a crea &#8220;Slug&#8221;:</p>
<blockquote><p>    public function slug($str, $replace=array(), $delimiter=&#8217;-') {<br />
setlocale(LC_ALL, &#8216;en_US.UTF8&#8242;);</p>
<p>if( !empty($replace) ) {<br />
$str = str_replace((array)$replace, &#8216; &#8216;, $str);<br />
}</p>
<p>$clean = iconv(&#8216;UTF-8&#8242;, &#8216;ASCII//TRANSLIT&#8217;, $str);<br />
$clean = preg_replace(&#8220;/[^a-zA-Z0-9\/_|+ -]/&#8221;, &#8221;, $clean);<br />
$clean = strtolower(trim($clean, &#8216;-&#8217;));<br />
$clean = preg_replace(&#8220;/[\/_|+ -]+/&#8221;, $delimiter, $clean);</p>
<p>return $clean;<br />
}</p></blockquote>
<p>Mie mi-a fost foarte utila , deoarece scap si de caracterele romanesti care imi faceau probleme.</p>
<p>Nu este facuta de mine, sursa este aici: <a title="slug" href="http://cubiq.org/the-perfect-php-clean-url-generator">http://cubiq.org/the-perfect-php-clean-url-generator</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/879/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=879&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2011/09/12/slug-for-nice-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>

		<media:content url="http://blogtj.files.wordpress.com/2011/09/slug.jpg" medium="image">
			<media:title type="html">slug</media:title>
		</media:content>
	</item>
		<item>
		<title>yii CListView change pager</title>
		<link>http://blogtj.wordpress.com/2011/09/12/yii-clistview-change-pager/</link>
		<comments>http://blogtj.wordpress.com/2011/09/12/yii-clistview-change-pager/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 14:55:53 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[Yii]]></category>
		<category><![CDATA[CListView]]></category>
		<category><![CDATA[pager]]></category>
		<category><![CDATA[yii]]></category>
		<category><![CDATA[yii framework]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=874</guid>
		<description><![CDATA[Daca doriti sa modificati etichetele de la {pager} , adica &#8220;Go to page&#8221; &#8220;Previous&#8221; sau &#8220;Next&#8221;, adaugati la widget liniile cu rosu si boldate : $this-&#62;widget(&#8216;zii.widgets.CListView&#8217;, array( &#8216;dataProvider&#8217;=&#62;$items, &#8216;itemView&#8217;=&#62;&#8217;_view&#8217;,        &#8216;pager&#8217;=&#62;array(               &#8216;class&#8217;=&#62;&#8217;CLinkPager&#8217;,               &#8216;header&#8217;=&#62;&#8217;Pagina &#8216;,               &#8216;firstPageLabel&#8217;=&#62;&#8217;&#38;lt;&#38;lt;&#8217;,               &#8216;prevPageLabel&#8217;=&#62;&#8217;&#38;lt;&#8217;,               &#8216;nextPageLabel&#8217;=&#62;&#8217;&#38;gt;&#8217;,        [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=874&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_882" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogtj.files.wordpress.com/2011/09/picture-11.png"><img class="size-medium wp-image-882" title="CListView" src="http://blogtj.files.wordpress.com/2011/09/picture-11.png?w=300&#038;h=180" alt="CListView" width="300" height="180" /></a><p class="wp-caption-text">CListView</p></div>
<p>Daca doriti sa modificati etichetele de la {pager} , adica &#8220;Go to page&#8221; &#8220;Previous&#8221; sau &#8220;Next&#8221;, adaugati la widget liniile cu rosu si boldate :</p>
<blockquote><p>$this-&gt;widget(&#8216;zii.widgets.CListView&#8217;, array(<br />
&#8216;dataProvider&#8217;=&gt;$items,<br />
&#8216;itemView&#8217;=&gt;&#8217;_view&#8217;,<br />
<span style="color:#ff0000;"><strong>       &#8216;pager&#8217;=&gt;array(</strong></span><br />
<span style="color:#ff0000;"><strong>              &#8216;class&#8217;=&gt;&#8217;CLinkPager&#8217;,</strong></span><br />
<span style="color:#ff0000;"><strong>              &#8216;header&#8217;=&gt;&#8217;Pagina &#8216;,</strong></span><br />
<span style="color:#ff0000;"><strong>              &#8216;firstPageLabel&#8217;=&gt;&#8217;&amp;lt;&amp;lt;&#8217;,</strong></span><br />
<span style="color:#ff0000;"><strong>              &#8216;prevPageLabel&#8217;=&gt;&#8217;&amp;lt;&#8217;,</strong></span><br />
<span style="color:#ff0000;"><strong>              &#8216;nextPageLabel&#8217;=&gt;&#8217;&amp;gt;&#8217;,    </strong></span><br />
<span style="color:#ff0000;"><strong>              &#8216;lastPageLabel&#8217;=&gt;&#8217;&amp;gt;&amp;gt;&#8217;,</strong></span><br />
<span style="color:#ff0000;"><strong>              )</strong></span><br />
));</p></blockquote>
<div id="pager-detail">pager property</div>
<div>public array <strong>$pager</strong>;</div>
<p>the configuration for the pager. Defaults to <code>array('class'=&gt;'CLinkPager')</code>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/874/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/874/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/874/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=874&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2011/09/12/yii-clistview-change-pager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>

		<media:content url="http://blogtj.files.wordpress.com/2011/09/picture-11.png?w=300" medium="image">
			<media:title type="html">CListView</media:title>
		</media:content>
	</item>
		<item>
		<title>CListView emptyText</title>
		<link>http://blogtj.wordpress.com/2011/09/12/clistview-emptytext/</link>
		<comments>http://blogtj.wordpress.com/2011/09/12/clistview-emptytext/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 13:32:49 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[Yii]]></category>
		<category><![CDATA[CListView]]></category>
		<category><![CDATA[yii]]></category>
		<category><![CDATA[yii framework]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=867</guid>
		<description><![CDATA[daca Folositi CListView si in urma interogarii nu aveti date de afisat, default va afiseaza: &#8220;No results found&#8221; Pentru a modifica acest lucru puteti folosi in pagina de view &#8211; emptyText:  $this-&#62;widget(&#8216;zii.widgets.CListView&#8217;, array( &#8216;dataProvider&#8217;=&#62;$items, &#8216;itemView&#8217;=&#62;&#8217;_view&#8217;, &#8216;emptyText&#8217;=&#62;&#8217;Momentan nu sunt articole in aceasta categorie&#8217;, )); emptyText property public string $emptyText; the message to be displayed when dataProvider [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=867&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_882" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogtj.files.wordpress.com/2011/09/picture-11.png"><img class="size-medium wp-image-882" title="CListView" src="http://blogtj.files.wordpress.com/2011/09/picture-11.png?w=300&#038;h=180" alt="CListView" width="300" height="180" /></a><p class="wp-caption-text">CListView</p></div>
<p>daca Folositi CListView si in urma interogarii nu aveti date de afisat, default va afiseaza:</p>
<p>&#8220;No results found&#8221;</p>
<p>Pentru a modifica acest lucru puteti folosi in pagina de view &#8211; emptyText:</p>
<blockquote><p> $this-&gt;widget(&#8216;zii.widgets.CListView&#8217;, array(<br />
&#8216;dataProvider&#8217;=&gt;$items,<br />
&#8216;itemView&#8217;=&gt;&#8217;_view&#8217;,<br />
<span style="color:#ff0000;"> <strong>&#8216;emptyText&#8217;=&gt;&#8217;Momentan nu sunt articole in aceasta categorie&#8217;,</strong></span><br />
));</p></blockquote>
<div id="emptyText-detail">emptyText property</div>
<div>public string <strong>$emptyText</strong>;</div>
<p>the message to be displayed when <a href="http://www.yiiframework.com/doc/api/1.1/CBaseListView#dataProvider">dataProvider</a> does not have any data.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/867/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=867&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2011/09/12/clistview-emptytext/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>

		<media:content url="http://blogtj.files.wordpress.com/2011/09/picture-11.png?w=300" medium="image">
			<media:title type="html">CListView</media:title>
		</media:content>
	</item>
		<item>
		<title>modificare CListView summaryText</title>
		<link>http://blogtj.wordpress.com/2011/09/12/modificare-clistview-summarytext/</link>
		<comments>http://blogtj.wordpress.com/2011/09/12/modificare-clistview-summarytext/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 13:23:02 +0000</pubDate>
		<dc:creator>blogtj</dc:creator>
				<category><![CDATA[Yii]]></category>
		<category><![CDATA[CListView]]></category>
		<category><![CDATA[summaryText]]></category>
		<category><![CDATA[yii framework]]></category>

		<guid isPermaLink="false">http://blogtj.wordpress.com/?p=861</guid>
		<description><![CDATA[Daca doriti sa modificati modul cum apare CListView: Displaying 1-4 of 4 result(s). cu 1-4 din 4 rezultate In partea de view modificam widget-ul CListView adaugand linia cu rosu boldata. $this-&#62;widget(&#8216;zii.widgets.CListView&#8217;, array( &#8216;dataProvider&#8217;=&#62;$items, &#8216;itemView&#8217;=&#62;&#8217;/_view&#8217;,  &#8216;summaryText&#8217; =&#62; &#8216;{start}-{end}  din {count} rezultate&#8217;, )); summaryText property public string $summaryText; the summary text template for the view. These tokens [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=861&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Daca doriti sa modificati modul cum apare CListView:</p>
<div style="text-align:center;"><span style="color:#ff0000;">Displaying 1-4 of 4 result(s).</span></div>
<p style="text-align:center;">cu</p>
<p style="text-align:center;">1-4 din 4 rezultate</p>
<p style="text-align:left;">In partea de view modificam widget-ul CListView adaugand linia cu rosu boldata.</p>
<blockquote><p>$this-&gt;widget(&#8216;zii.widgets.CListView&#8217;, array(<br />
&#8216;dataProvider&#8217;=&gt;$items,<br />
&#8216;itemView&#8217;=&gt;&#8217;/_view&#8217;,<br />
<span style="color:#ff0000;"> <strong>&#8216;summaryText&#8217; =&gt; &#8216;{start}-{end}  din {count} rezultate&#8217;,</strong></span><br />
));</p></blockquote>
<div id="summaryText-detail">summaryText property</div>
<div>public string <strong>$summaryText</strong>;</div>
<p>the summary text template for the view. These tokens are recognized and will be replaced with the corresponding values:</p>
<ul>
<li>{start}: the starting row number (1-based) currently being displayed</li>
<li>{end}: the ending row number (1-based) currently being displayed</li>
<li>{count}: the total number of rows</li>
<li>{page}: the page number (1-based) current being displayed, available since version 1.1.3</li>
<li>{pages}: the total number of pages, available since version 1.1.3</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/blogtj.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/blogtj.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/blogtj.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/blogtj.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/blogtj.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/blogtj.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/blogtj.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/blogtj.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/blogtj.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/blogtj.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/blogtj.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/blogtj.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/blogtj.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/blogtj.wordpress.com/861/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blogtj.wordpress.com&amp;blog=9492879&amp;post=861&amp;subd=blogtj&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blogtj.wordpress.com/2011/09/12/modificare-clistview-summarytext/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a9409e67e2c2310ff347fac817826de?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">blogtj</media:title>
		</media:content>
	</item>
	</channel>
</rss>
