![]() |
|
Changing text in Zenpage Template - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Changing text in Zenpage Template (/thread-10741.html) |
Changing text in Zenpage Template - hagdown - 2013-01-16 I would like to change the text "Index" to "Home" on the the opening page of Zenpage. Any suggestions would be appreciated. Changing text in Zenpage Template - fretzl - 2013-01-16 In the files in your theme folder find `<?php echo gettext("Index"); ?>` and change `Index` to `Home`. Changing text in Zenpage Template - hagdown - 2013-01-16 Thyanks for the quick response. Did as you suggested. There were 2 pages.php files. One in the themes/zenpage folder and the other in the copy_of_zenpage folder. I changed the text from Index to Home in both and refreshed the page. Also found the same string in albums.php and changed it in both folder locations. No luck. Index was not changed to Home. Is there something else I can do? Changing text in Zenpage Template - acrylian - 2013-01-16 Well you did change it on pages.php but that is not the home page. That would be index.php. Changing text in Zenpage Template - hagdown - 2013-01-16 Found it. The index.php has an include of gallery.php. Changing this one worked. Thanks for your help. Changing text in Zenpage Template - hagdown - 2013-01-17 To follow up on the text change on Zenpage. The <?php echo gettext("Index"); ?> string is found /htdocs/zen/themes/copy_of_zenpage in the following files: album.php contact.php gallery.php image.php (2 instances) pages.php password.php register.php search.php (2 instances) Changing text in Zenpage Template - acrylian - 2013-01-17 Yes, in all theme pages actually since all have a breadcrumb. We did only tell about one as you asked for the home page only...:-) Changing text in Zenpage Template - hagdown - 2013-01-17 Finding the reference to gallery.php led to the solution. <?php echo gettext("Index"); ?> was not in index.php. My fault for assuming that it was. Thanks again. |