![]() |
|
zpArdoise - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: zpArdoise (/thread-11900.html) |
zpArdoise - joshermens - 2015-03-07 Hi, I am new in this forum. Sorry if i do something wrong. Question: How can I disable the Archive option in Zenphoto or in zpArdoise theme. Thanks for the response. zpArdoise - fretzl - 2015-03-07 In the zpArdoise theme options you can un-check the [i]Show Archive link[/i] option. zpArdoise - joshermens - 2015-03-08 Hi, Thanks for your response. But.... the link is always visible, even though the box is un-checked. Zenphoto is a fresh new installation. zpArdoise - fretzl - 2015-03-08 Ha yes, I see the theme is missing a check. In `inc_footer.php` find this line: `printCustomPageURL(gettext('Archive View'), 'archive', '', ' | ');` and replace it with this: ` if ( getOption('show_archive') ) { printCustomPageURL(gettext('Archive View'), 'archive', '', ' | '); } ` zpArdoise - vincent3569 - 2015-03-08 hi the option is for display archives item in menu. archives link is allways visible in footer. you can suppress the code pointed by fretzl or modify it as described zpArdoise - fretzl - 2015-03-08 Thanks Vincent. Didn't realize that. zpArdoise - joshermens - 2015-03-09 Hi Thanks for all the responses. i changed the code and now it is correct. i think we can close this item. zpArdoise - fretzl - 2015-03-09 Glad it works! We don't close topics unless the conversation gets ugly ;-) |