Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-04-26 09:56:42
- spudz
- Member
- Registered: 2005-12-09
- Posts: 28
Need Help With Static Page
Hi, I want to include a form (“about”) when mydomain.com/about is requested.
I also have a section set up as about.
At the moment I have the following code:
<code><txp:if_section name=“about”><txp:if_individual_article><txp:article form=“about” limit=“1” listform=“about” /></txp:if_individual_article></txp:if_section></code>
Can anyone help me out?
Cheers,
Spudz.
Last edited by spudz (2006-04-26 10:13:54)
Offline
Re: Need Help With Static Page
spudz,
Does this FAQ help?
Offline
#3 2006-04-26 12:01:45
- spudz
- Member
- Registered: 2005-12-09
- Posts: 28
Re: Need Help With Static Page
Mongo
Offline
Re: Need Help With Static Page
You dont need the listform declaration if the article tag is being called within an if_individual_article conditional.
Another way of creating a static page is simply to call an article by it’s id#. That is id="32"
Hope that helps
Offline
#5 2006-04-27 03:01:22
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Need Help With Static Page
You dont need the listform declaration if the article tag is being called within an if_individual_article conditional.
You also don’t need it if the value is identical to the value for form.
Offline
#6 2006-04-27 09:53:15
- spudz
- Member
- Registered: 2005-12-09
- Posts: 28
Re: Need Help With Static Page
I appreciate your help but I figured out what tag I should’ve been using:
<code>
<txp:output_form form=“about” />
</code>
That did the job nicely, consider this thread RESOLVED
Thanks for your effort.
(edited to show code. -Els)
Last edited by els (2006-04-27 14:34:19)
Offline
Pages: 1