[pLog-svn] r5876 - plog/branches/lifetype-1.2/class/view

Jon Daley plogworld at jon.limedaley.com
Thu Aug 30 08:13:34 EDT 2007


 	Ah, I misunderstood what this was supposed to mean.  I (and other 
people I have helped setup blogs) use it for "private" categories, that 
don't show up anywhere unless you have the exact link.  Similar how albums 
work if you click the "don't show in list" checkbox.

 	If the behavior is supposed to be as you say, we should remove the 
parameter, as it isn't ever used, and is always set to false.

On Thu, 30 Aug 2007, Oscar Renalias wrote:

> Why would you do that? The previous behaviour was the correct one.
>
> When we say that a category should not be shown in the front page,
> what we mean is that posts that belong to this category should be not
> be shown in the front page but the category should be included
> everywhere where there is a list of categories. Otherwise users  would
> never see that this category even exists :-)
>
> This should be used for less interesting categories or for categories
> that are updated very often, so that they don't clutter the front page
> but are still accessible by clicking their link in the front page of
> the blog, under "categories".
>
> On 8/30/07, jondaley at devel.lifetype.net <jondaley at devel.lifetype.net> wrote:
>> Author: jondaley
>> Date: 2007-08-29 20:45:44 -0400 (Wed, 29 Aug 2007)
>> New Revision: 5876
>>
>> Modified:
>>    plog/branches/lifetype-1.2/class/view/blogview.class.php
>> Log:
>> only get categories that are supposed to show in the main page
>>
>> Modified: plog/branches/lifetype-1.2/class/view/blogview.class.php
>> ===================================================================
>> --- plog/branches/lifetype-1.2/class/view/blogview.class.php    2007-08-29 23:54:46 UTC (rev 5875)
>> +++ plog/branches/lifetype-1.2/class/view/blogview.class.php    2007-08-30 00:45:44 UTC (rev 5876)
>> @@ -188,7 +188,7 @@
>>                         $categoryOrder = $blogSettings->getValue( 'categories_order' );
>>                 $categories = new ArticleCategories();
>>                         // we want a list with all the categories, sorted in the way that was configured
>> -            $categories = $categories->getBlogCategories( $this->_blogInfo->getId(), false, $categoryOrder );
>> +            $categories = $categories->getBlogCategories( $this->_blogInfo->getId(), true, $categoryOrder );
>>
>>              return $categories;
>>          }
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

So, what's with this guy Gideon, anyway?
   And why can't he ever remember his Bible?


More information about the pLog-svn mailing list