Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2010-04-07 10:55:46

goncalo.dumas
Member
From: Lisbon
Registered: 2005-12-14
Posts: 97
Website

Re: How to display content from different sections using different forms?

Hello,

I noticed you mentioned the use of the article_custom tag within an article body? Well, according to textpattern faqs, you shouldn’t do that:

From txp faqs:
QUESTION: Can I use Textpattern tags in article bodies?
ANSWER: Some, but not all. In particular, <txp:article /> and <txp:article_custom /> usually won’t work at all, and are likely to fail in subtle ways if they do.

On the other hand, this use of article_custom within an article body is mentioned in the Texpattern Solutions (in page 172) in an section about the use of keywords.

I’m counting on using this technique throughout a site I’m developing, so I’m hoping txp faqs are outdated!

Have you been having any problems so far?

Last edited by goncalo.dumas (2010-04-07 10:57:14)

Offline

#17 2010-04-07 11:42:30

yotiao
Member
From: UK
Registered: 2009-10-27
Posts: 28
Website

Re: How to display content from different sections using different forms?

Hi,

I am not sure if you’re asking me :-), but if so, I finally chose another way. As one of the forumers mentioned before, as long as I have selected the two sections as the only ones that are shown at the home page, I can use the <txp:article> tag with both sections without problem. And I did, and I have had no problems so far, but I guess it’s not what you wanted to do…

I do not use this tag in any article bodies I have ;-)

cheers
yot

Offline

#18 2010-04-07 12:25:27

goncalo.dumas
Member
From: Lisbon
Registered: 2005-12-14
Posts: 97
Website

Re: How to display content from different sections using different forms?

Sorry, you’re right. The question was meant for those who subscribed to this topic, but then I re-edited the post and “you guys” inadvertently turned to “you”.

I think I’ll create another topic to discuss custom_article/article body conundrum.

Thanks,

Offline

Board footer

Powered by FluxBB