Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-10-30 09:04:46

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

label='<txp:section title="1" />'

what could be wrong with that code below, why it doesn’t display label title?

<txp:article_custom limit="3" section="news" labeltag="h6" label='<txp:section title="1" />' wraptag="ul" break="li">
<span class="posted"><txp:posted format="%d.%m.%Y" /></span>
<txp:permlink><txp:title /></txp:permlink>
</txp:article_custom>

Offline

#2 2015-10-30 09:10:42

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: label='<txp:section title="1" />'

Can you show us relevant parts of the generated HTML code and the tag trace (switch to debug mode in preferences)?

Offline

#3 2015-10-30 10:05:42

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: label='<txp:section title="1" />'

From your tag trace:

<txp:if_section name="">
	[<txp:if_section name="">: true]

Looks like you’re viewing this on the front page instead of in a section.

Offline

Board footer

Powered by FluxBB