<td>
<table style="width:100%;">
<tr style ="height:85px;">
<td>
</td>
<td valign="top" align="right">
<a name="fb_share"
type="button_count"
share_url="http://www.peterboroughnightlife.co.uk/gallery/index.php"
href="http://www.facebook.com/sharer.php">Share
</a>
<script
src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript">
</script>
</td>
</tr>
<tr>
<td width="1" bgcolor="#333333"> </td>
<td>
SHOWING ALBUM PAGE {$theme.currentPage} OF {$theme.totalPages}
{if !empty($theme.navigator)}
<div class="gbNavigator" style="padding-top:10px;">
{g->block type="core.Navigator" navigator=$theme.navigator reverseOrder=true}
</div>
{/if}
<div>
<table style="width:100%;">
<tr>
{assign var="count" value=0}
{foreach from=$theme.children item=cover}
{*Title = {$cover.title} : Id = {$cover.id}
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$cover.id`"}">Album</a>*}
{if $count is div by 5}
</tr><tr>
{/if}
{assign var="count" value=$count+1}
<td style="padding-bottom:7px;padding-left:7px;">
<div style="border-right:3px solid #000000; border-bottom:3px solid #000000; width:151px;height:151px;">
<div style="border:1px solid #999999;width:150px;height:150px;">
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$cover.id`"}&g2_enterAlbum=1" alt="{$cover.title}" title= "{$cover.title}">
{g->image item=$cover image=$cover.thumbnail
onmouseover="this.className='opacity40'"
onmouseout="this.className='opacity10'"}
</a>
{g->block type="core.ItemLinks" item=$cover links=$cover.itemLinks}
</div>
<div>
</td>
{/foreach}
</tr>
</table>
</div>
{if !empty($theme.navigator)}
<div class="gbNavigator">
{g->block type="core.Navigator" navigator=$theme.navigator reverseOrder=true}
</div>
{/if}
</td>
</tr>
<tr style ="height:85px;">
</tr>
</table>
</td>
</tr>
</table>
Posts: 16504
Restore from the backup you made before you started editing the file
If that doesn't work, there is a reason we ask for this:
FAQ: What information is required when I ask for help in the forums?
In addition to useful information for most problems, it also lists the theme you're using... Otherwise, get a copy of the original version of the theme before you made changes and look at where that code is in that file.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 9
one thing i cant do is that was hoping for an easier way.
Posts: 16504
I'm sorry, I mis-placed my magic, remote, undo button.
You can't tell me what theme you're using?
You can't get the original version of the theme? (http://gallery.menalto.com)
What can't you do?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 9
apologies i didn't read all of your reply, to be honest i thought the rest was a signature lol its late is my excuse.
theme is carbon but its been messed and edited and hacked and due to being rubbish at this sort of thing its taken along time to do it i was just hoping there would be a simple code i cant type somewhere to show the date and file name been trying all night but sometimes its just easier to ask. cheers
Posts: 8339
is this what you're missing?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 9
yes mate thats what im missing jus stuck as to where to put it, everywhere i put it is wrong and it dont work?
Posts: 16504
Change "showDate=false" to "showDate=true"
I don't know what you're trying to do here though:
{*Title = {$cover.title} : Id = {$cover.id}
If you want to display the title of an item:
I took that out of Matrix because I haven't had time to download and look at Carbon yet.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 9
hi I tride both of them and it nearly works adding
puts "Gallery" heading under every thumb rather then name of child gallery or file name of photo.
I Have removed
didnt make any change though cheers for the help.
Posts: 8339
look for the childItems loop:
{foreach from=$theme.children item=child} ... {/foreach}
inside this loop, look for where the thumb is being placed:
{g->image item=$child image=$child.thumbnail class="giThumbnail"}
below that, is where the thumbs info is displayed:
and the rest of the infor would be below that:
All of this info could have been obtained if you had looked at the original version of the template as advised above.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 9
hi sorry im not very good with this im trying but cannot get this to work any chance i could give you the .tpl to have a qucik look at if you dont mind?