Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-02-12 19:28:44
- sietse85
- New Member
- Registered: 2010-02-12
- Posts: 1
Textpattern / TinyMCE plugin AND header + footer inclusion
Hi People,
TinyMCE gives people with less knowledge of HTML the option to create and maintain there own pages. I want to implement Textpattern + TinyMCE in future websites.
At this moment i create pages like this:
<txp:output_form form=“header” />
<h2>Page</h2>
<p>This is a page</p>
<txp:output_form form=“footer” />
My question is:
Is it possible to use TinyMCE as well as Textile for the inclusion of a header and footer ‘sections’?
Tia,
Sietse, Netherlands.
Offline
Re: Textpattern / TinyMCE plugin AND header + footer inclusion
Do you need to add the header and footer in TinyMCE, or can you do it in a Page Template? ie:
<txp:output_form form=“header” />
<txp:article />
<txp:output_form form=“footer” />
this way you just write your articles using tinymce and it gets wrapped in the header and footer.
If you need to use txp tags in tinymce it’s a little trickier but it can be done
Shoving is the answer – pusher robot
Offline
#3 2010-02-13 02:48:17
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Textpattern / TinyMCE plugin AND header + footer inclusion
Sietse, you don’t need to employ the classic way of using output_form
, you can put an article tag in your page template and use it as header/footer. Just set the related article to “sticky” so it won’t show up in your normal articles streams and use a tag like this <txp:article_custom status="sticky" id="enter-article-id-here" form="header-elements" />
to pull it onto the page.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline