[solved] using tags in user defined tags

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
joerg
New Member
New Member
Posts: 8
Joined: Sat Jun 02, 2007 9:25 am

[solved] using tags in user defined tags

Post by joerg »

Hi!

How can I use a user defined tag inside another user defined tag? I found something in this forum mentioning the {capture} tag, but I didn't understand how to use it correctly  :(

Thanks in advance!
Joerg
Last edited by joerg on Sun Aug 12, 2007 10:13 am, edited 1 time in total.
joerg
New Member
New Member
Posts: 8
Joined: Sat Jun 02, 2007 9:25 am

Re: using tags in user defined tags

Post by joerg »

Hmm, I'm even more confused now because I can't see any relation between the capture tag and my issue. Maybe this is wrong, but I see my problem as following:
1. User defined tag input is expected as php (or language with similiar syntax).
2. How can I "embed" other user defined tags (or built-in, like capture tag) in this language?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: using tags in user defined tags

Post by calguy1000 »

Thanks SavageKabbage for reminding me of this.....

Code: Select all

global $gCms;
$tagOps =& $gCms->GetUserTagOperations();
$tagOps->CallUserTag("myothertag",$params);
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”