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

Oscar Renalias oscar at renalias.net
Thu Aug 30 02:37:23 EDT 2007


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
>


More information about the pLog-svn mailing list