BlogHarbor Home Page
FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  UsergroupsRSS   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Editing Photo Album CSS
 
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
Kyle93815



Joined: 26 Apr 2004
Posts: 39
Location: Austin, TX

PostPosted: Mon May 03, 2004 3:03 pm    Post subject: Editing Photo Album CSS Reply with quote

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__}}
&nbsp;»&nbsp;
{{/unless}}
{{/loop}}
</div>
{{/if}}

<div class="photoAll">

{{if category_breadcrumbs}}
<div class="articleBreadcrumb">
{{if category.prev_articles_url}}
<span style="font-weight:bold;">«</span>&nbsp;<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}}
&nbsp;|&nbsp;
{{/if}}

<a href="{{category.next_articles_url}}">
{{category.next_articles_text}}</a>&nbsp;»
{{/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">&nbsp;
{{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">&nbsp;
{{/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
View user's profile Send private message Visit poster's website
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Tue May 04, 2004 12:38 am    Post subject: Re: Editing Photo Album CSS Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Search all BlogHarbor support resources.
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> Tips and Tricks All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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