Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2005-07-24 17:17:53

Remillard
Plugin Author
From: Lenexa, KS
Registered: 2004-05-16
Posts: 169

Re: Plugin: If Section

To my knowledge it works fine with RC3, and it looks like you’re using it the right way. You might read above to see if there are some incompatibilities with other plugins you may be running. For example, the section renaming plugin is known to cause some problems with if_section.

I’m not 100% certain but TXP might have if_section as a built-in tag too, so you might try looking for that. If you have other information that could be helpful for debug, let me know.

Regards,
Remillard

Offline

#38 2005-07-26 18:09:20

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

Re: Plugin: If Section

ndp,

It definitely should NOT be in your article form.

<code><txp:mdn_if_section section=”…”><txp:article form=”…” etc. /></txp:mdn_if_section></code><br />
<br />on the page template has been working fine for me for ages, also in RC3.

Offline

#39 2005-07-28 03:10:22

ndp
Member
Registered: 2005-07-20
Posts: 12

Re: Plugin: If Section

els,

I tried all the combinations here – putting the code in the page, the form, and the article itself. I couldn’t get any to work. I couldn’t even get the direct php call to echo the section correctly when in article_list. If it returns anything, it returns “default” as the section.

thanks,
nate

Offline

#40 2005-07-28 13:45:10

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plugin: If Section

I’ve not used this plug-in so I can’t really comment on it’s usage but I’ve been using the ob1_if_section plug-in for ages now including at RC4 without problem to keep my page templates to a minimum.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#41 2005-07-28 16:59:51

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

Re: Plugin: If Section

Well, my site is glued together with this plugin, it has always been working for me and I just found out that it works in RC4 as well; and of course, nate, you could change to ob1’s plugin, but I have to defend my favourite plugin :) I really don’t believe there is anything wrong with it. So if you want to give it another try, just show us the exact code you’re using and I’m sure we can find out what the trouble is.

Offline

#42 2005-07-29 03:52:09

ndp
Member
Registered: 2005-07-20
Posts: 12

Re: Plugin: If Section

Thanks els & stuart,

I’ve tried ob1’s plugin as well…same issue. It seems to be a basic textpattern issue for me. And no difference with RC4 now.

I think I’ve come up with a satisfactory plan w/o if_section… but if that changes, I’ll give you guys another yell.

Thanks,
Nate

Offline

#43 2005-08-02 05:19:48

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

Re: Plugin: If Section

Hi,

has this plug-in become obsolete in RC5?
I have read that a native <code><txp:if_section /></code> tag has been implemented in RC5. So, the functionality of this plug-in has been integrated to the TXP core…

And if anybody knows… the new txp tag is as powerful as Remillard’s plug-in?

Remillard, your plugin was my first plug-in in my first TXP installation, and I think this is the most powerful plugin in TXP. Thanks!

Last edited by maniqui (2005-10-31 14:30:34)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#44 2005-08-02 05:27:33

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: Plugin: If Section

I think the built-in if_section tag can only have 1 section name and it doesn’t support the notsection attribute but you can use the txp:else tag with it.

So you might still need this plugin.

Last edited by tinyfly (2005-08-02 05:28:05)

Offline

Board footer

Powered by FluxBB