Hello everybody .
I am running cmsms 1.6.4 . fresh install .
So, the {content} tag will output the content of a page, and it will write a tag with the page title and after that, several tags .
I can NOT figure it out .. Where does the content output 'template' can be found ?
I would like to add some content betwean the tag and the first tag .
thanks in advance !
the {content} output template
Re: the {content} output template
I'm not 100% sure I understand what you want to do, but here goes...
Are you trying to add some static content to your template? i.e. content that is the same on every page that uses that template, or are you trying to add some text only for one page?
If you're trying to add the text for every page there are a number of ways you could do it, but the easiest would be to write it into your template as static text, so go to Layout --> Templates and click on whatever template you want to add the content to.
Once you've clicked on it you'll see a mixture of HTML and Smarty tags in the editor. Look for the smarty tag {title}, it'll probably look something like {title}.
Further down the template you're going to see a {content} tag (possibly containing other parameters as well). You'll want to add your custom text between the {title} and {content} tags. Remember to span it with a css class or it won't be styled.
If that's not what you wanted to do and i've misunderstood you, write back and i'm sure I can help.
Edit: using a global content block would be the approved way of doing that by the way, but you still have to edit the template to call the block.
Are you trying to add some static content to your template? i.e. content that is the same on every page that uses that template, or are you trying to add some text only for one page?
If you're trying to add the text for every page there are a number of ways you could do it, but the easiest would be to write it into your template as static text, so go to Layout --> Templates and click on whatever template you want to add the content to.
Once you've clicked on it you'll see a mixture of HTML and Smarty tags in the editor. Look for the smarty tag {title}, it'll probably look something like {title}.
Further down the template you're going to see a {content} tag (possibly containing other parameters as well). You'll want to add your custom text between the {title} and {content} tags. Remember to span it with a css class or it won't be styled.
If that's not what you wanted to do and i've misunderstood you, write back and i'm sure I can help.
Edit: using a global content block would be the approved way of doing that by the way, but you still have to edit the template to call the block.
Last edited by Fraserm on Wed Sep 02, 2009 9:35 am, edited 1 time in total.
Re: the {content} output template
sorry guys.... this was just a mistake I made ...
it's all good now
have a nice day .
it's all good now

have a nice day .