Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2004-12-21 18:53:47

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

ahh, that is just some notes to myself, i remove it later on…

Chris, hmm havent really looked at his code, sorry. Right now i dont have much time to build in what you are asking for into glx_if but i do have it in my thoughts.


Johan Nilsson

Offline

#38 2004-12-21 19:53:44

Chris
Member
Registered: 2004-02-26
Posts: 22

Re: [plugin] [ORPHAN] glx_if: some conditional tags

Thanks Johan. I’m gonna tinker with some php to see if I can get something working.

Offline

#39 2004-12-30 10:07:10

paularms
Member
From: University of Minnesota
Registered: 2004-10-21
Posts: 155
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

I just modified everything to work with clean URLs, but now the glx_if_section_frontpage does not work. Is this known?

Offline

#40 2004-12-30 12:50:55

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

I’ve never had a problem with glx_if_section_frontpage, and I use the default clean URL method.


Code is topiary

Offline

#41 2004-12-30 18:44:52

paularms
Member
From: University of Minnesota
Registered: 2004-10-21
Posts: 155
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

That’s weird because it completely skips over the if statement on the section frontpage. Here’s what I’m doing on the page:

< txp:glx_if_section_frontpage>
< div id=“content”>< div class=“padding”> < div class=“third”>< div class=“padding”> < h5>Browse by Date< /h5> < txp:rss_suparchive section=“photos” limit=“25” /> < /div>< /div> < div class=“twoThirds”><div class=“padding”> < h1>Photos Archive< /h1> < txp:rss_suparchive_bycat section=“photos” /> < /div>< /div>
< /txp:glx_if_section_frontpage>

< txp:if_individual_article>
< div id=“content”>< div class=“padding textCenter”> < div class=“whole”> < div class=“breadcrumbs”>< txp:tcm_crumbs hometitle=“Home” />< /div> < txp:low_article_no_discuss form=“photos” /> < /div>
< /txp:if_individual_article>

Offline

#42 2004-12-30 19:11:46

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

At the moment the only place I’m using glx_if_section_frontpage is in a form. But, a quick test on a page template shows that it works there too. I have no idea why your isn’t working.


Code is topiary

Offline

#43 2004-12-30 20:44:30

paularms
Member
From: University of Minnesota
Registered: 2004-10-21
Posts: 155
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

doesn’t work in forms either. i know that my hacked suparchive works because if I take of the glx_if statement everything shows up correctly. Come to think of it, none of the glx_if statements are working.
PS: I’m using ramanan’s clean url’s with mod_rewrite.

Offline

#44 2004-12-30 21:12:41

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

Really dumb question, but are you sure glx_if is installed and set to on?


Code is topiary

Offline

#45 2004-12-30 22:10:10

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

paularms, mod_rewrite shouldnt have anything with this todo. But try to change so you have <code>if_individual_article</code> before <code>glx_if_section_frontpage</code> and see if that maybe could help.


Johan Nilsson

Offline

#46 2004-12-30 23:04:41

paularms
Member
From: University of Minnesota
Registered: 2004-10-21
Posts: 155
Website

Re: [plugin] [ORPHAN] glx_if: some conditional tags

jsoo: yes, it is on. I reinstalled it and yes, it is on again.

osei: still the same thing with it in either order.

Offline

#47 2005-01-23 20:48:52

hurben
Member
Registered: 2005-01-17
Posts: 11

Re: [plugin] [ORPHAN] glx_if: some conditional tags

Using this technique I only get ‘if section frontpage’ to work..
When I click on a link to view an article within that section it does nothing.. just stays the same..

http://hurben.net/index.php?s=texts

—————————————————————————————————————

< txp:glx_if_not_section_frontpage >
< txp:article limit=“1” / >not front
< /txp:glx_if_not_section_frontpage >

< txp:glx_if_section_frontpage >
< txp:article_custom limit=“1” category=“Texts” section=“Texts” form=“Section” / >front
< /txp:glx_if_section_frontpage >

—————————————————————————————————————

Last edited by hurben (2005-01-23 22:25:53)

Offline

Board footer

Powered by FluxBB