Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2008-02-12 12:01:19

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Can't get the search to do what I want

First, I don’t see there <txp:article /> tag. Without it you can’t show your search results. Also you should fix your your HTML output. The doctype is HTML 4.01, but I see there XHTML tags, that won’t work. In example there is <input type="submit" value="Search" class="button" /> ;)

Last edited by Gocom (2008-02-12 12:01:46)

Offline

#17 2008-02-12 22:23:18

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

Re: Can't get the search to do what I want

Gocom, the way I understood gmorgan is that this is not the search results page, but the page that is displayed after clicking a link in one of the search results. Am I right, gmorgan?

gmorgan wrote:

now when you click on a link on this page it just reloads the page over and over.

The only links I see on this page are the ones in your footer:

<a href="quality"><img src="/images/qs_logo.gif" alt="qs logo" width="30" height="41" class="qslogo"></a>
<a href="investors"><img src="/images/iip.gif" alt="iip logo" width="53" height="36" class="iiplogo"></a>
<a href="positive"><img src="/images/pos_l.gif" alt="pos l logo" width="47" height="36" class="posllogo"></a>
<a href="positive"><img src="/images/pos_r.gif" alt="pos r logo" width="45" height="36" class="posrlogo"></a>
<a href="esf"><img src="/images/esf.gif" alt="esf logo" width="128" height="28" class="esflogo"></a></div>

Because in your article form there is only <txp:body />, and no permlink.

Are these the not-working links you were referring to? If so, are they supposed to link to articles? Are ‘quality’, ‘investors’ etcetera article titles? If so, you’d better link to them like this:

<a href="<txp:permlink id="123" />"><img src=etcetera... /></a>

If I misunderstood you just let me know :)

Offline

#18 2008-02-15 10:03:20

gmorgan
Member
Registered: 2007-11-26
Posts: 42

Re: Can't get the search to do what I want

I think I now know whats gone wrong I’ve missed the / off certain links, I’ll give it a try and get back to you, without your help I wouldnt have noticed this.

Offline

#19 2008-02-15 10:06:32

gmorgan
Member
Registered: 2007-11-26
Posts: 42

Re: Can't get the search to do what I want

Yup all now working, just going to take me an age to fix all my pages.

Offline

Board footer

Powered by FluxBB