View previous topic :: View next topic |
Author |
Message |
Kyle93815
Joined: 26 Apr 2004 Posts: 39 Location: Austin, TX
|
Posted: Mon May 03, 2004 3:03 pm Post subject: Editing Photo Album CSS |
|
|
I'm trying to edit the photo album thumbnail page to include some text at the top giving a little detail about the album. For some reason, it works on some albums, and not on others.
While I'm trying to figure it out, I thought I'd post the code here and see if anybody can help.
----------------------------------------------------
{{if breadcrumb}}
<div class="categoryBreadcrumb">
{{loop breadcrumb}}
<a href="{{url}}">{{label}}</a>
{{unless __last__}}
»
{{/unless}}
{{/loop}}
</div>
{{/if}}
<div class="photoAll">
{{if category_breadcrumbs}}
<div class="articleBreadcrumb">
{{if category.prev_articles_url}}
<span style="font-weight:bold;">«</span> <a href="{{category.prev_articles_url}}">{{category.prev_articles_text}}</a>
{{/if}} <!-- if category.next_articles_url -->
{{if category.next_articles_url}}
{{if category.prev_articles_url}}
|
{{/if}}
<a href="{{category.next_articles_url}}">
{{category.next_articles_text}}</a> »
{{/if}} <!-- if next_article.url -->
</div> <!-- articleBreadcrumb -->
{{/if}} <!-- if article_breadcrumbs -->
{{if recent_album_location eq "top"}}
{{include name="recent_album.html"}}
{{/if}}
<!-- START THUMBNAILS -->
<P>This is my photo album detail. I'm explaining my photos.</p>
<table border="0" cellpadding="0" cellspacing="0">
{{loop rows}}
<tr><td valign="top">
<table border="0" cellpadding="0" cellspacing="0" class="thumbnails"><tr>
{{loop photos}}
<td {{if thumbnail_width}}width="{{thumbnail_width}}"{{/if}} valign="top"
{{if empty_cell}}
class="emptyRow">
{{else}}
class="row">
<div class="thumbnail"><a href="{{view_url}}">
<img src="{{thumbnail_url}}" class="thumbnail" border="0"
{{if thumbnail_width}} width="{{thumbnail_width}}"{{/if}}
{{if thumbnail_height}} height="{{thumbnail_height}}"{{/if}}
></a></div>
<div class="thumbnailCaption">
{{if restricted}}
<img src="/_images/locksm.gif" width="7" height="10" border="0">
{{/if}}
{{if title}}
{{title}}
{{/if}}
</div> <!-- thumbcaption -->
{{/if}} <!-- empty cell -->
</td>
{{/loop}} <!-- photos -->
</tr></table>
</td></tr>
{{/loop}} <!-- rows -->
</table>
{{if pager}}
<div class="pager">{{pager}}</div>
{{/if}}
{{if recent_album_location eq "bottom"}}
{{include name="recent_album.html"}}
{{/if}}
</div> <!-- photoAll --> |
|
Back to top |
|
|
john Site Admin
Joined: 16 Mar 2004 Posts: 3434
|
Posted: Tue May 04, 2004 12:38 am Post subject: Re: Editing Photo Album CSS |
|
|
Kyle93815 wrote: | I'm trying to edit the photo album thumbnail page to include some text at the top giving a little detail about the album. For some reason, it works on some albums, and not on others.
While I'm trying to figure it out, I thought I'd post the code here and see if anybody can help. |
Without seeing your weblog, this one might be a little tough to diagnose... My guess would be you need to also update the photoalbum-byday template. Try that and let us know if it solves your problem. |
|
Back to top |
|
|
Search all BlogHarbor support resources.
|
View previous topic :: View next topic |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|