ZenphotoCMS Forum
Help to change the description location - 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: Help to change the description location (/thread-12800.html)



Help to change the description location - Khmerus - 2015-07-28

Hi, I've just installed zenphoto and going to use garland theme. I have 2 questions. Can anybody help please

  1. When I enter the description of the album it appears before my photos. But if the description is long it will move photos far down. Is it possible to change the location of description so that it appears after photos?
    Illustration - http://s11.postimg.org/ixslr2wxv/move.jpg

  2. I need to enter some code (ad code or some else) on the photo page. What file I should correct?
    Illustration - http://s16.postimg.org/oy1rip2lx/code.jpg

Thanks in advance




Help to change the description location - fretzl - 2015-07-28

First and most important: Please read the theming tutorial.
http://www.zenphoto.org/news/theming-tutorial

[list=1]
[*]
In the theme folder (themes > garland) locate [i]album.php[/i]
On line 47 you see: Copy and remove this code and paste it [b]below[/b] this line of code: (line 74)

[*]
You would have to change the [i]image.php[/i] file.

[/list]




Help to change the description location - acrylian - 2015-07-28

And you should make a copy of the theme under a new name so your changes are not overridden on updates.




Help to change the description location - MarkRH - 2015-07-29

Unless the Garland theme was changed, need to be careful with it if you make a copy of it in a new directory to customize. A lot of it is hardcoded to look for stuff in the original directory name.