Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-11-06 16:38:38

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

<txp:images /> and <txp:article_custom />

Hi Folks ;)

Sorry for this stupid question but I don’t want to break a live website:

Can I use all the magic tags within the magic <txp:images> wrapped into a <txp:article_custom />?

i.e.:

<txp:article_custom section="my_section" form="my_form" id='<txp:variable name="rand" />'>
<txp:images>
(...)
</txp:images>
</txp:article_custom>

Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2015-11-06 17:18:37

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: <txp:images /> and <txp:article_custom />

Yes, you can.

Offline

#3 2015-11-06 17:40:36

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: <txp:images /> and <txp:article_custom />

Indeed you can. But the in code above article_custom does not seem to be needed. I guess you simplified the code to focus on your question.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2015-11-06 17:51:05

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: <txp:images /> and <txp:article_custom />

colak wrote #296464:

Indeed you can. But the in code above article_custom does not seem to be needed. I guess you simplified the code to focus on your question.

That depends on the context. If certain article images are required, then it needs the article tag.

Offline

#5 2015-11-06 18:43:02

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

Re: <txp:images /> and <txp:article_custom />

Cool!

Thanks Guys ;)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB