Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
How do I make an editable footer?
Hi – in the footer I have a disclaimer – which the client would like to edit… can I make this into an article (for ease of editing) to include on all pages, or would I have to use a form (didn’t really want to do this)?
Last edited by tye (2007-08-08 00:00:26)
Offline
Re: How do I make an editable footer?
Well, yeah you can use article but I still would succest to use an misc form. But matter what here goes:
<txp:article_custom limit="1" form="footer" />
Then you have to choose if you want to show article by id="article id"
, category="disclaimer"
or by section
. And if you want include attribute author="author's name"
to that article_custom, that only specific author/admin can post a disclaimer. Good for multiple-author-sites.
Example: <txp:article_custom limit="1" form="footer" id="2" />
In example in the form footer:
<div id="disclaimer">
<txp:body />
</div>
Cheers!
Last edited by Gocom (2007-08-08 03:59:30)
Offline
Re: How do I make an editable footer?
Thanks Gocom – I suppose you can run into all sorts of problems when creating sitemaps, section article lists and so on when using it this way… thanks anyway though :)
Offline
Re: How do I make an editable footer?
you can save it as a sticky which will not appear unless you call it specifically in the site map or anywhere else.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1