Nested {content}

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
patlap

Nested {content}

Post by patlap »

Is it possible to have a {content} tag inside the truetype module.
This way I'll be no longer limited by the lack of option of the truetype menu.

Like this;

Code: Select all

			<div class="IntroDisc">
				{cms_module module="truetypetext" style="container_Stitre" text={content}}</div>
mahjong

Re: Nested {content}

Post by mahjong »

I haven't tried it since I haven't this module installed, but me first guess would be to try:

Code: Select all

{cms_module module="truetypetext" style="container_Stitre" text=$content}
patlap

Re: Nested {content}

Post by patlap »

It's not working!
It would be a nice feature with many possibilities.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Nested {content}

Post by calguy1000 »

content is a tag not a variable, therefore you have to assign the results of the tag to a variable, and then use it.

Code: Select all

{content assign="stuff"}
{cms_module module="truetypetext" style="container_Stitre" text=$stuff}
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.
Locked

Return to “Layout and Design (CSS & HTML)”