Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-08-29 14:00:26

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 104

Re: Articles appearing despite 'article limit.'

There’s someone’s very clever Tag Cloud plugin that I used; because I’m rather new, I followed the instructions (probably goofing something up anyway) which include putting a txp call to tags given to an article under Advanced Options. It’s supposed to show the tags for that article but mine doesn’t although his does:

http://www.truist.com/reference/497/trutags-usage-instructions

Hope that helps.


Voice Actor – starting up a site for that good book stuff.

Offline

#14 2007-08-29 16:43:13

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

Re: Articles appearing despite 'article limit.'

Ah, I think I understand. TXP is doing what it should do after all :)

If you have something like this code:

<txp:if_section name="tag">
  <txp:tru_tags_handler />
<txp:else />
  <txp:article />
</txp:if_section>

then of course the article tag will be executed when not in section ‘tag’. So that’s where it came from!
If you still want to use the tru_tags, you’d better leave out the ‘else’ part:

<txp:if_section name="tag">
  <txp:tru_tags_handler />
</txp:if_section>

Offline

Board footer

Powered by FluxBB