Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-11-21 21:16:05
- Innbound
- New Member
- Registered: 2005-11-18
- Posts: 5
Make lists wrap and sort by specified category?
I have a page (Section) named “feeds”. It is 3 columbs (sidebar-1, content and sidebar-2). Sidebar-1 has links embedded such as <code>txp:category wraptag=“dt” link=1 title=1 name=“news” /</code> (within div id=”#sidebar-1” of the feeds Page) which call up all articles that are set to specific categories and then displays them in the content column. When an article link within the content column is then clicked on it displays an RSS feed, produced by feed2js, which is embedded into the article.
In the div id=“content” of the feeds Page I have:
<code>txp:article_custom form=“feeds_article_form” listform=“feeds_pg_form” category=“news” section=“feeds” sortby=“Title” sortdir=“desc” keywords=“news” /</code>…this displays a list of article links (title only) on my feeds page (ie localhost/feeds) that when clicked on displays the full article (ie clicking on a link in the “content” div with the title of “world-news” will display a full article such as localhost/feeds/world-news) …
<i>~sorry for my n00b-ness at displaying code using textile… those of you familiar with the >‘s and <‘s should be able to figure out where I’ve ommitted them in that last bit~</i>
My problems?
1. <u>The original list is displayed vertically and I can not find a way to get the links to flow across the page. I’d like for the links to move horizontally (left to right) and then wrap… so that I don’t have a really long list with a scroll-bar a mile long. </u>
2. <u>I can not get it to show anything if I remove <code>keywords=“news”</code> and leave the <code>catergoy=“news”</code> in the tag chain in the div id=“content” of the feeds Page. </u> (and yes, I do have each article assigned to an existing category… “world-news” is assigned to both a news category and a news-world category… still no luck with <code>category=“news”</code> only <code>keyword=“news”</code> works as I have keywords assigned also)
So, any idea’s how to do either of these things?
Last edited by Innbound (2005-11-21 21:31:08)
Offline