View Single Post
  #17  
Old 09-28-2006, 07:30 AM
casperghst42 Offline
forum loafer
 
Join Date: Sep 2006
Posts: 10
Send a message via Skype™ to casperghst42
I create the following variables;

<THUMBNAILS_HITS_ROW> - just a normal row (just like the normal <THUMBNAILS_ROW>.
<HITS_THUMBNAIL_URL_x> - url to thumbnail
<HITS_COUNT_x> - counter, the number of hits
<HITS_DATETIME_x> - datetime of the photo
<HITS_HEADLINE_x> - headline of the photo (also the title)
<HITS_BODY_x> - description of the photo

_x - that is the counter, or in another way it is the number in the list;

_10 is the 10th, _9 is the 9th, ... _1 is the 1th.

As an example I use tables, just to make it look a bit nicer;

<TABLE>
<TR>
<TD><HITS_COUNT_1></TD>
<TD><HITS_HUMBNAIL_URL_1></TD>
<TD><HITS_DATETIME_1><BR/><HITS_HEADLINE_1></TD>
<TR>

<TR>
<TD><HITS_COUNT_2></TD>
<TD><HITS_HUMBNAIL_URL_2></TD>
<TD><HITS_DATETIME_2><BR/><HITS_HEADLINE_2></TD>
<TR>
...
</TABLE>

That will give you a table with thumbnails and a bit more information.

I've created a seperate page, using the browse template as template, calling it hits_tempate.html - to access it you can use index.php?x=hits (nice thing about pixelpost).

That's it.

Regards/Casper
Reply With Quote