Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2006-02-16 23:17:26

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: articles only from certain category

Yeah, that was it probably :)

Hey, I got another issue, If I have sort of a two column layout on the home page, one is displaying articles from one section, and the other one is displaying articles from a different setion. I manage category listings in the way thebombsite explained, but how do I do searches?!

Offline

#32 2006-02-17 10:09:16

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

Re: articles only from certain category

Dragan wrote:

but how do I do searches?!

Sorry, that’s not enough information for me ;) Please tell us what it is that you want to achieve.

Offline

#33 2006-02-17 10:12:04

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

Re: articles only from certain category

I think he means displaying search results?

If that’s it: place a call to if_search on your “default” page, within that make a call to the article tag with whatever form you want the search results to display like. There’s an example search_results form shipped with Textpattern.

Offline

#34 2006-02-17 16:55:31

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: articles only from certain category

Yeah, that is what I needed, to display search results. Since I include articles on home page twice I guess TXP doesn’t know what to do.

Guess what I need is a way to tell TXP to use the page archives (where I display full articles) when it fetches search results. Or am I totaly off with my approach here?

Offline

#35 2006-02-17 17:24:37

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: articles only from certain category

got it working, check it out at http://herbiv.org, it is very crude since I have no time for styling now, I have a concert to go to. :)

Anyway there’s the link to the website all these questions were for, hope you like it and thanx endlessly for all your generous help. :)

Offline

#36 2006-02-17 18:09:23

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

Re: articles only from certain category

Great! Makes me hungry, a pity I can’t read it…

Offline

#37 2006-02-17 19:19:38

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: articles only from certain category

Yeah, it’s in Serbian :)

Offline

Board footer

Powered by FluxBB