Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » How do I…?
  3. » Nest Tags

#1 2010-07-09 08:19:47

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Nest Tags

I feel a bit silly with this… its outputting nothing – I thought you could nest tags now.

Am I doing something wrong here?

<txp:article_custom limit="100" wraptag="ul" break="li" class="menu" section="<txp:section />" form="pb-article-list" />
	[SQL (0.000385046005249): select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod from textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and Section IN ('<txp:section />') order by Posted desc limit 0, 100]

Offline

#2 2010-07-09 09:04:43

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

Re: Nest Tags

try

<txp:article_custom limit="100" wraptag="ul" break="li" class="menu" section='<txp:section />' form="pb-article-list" />

where <txp:section /> is in single quotation marks.


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

Offline

#3 2010-07-09 10:33:04

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

Re: Nest Tags

Textbook: Parsing Tag Attributes :)

Offline

#4 2010-07-09 11:24:48

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Nest Tags

told you I felt silly – thanks :)

Offline

  1. Index
  2. » How do I…?
  3. » Nest Tags

Board footer

Powered by FluxBB