Member
Member
frankm   03-04-2012, 08:44
#1

hi,

i'm using zenphoto, version 1.4.2.2 [9365] (Official Build).

i use zenpage for news and custom pages. the thing is i have news categories which have the same name as some of my pages. for instance i have a page which is called "Books" and a news category called "Books" that i used when posting articles related to my books.

when on the news page (news.php), if i sort the articles by category and the "books" category is selected, the "Books" link to the page (that i print using the printPageMenu('list-top','','active','active','','') function gets the active class applied to it. i would rather not have the "books" link active since i am on the news page.

i'm not sure that is entirely clear. i hope so. is there a way to distinguish between active news category and active pages ?

i am using a custom theme but i have checked using the zenpage theme and both themes behave the same way.

thank you for your help.
frank.

Administrator
Administrator
acrylian   03-04-2012, 09:36
#2

If that happens it is most likely a bug. Categories and pages are not even related. Will try to reproduce this.

Administrator
Administrator
acrylian   03-04-2012, 10:05
#3

It was a bug. The category and pages menus use the same base menu for nested items and just checked for the titlelink without checking the menu type used. Fixed in svn now.

Member
Member
frankm   03-04-2012, 10:34
#4

thank you.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.