Recent Topics

1 Apr 08, 2008 12:05    

My b2evolution Version: 2.x

There is principal categories and extra categories, each kind of categories are displayed in the back-end by alphabetical order with child categories also in alphabetical order under his own parent category.

what is the point to have a "principal category" and "extra" category if this principal category display last (if his name start with a Z for example ) in the front-end just after the title of my post ? (depending on your skin) or in the end of the post.

I'm looking for a way to display principal categories always before extra categories, does it make any sense to you people ?

does it have something to do wit the skin ? I use glossyblue skin

in one blog i have a category starting with letter S
another category starting with the letter P.

(in the back-end, all these categories are sorted alphabetically, it's OK
and in the front-end in the sidebar, categories also display this way, it's OK)

but in the front-end my S category is always before my P category
why is that ? and what's the point to have principal categories and extras if in the front-end after the title post there isn't any special marker or something telling the visitor that the article in question belong to a particular principal category for whatever reason ?

in the code post.main.php

i have

<div class="post-title">
			<h2><?php $Item->title(); ?></h2>
		<span class="post-cat"><?php
				$Item->categories( array(
					'before'          => '',
					'after'           => ' ',
					'include_main'    => true,
					'include_other'   => true,
					'include_external'=> true,
					'link_categories' => true,
				) );

any chance to insert in this part, parameters to do what i want ?

well i'm kind of lost, anyone have an idea ?

2 Apr 08, 2008 16:52

<div class="post-title">
			<h2><?php $Item->title(); ?></h2>
		<span class="post-cat"><?php
				$Item->categories( array(
					'before'          => '',
					'after'           => ' ',
					'include_main'    => true,
					'include_other'   => false,
					'include_external'=> false,
					'link_categories' => true,
				) );
				$Item->categories( array(
					'before'          => '',
					'after'           => ' ',
					'include_main'    => false,
					'include_other'   => true,
					'include_external'=> true,
					'link_categories' => true,
				) );

3 Apr 08, 2008 18:13

Thanks soo much ! you just saved my day !
i think i owe you a beer !


Form is loading...