Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-01-21 17:23:20

630126
New Member
From: Czech republic
Registered: 2014-01-21
Posts: 6

if_section name on the homepage not working

Hi!,

Sorry, i can not English.

I have a problem with tag <txp:if_section name..>. On the homepage does not work, but tag <txp:section link=“1” /> works. <txp:if_section name..> work only on pages linked with sections.

Homepage screen http://s30.postimg.org/ln3l9vfdt/image.png

On the homepage does not work also plugin rsx_page_number (pagination). =-/ .

Why? Thanks

Offline

#2 2014-01-21 17:47:32

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: if_section name on the homepage not working

Hi, 630126, and welcome to the forum!

As much as I understand from your screenshot you’d need if_article_section. Have you tried it?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2014-01-21 18:32:16

630126
New Member
From: Czech republic
Registered: 2014-01-21
Posts: 6

Re: if_section name on the homepage not working

Thank you, it works :) Great mystery to me :D

And thank you for the welcome.

Offline

#4 2014-01-21 19:23:16

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

Re: if_section name on the homepage not working

If you mean with homepage the default page, then it should be (in the case you mean the section):

<txp:if_section name=",">
    …
</txp:if_section>

Offline

#5 2014-01-22 13:05:08

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: if_section name on the homepage not working

630126 wrote #278357:

Thank you, it works :) Great mystery to me :D

You’re welcome.

if_section checks whether the browser is calling data of a certain section.
if_article_section checks for the section a certain article is in.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB