defining template variables...

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

defining template variables...

Post by spaceace »

in my forum legend extension, i'm making some changes that will include more template variables. _Vinny_ has mentioned here, that the current ones that are part of core code should probably be removed.

that said, would it cause any issues to include those in my extension as it would define them twice. just to prevent future issues if they do in fact get removed.

or is there a way that i would use if (!defined(' '))? if so, exactly how would i do it?
rxu
Extensions Development Team
Posts: 3711
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Contact:

Re: defining template variables...

Post by rxu »

You can just define them again in your extension, so they'll be simply overwritten.
Post Reply

Return to “Extension Writers Discussion”