Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2009-02-14 19:25:51

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [archived] glx_hl_current highlight current article

Els wrote:

Did you change the ‘video’ section name to lowercase as well in the tag as in the sections tab?

yeah. i’m thinking this is the source of the problem. maybe the video section has to get deleted and recreated to fix the database or something?
EDIT: that didnt work :(

Last edited by mrtunes (2009-02-14 19:28:40)

Offline

#38 2009-02-14 19:33:33

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

Re: [archived] glx_hl_current highlight current article

Hmm… have a look at the tag trace of that page, if it doesn’t tell you anything can you post it here?

Offline

#39 2009-02-14 19:40:02

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [archived] glx_hl_current highlight current article

ok looking at the source helped identify the simple culprit <li<txp:glx_hl_current_section section=“video” />>*<li>*<a href=”<txp:section name=“video” url=“1” />”>Video</a></li>
an extra li snuck in there :)

i have another question about this but since i’m not using the plugin any more it might have to get its own thread if i can’t find the answer in a search.

Offline

#40 2009-02-14 20:45:28

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

Re: [archived] glx_hl_current highlight current article

mrtunes wrote:

an extra li snuck in there :)

Oops! Completely missed that. Forgot to mention: in case of troubles, first step: validate :)

Offline

#41 2009-02-23 16:17:08

dressedinvalue
Member
From: Louisville, KY
Registered: 2008-12-31
Posts: 21

Re: [archived] glx_hl_current highlight current article

Can someone post the plugin text here? The download link is broken.

Offline

#42 2009-02-23 16:36:39

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [archived] glx_hl_current highlight current article

dressedinvalue wrote:

Can someone post the plugin text here? The download link is broken.

sorry i keep forgetting where to find it. when someone locates it, please put it on a Google Homepage server so it won’t expire. or i’ll do it if you just tell me where to find this.

Offline

#43 2009-02-23 17:37:33

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: [archived] glx_hl_current highlight current article

glx_hl_current @ Markup Artist/Johan Nilsson

Last edited by maverick (2009-02-23 17:38:01)

Offline

#44 2009-02-23 19:35:25

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: [archived] glx_hl_current highlight current article

I thought to be a clever guy … :(

<txp:recent_articles break="li<txp:glx_hl_current_section />" label="" labeltag="h5" limit="99" section="home" sort="position asc" wraptag="ol" />

getting this >

So, I need some help!

Offline

#45 2009-02-23 20:46:57

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

Re: [archived] glx_hl_current highlight current article

I’m not sure if you can put anything besides the li in the break attribute at all, but if it should work, you should at least change the double quotes to single ones (tags in tags…):

<txp:recent_articles break='li<txp:glx_hl_current_section />' label="" labeltag="h5" limit="99" section="home" sort="position asc" wraptag="ol" />

If it doesn’t work you can always use article_custom and a proper form ;)

Offline

#46 2009-02-23 21:32:47

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: [archived] glx_hl_current highlight current article

Els wrote:

I’m not sure if you can put anything besides the li in the break attribute at all, but if it should work, you should at least change the double quotes to single ones (tags in tags…):

Missed that one! Is that in TextBook?

Btw … the plug-in doesn’t work so I’ve got to move to <article_custom>

Offline

#47 2009-02-23 22:35:29

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

Re: [archived] glx_hl_current highlight current article

RedFox wrote:

Is that in TextBook?

You bet!

Parsing Tag Attributes
Escaping Tag Attributes

Offline

Board footer

Powered by FluxBB