Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-08 19:31:13

jonathanclarke
Member
From: London, England
Registered: 2004-12-28
Posts: 46
Website

Using txp tags in artcles

Is it okay to use txp:article_custom inside an article post?

Because I’ve done this on the following page, but it has removed the article title

http://www.mariannegutierrez.co.uk/100/site-map

Offline

#2 2006-03-08 22:07:07

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

Re: Using txp tags in artcles

What does your form for the article look like? I doubt if this is caused by the article_custom tag.

Offline

#3 2006-03-08 22:10:44

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Using txp tags in artcles

jonathanclarke wrote:

Is it okay to use txp:article_custom inside an article post?

No, it’s not.

Can I use TXP tags in article?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#4 2006-03-08 22:20:29

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

Re: Using txp tags in artcles

This is not going to be helpful, but I’m pretty sure I found a way to do this once, just can’t remember how exactly. And I can’t reproduce it :( I also think I posted about it, so I’ll keep looking for it…

In the meantime Jonathan, you’d better follow maniquí’s advice ;)

EDIT: found it! Don’t put the article_custom tag in the article, but in the article form. That will work.

Offline

#5 2006-03-08 22:28:39

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Using txp tags in artcles

Els wrote:

found it! Don’t put the article_custom tag in the article, but in the article form. That will work.

Oh, I didnt know that.

But johnatan, you will need to use a new article form, because if you dont the output of the article_custom will be outputted in every article.
Then, you can use the “Override form” option (in the Write Tab) to select this new article form for that special article.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#6 2006-03-09 16:21:53

jonathanclarke
Member
From: London, England
Registered: 2004-12-28
Posts: 46
Website

Re: Using txp tags in artcles

Ahah, thanks!

Offline

Board footer

Powered by FluxBB