Webmastersite.net
Register Log In

Include PHP in Category Description

Comments on Include PHP in Category Description

ATKOgirl
Member

Usergroup: Customer
Joined: May 08, 2008

Total Topics: 5
Total Comments: 18
Posted May 08, 2008 - 9:51 PM:

Hi,

I need to include PHP code in my category descriptions. How do I go about doing this?

Thanks in advance!
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 09, 2008 - 1:00 PM:

PHP can only be used in templates. If this really needs to be in the description instead of the template, you can turn your PHP code into a function in a modification file and then use its template variable in the category description... or maybe what you're really looking for is a pseudomethod, I can't tell without knowing what you're doing.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.