Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 12-25-2004, 12:41 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Comment Popup tags

I can't get certain tags to work in the comment popup. I saw the thread on enabling exif data in the popup which worked but I'm not sure how to do the same with other tags. Specifically:
<IMAGE_COMMENTS_NUMBER>
<SITE_TITLE>
<SITE_BROWSELINK>
<SITE_RSS_LINK>

Any help would be appreciated. I'd like to have the SITE_XXX data used in the image, comment and archive pages.
Thanks.
Reply With Quote
  #2  
Old 12-25-2004, 09:43 PM
Connie
Guest
 
Posts: n/a
Russ,

I found the solution if you want to edit the index.php you can include the site-title in the comments-page:

1)
open index.php (from the main-directory) in your editor
find the line #247:

Code:
// build a string with all comments
if(($_GET['x'] == "") or ($_GET['popup'] == "comment")) {
add here:
Code:
// temporarily added to allow these links in the comment-popup, #
// will be fixed in update ;=)
$tpl = ereg_replace("<SITE_TITLE>",$pixelpost_site_title,$tpl);
$tpl = ereg_replace("<IMAGE_COMMENTS_NUMBER>",$image_comments_number,$tpl);
$tpl = ereg_replace("<SITE_BROWSELINK>","index.php?x=browse",$tpl);

2)
now open comment_template.html
and change the <title>-line to this
Code:
<title><SITE_TITLE></title>
and the link to the archive will work as well:
Code:
<a href="<SITE_BROWSELINK>">Archiv</a>
to link to the RSS-feed you will not need a special TAG (even if there is one), just use the following code:
Code:
<a href="index.php?x=ref">RSS 2.0</a>
and here you are
Reply With Quote
  #3  
Old 01-21-2005, 02:57 PM
usafdcc's Avatar
usafdcc Offline
pp regular
 
Join Date: Jan 2005
Location: New Mexico, USA
Posts: 36
How about exif data.Is there a way to have to show in the commetn popup?
__________________
Steve@ISeeItLikeThis.com
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:34 AM.

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