Where can I find this code in Gallery?
emosher
Joined: 2006-04-09
Posts: 9 |
![]() |
When I add this code to my sidebar: <?php @readfile('http://localhost/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?> It creates this code in the browser. <div class="one-image"> Where can I find this code to modify it? I am using Gallery v2.1.2 |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
from the URL: g2_view=imageblock.External thus it's the 'imageblock' module and the External.inc view file. -> modules/imageblock/External.inc ExternalView function loadTemplate(). -------------- |
|
emosher
Joined: 2006-04-09
Posts: 9 |
![]() |
Thanks valient! I found it a little while after I posted. But now I am trying to figure out how to edit it. I am trying to modify the code to add some of my classes and IDs from my other pages to work with my CSS. For example this is the code for images: <div class="imageholder"> note the classes within the anchor and within the IMG tag. How can I do this with the imageblock module? |
|