View Full Version : adding exhibition name to photo page
malum
20th of September 2010 (Mon), 10:57
I'm trying to do this with no luck
I tried adding this code
<div class="ee_exhibition_name">
<h3 class="ee_css_header_medium">
<?php print $exhibition_name_html; ?>
</h3>
</div>
to the templates/pages/default_XHTML_content.php page in various places but it just completely ignores it.
Any ideas anyone?
jeronimo
20th of September 2010 (Mon), 15:24
You can just add in in the listing with the exif info underneath the photo.
On my site you can see the example
www.landmarks.nl
malum
20th of September 2010 (Mon), 16:18
Thanks
I don't want it in the exif data though (I don't have any of that displayed I have a long description under each photo in the free textual info box)
I would want it where you have the word Quincy in this photo (http://www.landmarks.nl/photo.php?photo=207&exhibition=40&ee_lang=nla). Or on the left hand side above the photo.
I don't know why the above code won't display it. It works on the list.php page
I guess I could rejig the code to make that part of the EXIF appear at the top in a larger font but it must be possible to do it an easier way.
malum
21st of September 2010 (Tue), 10:18
Got it
I needed to make it
<?php print $exhibition_name; ?>
without the _html on the end.
It would probably be better if I knew why :lol:
In fact I have now added it in the photo frame
Code below if anyone wants to do it (bold bit is the added bit) it appears before the size option if you have more than one size or instead of them if you don't
<td style="background: url(<?php print $s_graph_frame_right_egde; ?>); background-repeat: repeat-y;"><div /></td></tr><tr><td style="background: url(<?php print $s_graph_frame_bottom_left_corner; ?>); background-repeat: no-repeat;"><div class="ee_framefill_corner"></div></td><td style="background: url(<?php print $s_graph_frame_bottom_edge; ?>); background-repeat: repeat-x;"><div /><div class="ee_photo_size_menu_text ee_css_sizemenu_text"><span class="ee_css_sizemenu_text"><?php print $exhibition_name; ?> <?php print $sizemenu_text_html; ?></span></div></td><td style="background: url(<?php print $s_graph_frame_bottom_right_corner; ?>); background-repeat: no-repeat;"><div class="ee_framefill_corner"></div></td>
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.