Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2011-04-03 18:17:43

wolfcry911
Member
From: MA, USA
Registered: 2006-06-30
Posts: 51

Re: [SOLVED]Possible to select a specific article page in misc form?

Thank you both for your time and patience. :)

colak, I tried your suggestion and get the same error

Tag error: <txp:if_article_id id="16"> ->  Textpattern Notice: Article tags cannot be used outside an article context

GugUser, I think it would work fine if it the form were called from an article tag, however this is just from an output_form tag…

Offline

#14 2011-04-03 18:57:14

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [SOLVED]Possible to select a specific article page in misc form?

wolfcry911 wrote:

I tried your suggestion and get the same error

You can get rid of it, like Yiannis suggested, by wrapping the if_article_id part of the code in if_individual_article tags.

I think it would work fine if it the form were called from an article tag

If the above really doesn’t work for you, then wrap it in an article tag:

<txp:if_individual_article>
   <txp:article>
      <txp:if_article_id>

Offline

#15 2011-04-03 19:39:20

wolfcry911
Member
From: MA, USA
Registered: 2006-06-30
Posts: 51

Re: [SOLVED]Possible to select a specific article page in misc form?

That did it!!!
Thank you Yiannis and Els! I didn’t see the mention of it yesterday, I apologize. And thanks to GugUser as well…

Offline

Board footer

Powered by FluxBB