Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #11  
Old 03-17-2009, 12:55 AM
robkpdx Offline
forum loafer
 
Join Date: Dec 2008
Location: Vancouver, WA
Posts: 5
I'm no programmer, but here is how I did it... on each of my pages...

Replace the line:
<h1><a href="<SITE_URL>"><SITE_TITLE></a></h1>

with:
<img src="http://YOUR.GRAPHIC.LINK.gif" border="0">


As in....

ORIGINAL
<body>
<div class="container">

<table id="outside" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="banner">
<tr>
<td width="100%">
<h1><a href="<SITE_URL>"><SITE_TITLE></a></h1>
</td>




UPDATED
<body>
<div class="container">

<table id="outside" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="banner">
<tr>
<td width="100%">
<img src="http://YOUR.GRAPHIC.LINK.gif" border="0">
</td>
__________________
blog.robkennedy.net
Reply With Quote
  #12  
Old 03-17-2009, 10:33 AM
dtschorn Offline
forum loafer
 
Join Date: Mar 2009
Posts: 6
Thanks a lot for the help all, the above solution worked perfectly.
Reply With Quote
  #13  
Old 03-20-2009, 09:56 AM
dtschorn Offline
forum loafer
 
Join Date: Mar 2009
Posts: 6
Another Switchy question!

I'm wondering if it's possible to have more than the most recent comment show? As of now, only the most recent one is available, but I'd like to have maybe the most recent 5 or something show up.

eg: http://www.15sunrises.com/

thanks... I can't find the option anywhere...
Reply With Quote
  #14  
Old 03-20-2009, 03:28 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
The code to show the last comment is this: $("ul li:last", this).show(); you can modify that to show a different number.

You could find the number of comments and then subtract the number of comments you wanted to show plus 1 and show all comments greater than that.

I'm not sure how it would work if you had less comments than the number you wanted to show. It's possible that the script could break if you tried to show comments greater than a negative value so there might need to be some checking to show all comments if the number you want to show is equal or more.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #15  
Old 03-20-2009, 04:23 PM
dtschorn Offline
forum loafer
 
Join Date: Mar 2009
Posts: 6
Thanks for the reply, it's nice to have the person who designed the template giving answers!

I'll test your method out and see what happens locally before I apply it online. It's not a huge deal though.

I don't want to hassle you with more questions, but I was thinking about offering an 'order prints' option as well. Could you give me some direction in terms of where I could look for some tutorials/addons for doing this? Looking in google under the terms "selling prints online photoblog" or something like that, just turns up photoblogs that have already implemented this kind of stuff...
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:36 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs