![]() |
|
How to change the colorbox popin template ? plz - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: How to change the colorbox popin template ? plz (/thread-12568.html) |
How to change the colorbox popin template ? plz - zenman - 20-08-2016 Hello, I would like to add some datas in the colorbox popin, like description and tags of the image. But can't find where the html of the popin is located. I've done a search for cboxWrapper or cboxTitle but in vain. Many Thanks, Cheers. How to change the colorbox popin template ? plz - acrylian - 21-08-2016 The colobox script takes the text info from the How to change the colorbox popin template ? plz - zenman - 21-08-2016 Then in the popin, how to add description below the photo for example ? How to change the colorbox popin template ? plz - acrylian - 21-08-2016 As said all you want to display in the color needs to be in the title attribute. So you have to modify the theme to do so. Best you read the theming tutorial for some theming basics first. How to change the colorbox popin template ? plz - zenman - 21-08-2016 The title attribute is for title photo only. If I add text there, The title of the photo will be weird anywhere else. What I need to know is where the HTML of the popin is generated ? plz How to change the colorbox popin template ? plz - acrylian - 21-08-2016 The title attribute of the link the colorbox is attached to can be filled with any text. As said you need to modify whatever theme you are using where the colorbox is attached to add further text to that attribute. Colorbox basically just supports the title and is not meant for lots of text. |