Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-30 16:03:37

whsjr86
Member
From: Providence, RI
Registered: 2007-10-03
Posts: 17
Website

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

#2 2007-10-30 16:23:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

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

  1. 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" /> where form="body" only contains a <txp:body /> tag.
  2. 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

#3 2007-10-30 16:45:14

whsjr86
Member
From: Providence, RI
Registered: 2007-10-03
Posts: 17
Website

Re: Inserting an article in to a form

Awesome! Thanks for answering my question clearly!

Offline

Board footer

Powered by FluxBB