View Full Version : categories without link?
06-07-2005, 11:23 AM
I am pretty new to Pixelpost and still 'playing' around with it but as far as I see you guys created an awesome tool.
Here is my question: is it possible to display the categories of an image without the linking.
Thanks for the help,
06-07-2005, 11:54 AM
easy peasy. requires a slight mod to index.php
1. find the line that goes:
$image_category_all .= "<a href='$PHP_SELF?x=browse&amp;category=$cat_id'>" .$cfgrow['catgluestart'] .$name .$cfgrow['catglueend']."</a> &nbsp;";
it should be around line 226. AND right beneath that line add the following line:
$image_category_all_nolink .= "$name &nbsp;";
2. find the line that goes:
$tpl = str_replace("<IMAGE_CATEGORY>",$image_categoryword." ".$image_category_all,$tpl);
and right beneath it add in the line:
$tpl = str_replace("<IMAGE_CATEGORY_NOLINK>",$image_categoryword." ".
you can now use the tag <IMAGE_CATEGORY_NOLINK> to show category names without links! :D
hope that helps.
06-07-2005, 12:21 PM
COOL, that did it!
Thanks a bunch.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.