Recent Topics

Modifying Categories?

Started by on Apr 28, 2008 – Contents updated: Apr 28, 2008

Apr 28, 2008 01:21    

My b2evolution Version: Not Entered

2.4.1. Which is now old! I can't believe my timing. I just installed this yesterday. 8|

Anyhoo...I'd like to change the "All" category to read "Main Stage" and would like to keep but hide one of my other categories. Possible to do either or both of these?

Apr 28, 2008 02:05

Goto the following files..
Blog ->inc ->widgets ->widgets ->_coll_category_list.widget.php

Look for the following block ( app line 88 )

PHP

'option_all' => array(
                    'type' => 'text',
                    'label' => T_('Option "All"'),
                    'defaultvalue' => T_('All'),
                    'maxlength' => 100,
                    'note' => T_('The "All categories" link allows to reset the filter. Leave blank if you want no such option.'),
                ),

Edit T_( 'All' ), to T_( 'Main Stage'), and see what happens.
Remember to back up original files in case it stuffs something up :)

Re Hiding a Category, do you mean making it private?

Apr 28, 2008 02:33

Great! I got the "All" to read "Main Stage".

I formerly had a hack that made one of my categories "Main Stage" the default homepage of the blog. I now no longer want that and instead want the "All" category to be my "Main Stage".

Problem is that many outside links use the old "Main Stage" link as the primary link to our site. so I don't want to get rid of that link/page/cateogry. I just would prefer that it not be displayed in my Categories listings.

Tall order I realize but gotta give it a shot.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.