Results 1 to 3 of 3

Thread: html page question - Pulling variable

  1. #1
    kosmo101 is offline Registered User
    Join Date
    Aug 2007
    Posts
    60

    Default html page question - Pulling variable

    Hi,
    Was working in browse.html page template file and wondered how i could pull in the category name (not ID) easily. Seems <%$cat%> pulls in the number but I would like to show the name. I scoured around code trying everything but do not seem to be able to easily pull this. Is there a list of common variables available ..or does anyone know what field to pull?

    thanks kevin

  2. #2
    kosmo101 is offline Registered User
    Join Date
    Aug 2007
    Posts
    60

    Default

    got it thanks... $category_name

  3. #3
    Bruceper is offline Active Member
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    How about $category or $category_id or $category_name?

    A search of the code for "category" would have shown you these variables.

    Is there a list of all the common variables? No, because there are not a lot of "common" variables that are common to every page.

Similar Threads

  1. Passing variable to page.php?
    By pimpmaster in forum v5.x
    Replies: 3
    Last Post: 12-18-2007, 12:05 PM
  2. Create variable to use in HTML
    By michaer in forum v5.x
    Replies: 1
    Last Post: 02-28-2007, 01:03 AM
  3. Replies: 3
    Last Post: 09-21-2005, 05:28 AM
  4. Replies: 4
    Last Post: 08-19-2003, 05:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •