![]() |
|
Search in Zenpage articles, using basic theme. - 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: Search in Zenpage articles, using basic theme. (/thread-13138.html) |
Search in Zenpage articles, using basic theme. - ctdlg - 23-09-2018 Hello, Finally, I managed to upgrade from 1.4 to 1.5 (I had a library problem on my localhost server, and I moved to php7.1) I have added the Zenpage extension and modified index.php to display pages. You explain here : https://www.zenphoto.org/news/theming-tutorial/#--part-4-theming-zenpage Updates to standard theme pages required I have had a look to examples, but it's not clear what code I need in my search.php file to succeed. Search in Zenpage articles, using basic theme. - acrylian - 23-09-2018 Take a look at the Zenpage theme's Search in Zenpage articles, using basic theme. - ctdlg - 23-09-2018 Thank you acrylian, So, I copied search.php AND functions.php from the zenpage theme, inside my basic theme folder, and added my template. Now, I can search everywhere. Search in Zenpage articles, using basic theme. - acrylian - 23-09-2018 Yes, indeed `` is needed if you want this foldout behaviour. It is by no means really required. I personally don't like it anymore and it will surely not return in any future theme planned ;-) |