Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Custom Tags in TeamSite
gohyangee
I want to use TeamSite to manage content and generate HTML marked up with custom tags. These tags are specific to my web framework and are deliminated by <!--## TAG ##-->. However, it seems that the TeamSite generation engine is not capable of handling this. It inserts the following error message in place of any of my custom tags: [an error occurred while processing this directive].
I was wondering if there was any way to (1) force a literal output of this string or (2) modify the TeamSite generation engine to accept this tag. Are either of these possible?
Find more posts tagged with
Comments
nipper
You certainly can do this. Post a code snippet of the TPL you are using and a DCR you are working with.
From what you post you could easily put it within perl tags
[html]
$output = "";
[/html]
gohyangee
That doesn't seem to work. Also, if the custom tag is inline it becomes very problematic.
Very simply, the DCR could be:
For more information, please go <a href="<!--##LINK##-->">here</a>.
The TPL would just output this.
Or you can reuse any existing DCR and try to stick the <!--##LINK##--> tag somewhere in the TPL. Either way.
gohyangee
Upon further research, it seems like the custom tags are getting confused with SSI directives by the web server. The file is actually generated fine. Thanks.