Default Content when creating a new page or news item
Default Content when creating a new page or news item
Is it possible to set up TinyMCE (or any editor really) so that when you create a new page, it is automatically filled with certain default content?
Re: Default Content when creating a new page or news item
not automaticaly...
you can make a global content block and put it in the page edit content box... you can still add more/custom content above/below this tag...
or put the global content block tag in the template where you would put the {content} tag then put the {content} tag above or below it and you would still be able to add custom content on each page thru the page edit content box...
second option would be good if you have more than one person adding content, they would not be able to mess with the GCB tag eg., erase/format it...
you can make a global content block and put it in the page edit content box... you can still add more/custom content above/below this tag...
or put the global content block tag in the template where you would put the {content} tag then put the {content} tag above or below it and you would still be able to add custom content on each page thru the page edit content box...
second option would be good if you have more than one person adding content, they would not be able to mess with the GCB tag eg., erase/format it...
Re: Default Content when creating a new page or news item
Hmm...That's a shame. I'll give the gcb's a try, but I'm pretty sure that it's not really what I'm looking for. Thanks!mark wrote: not automaticaly...
you can make a global content block and put it in the page edit content box... you can still add more/custom content above/below this tag...
or put the global content block tag in the template where you would put the {content} tag then put the {content} tag above or below it and you would still be able to add custom content on each page thru the page edit content box...
second option would be good if you have more than one person adding content, they would not be able to mess with the GCB tag eg., erase/format it...
Re: Default Content when creating a new page or news item
I know this is an old thread and maybe I'm behind the times, but I found a way to have a content area pre-filled with different content for different templates and content blocks.
You must use Advanced Content and put something like the following in your template:
This will run the global content block 'first_block_def_content' when a new page with this template is created.
CMSMS v 1.10.2
You must use Advanced Content and put something like the following in your template:
Code: Select all
{content block="first_block" description="The First Block" default=":::global_content name='first_block_def_content':::" smarty="true"}
CMSMS v 1.10.2
Re: Default Content when creating a new page or news item
Back when this question first came up it wasn't possible but now you can go to site admin > page defaults and put content in the Content: edit box and it will show up in every page no matter what template is used...