Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-28 20:36:00

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Help with Category List - Clean URLs

Hello All,

This seems like it should be easy, but I can’t seem to get it to work.
Searched the forums, tried a bunch of suggestions, still no luck.

Here’s what I’m doing.

<txp:category_list section="store" listform="product_list" />

This is working and generating links like this:
http://www.mydomain.com/section/?c=categoryname

For article output:
<txp:article sort="title" form="product_display" />
Should be context sensitive right? Just seems to ignore the ?c= and displays all articles in the section no matter what.

• I’ve made sure the category and section name/titles are all lowercase.
• proper output achieved by manually entering messy url.
ex: http:www.mydomain.com/index.php?s=sectionname&c=categoryname

Any help would be greatly appreciated.

Tom

Offline

#2 2007-06-28 23:27:03

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Help with Category List - Clean URLs

update:

Set status to debugging for tag trace, and these errors show up:

Notice: Unknown tag attribute: limit in /home/indiecom/public_html/textpattern/lib/txplib_misc.php on line 582

Notice: Undefined variable: thisarticle in /home/indiecom/public_html/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 173

Last edited by renobird (2007-06-28 23:27:23)

Offline

#3 2007-06-29 02:08:42

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Help with Category List - Clean URLs

The second error is caused by a plugin. The first means you’re trying to use the limit attribute on a tag that doesn’t support it.

Offline

#4 2007-06-29 13:08:00

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Help with Category List - Clean URLs

Thanks Mary,

Any thoughts on the category link issue?
maybe a .htaccess issue?

I don’t really have anything other than the default textpattern stuff.


Tom

Offline

#5 2007-06-29 14:50:45

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Help with Category List - Clean URLs

update

Solved. I disabled all plug-ins and things started working.
Then I re-enabled the essential plugins one at a time, and everything still seems to be working.
Must have been a plugin issue.

Also realized listform= in the category_list tag was redundant and not supported.

Offline

Board footer

Powered by FluxBB