|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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")) {
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> Code:
<a href="<SITE_BROWSELINK>">Archiv</a> Code:
<a href="index.php?x=ref">RSS 2.0</a> |
|
#3
|
||||
|
||||
|
How about exif data.Is there a way to have to show in the commetn popup?
__________________
Steve@ISeeItLikeThis.com |
| Post Reply |
| Thread Tools | |
|
|