4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: albertpr9 on November 12, 2007, 12:27:33 PM
-
I'm trying to use {cat_id} tag to display the gategory ID on the Category Page along with the Category Description...
What I need is to have the same ID that's on the Address bar, displaying on the page. ex (../4images/categories.php?cat_id=12) from this I would only like to display the number "12". I know it uses cat_id on the functions.php, but it's not working on templates...
anyone know why?
-
In categories.php file,
find:
"cat_name" => format_text($cat_cache[$cat_id]['cat_name'], 2),
add before:
"cat_id" => $cat_cache[$cat_id]['cat_id'],
Use {cat_id} in categories.html file.
-
PERFECT!!!!!!! : )
Thanks again thunderstrike!