URL news wrong

Hi everywere!

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

Comments

  • acrylian Administrator, Developer
    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.
  • vincent3569 Member, Translator
    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 ?
  • acrylian Administrator, Developer
    "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).
  • vincent3569 Member, Translator
    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()
  • acrylian Administrator, Developer
    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.
  • vincent3569 Member, Translator
    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...
  • acrylian Administrator, Developer
    Sorry, regarding zpGalleriffic in general you would have to ask its author, I don't know anyhting about that theme.
Sign In or Register to comment.