Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Inserting an article in to a form
I want to set up a form to use as a side block on the front page of my TXP site, but I want to be able to insert an article for the content of that form. How do I go about doing this?
Thanks,
William
Offline
Re: Inserting an article in to a form
If I understood correctly about what you are trying to achieve, there are a number of ways to do it
- Instead of setting up a form create a sticky article and call it from either a form or a template. ie you can call it by using
<txp:article_custom status="sticky" form="body" id="2" />
whereform="body"
only contains a<txp:body />
tag. - Another way is to create a form and add your content html n’ all. You can call that form from your template or even another form by using
<txp:output_form form="your-form-name" />
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Inserting an article in to a form
Awesome! Thanks for answering my question clearly!
Offline
Pages: 1