Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-08-13 12:45:51
- swati.miniyar
- Member
- Registered: 2007-08-06
- Posts: 39
how do i use a contact form
i want to submit a form as we can do in php and html..
In my form i am having name,email and message of the user..i want to submit this information to my sites administrator..
I have designed this form so that user/visitors of my site can contact to that site..So where should i submit this form most appropriately?
and how to do it?
i am having one more query..
i am having one page where i am displaying my complete article..On the same page i want to show
only titles of the articles by same author..I am using one form for displaying that article.
<txp:related_articles> will take the specific author name..
Pluging chh_related_articles also gives error like unknown tag attribute as mentioned in its forum thread..
http://forum.textpattern.com/viewtopic.php?id=13224&p=6
What can be the solution for this?Plesae help me out..
(edited subject line. -Els)
Last edited by els (2007-08-13 15:37:09)
Offline
Re: how do i use a contact form
Hi,
If you want to have a contact form, try using the zem_contact_reborn plug-in. It has in-built form validation, can be tailored to your needs and is reasonably secure.
I don’t think txp:related_articles will take the author attribute but chh_related_articles will:
<txp:chh_related_articles relation="author" />
Alternatively you can use txp:article_custom as described in an article by zem.
Not sure about the errors with chh_related_articles. The similar chh_article_custom produces similar errors but these appear only in debug/test mode and disappear once you set your site status to Live in the admin area.
PS: a more specific title to your question e.g. “How do I get a list of related articles by the same author?” will help you get better/more responses.
TXP Builders – finely-crafted code, design and txp
Offline
#3 2007-08-13 14:50:33
- swati.miniyar
- Member
- Registered: 2007-08-06
- Posts: 39
Re: how do i use a contact form
thanks a lot!!!
i can use that form now..thanx 4 ur help..
Offline
#4 2007-08-14 05:40:10
- swati.miniyar
- Member
- Registered: 2007-08-06
- Posts: 39
Re: how do i use a contact form
how do i get a list of articles by same author?
i am dispalying a full article.on that same page i want to show other article title by that author only..
what can be the possible solution?chh_related article is giving me errors like -unknown tag attribute for all the attributes which i have not defined ..
Please help me out..
Offline
Re: how do i use a contact form
Does chh_related_articles output what you want despite the error notices? Did you try switching the site status to ‘live’ in the admin? Do the notices then not appear?
I also suggested another way using article_custom: read the article by zem – there’s an example with authors about half way down the page.
TXP Builders – finely-crafted code, design and txp
Offline
#6 2007-08-14 07:30:59
- swati.miniyar
- Member
- Registered: 2007-08-06
- Posts: 39
Re: how do i use a contact form
thanks for your kind help..
i have tried article_custom:but i ont want the authors name to be hardcoded..
i was using woder tag also..
but it is not showing me result for some authors.
And also-
i am having 1 author having 12 articles.But it will not show “same author’s article” list for all these 12 articles.It is showing for only few of them..
my code is..
<div id=“alpha”> <txp:article limit=“5” form=“default”/> </div><div class=“authorArticles”>
<txp:asy_wondertag>
<txp:article_custom author=”<txp:author/>” form=“authors_article” limit=“3” />
</txp:asy_wondertag>
</div>
Last edited by swati.miniyar (2007-08-14 08:53:34)
Offline
Pages: 1