Member
Member
smiguel   2010-09-22, 05:46
#1

Hi everywere!

Why, in the list of categories (AllNewsCategories), "All News" link takes me to /index page, not the /news page?

Administrator
Administrator
acrylian   2010-09-22, 09:20
#2

If you maybe have the option "news on index" checked which the Zenpage theme provides (you did not tell what theme you use) that is correct.

Member
Member
vincent3569   2010-09-28, 15:02
#3

hello

i have he same problem that smiguel.
i am with zp_gallerific theme and if "news on index" is checked on Zenpage theme, news link link takes me to /index page.

i have done a search with "zenpage_zp_index_news" on zenphoto's code and i found this key word in :

  • zenpage/zenpage-template-functions.php
  • zp-extention/menu_manager.php

an option of a theme should not influenced another theme using zenpage plugin.
maybe it's would be an option of zenpage plugin ?

Administrator
Administrator
acrylian   2010-09-28, 15:21
#4

"news on index" is indeed a Zenpage plugin option (that's why it is found on the plugin options!) and not a theme option (Zenpage plugin != Zenpage theme) and just switches the news index url to the gallery index.

A theme must support that of course. if it does not you get the confusion you just got. Not sure how to do this option theme dependent as it affects internals of Zenpage.

For now: Just disable that and the news index is again on the normal news page (note I don't know what special things this theme else does). Or place a call to disable that option on your theme directly (see setOption() on the doc).

Member
Member
vincent3569   2010-09-28, 16:35
#5

sorry, but in fact, in the admin tabs, "news on index" is an option of zenpage theme and not an option of zenpage plugin.

that's why I've made this proposal...

for now, i note your suggestion to place a call to disable that option on mytheme directly with setOption()

Administrator
Administrator
acrylian   2010-09-28, 17:27
#6

Oh, you are right, it is of course a theme function. Sorry, the setOption() way is the only one currently as the gallery index stuff is Zenpage internal and this url change needs to be globally.

Member
Member
vincent3569   2010-09-28, 21:17
#7

I write
setOption('zenpage_zp_index_news', false, false);
in the header of my theme herited from zpgalleriffic.

with that it's ok

the zpgalleriffic doesn't work with this option, this is unfortunate because it is a feature that would have been useful for me.

i don't know how to do that, if you can give me a help...

Administrator
Administrator
acrylian   2010-09-29, 08:35
#8

Sorry, regarding zpGalleriffic in general you would have to ask its author, I don't know anyhting about that theme.

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