Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-13 01:05:14

civex
New Member
Registered: 2007-11-08
Posts: 8

Search results always listed twice

I suspect the problem lies in here:

<h3><txp:permlink><txp:title /></txp:permlink></h3>

<p><txp:search_result_excerpt /></p>

<p class=“small”><txp:permlink><txp:permlink /></txp:permlink> &#183; <txp:posted /></p>

where there are two closing tags for txp:permlink, but I don’t know why the results should be given twice on the page. What do I need to fix?

(By the way, I haven’t changed this file – it’s the way it came in my textpattern package.)

Offline

#2 2007-11-13 01:52:57

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

Re: Search results always listed twice

Search results always listed twice

You mean the entire list appears twice? If so, the problem is in your page: you’ve likely got more than one article tag in it.

Offline

#3 2007-11-13 03:08:15

civex
New Member
Registered: 2007-11-08
Posts: 8

Re: Search results always listed twice

You mean the entire list appears twice? If so, the problem is in your page

You’re over my head, I’m happy to explain. I’m not writing the page. I have installed TextPattern in a directory, and I’m using it as it was delivered, as far as I know.

So if you can direct me to the page that this appears in, I’ll be happy to see if there’s more than one article tag, after of course, you tell me what th’ heck that means. :->

Seriously. I just started this last week.

Last edited by civex (2007-11-13 03:24:41)

Offline

#4 2007-11-13 08:13:53

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Search results always listed twice

Please post an URL to a page that demonstrates the problem.

Offline

#5 2007-11-13 17:18:00

civex
New Member
Registered: 2007-11-08
Posts: 8

Re: Search results always listed twice

The site may not be safe for the workplace, depending on local policies:
http://cieux.info
shows top-free women in the French West Indies – nothing untoward as far as Europeans would be concerned.

The search box is in the right margin.

A search for Guadeloupe shows the double results:
http://cieux.info/?q=guadeloupe
with no photos.

Offline

#6 2007-11-13 22:34:21

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

Re: Search results always listed twice

Post a tag trace.

Offline

#7 2007-11-13 23:57:02

civex
New Member
Registered: 2007-11-08
Posts: 8

Re: Search results always listed twice

Okay, that gave me my solution. I had this tag:
<txp:article form=“list_of_articles” />
and I didn’t need it.

Very helpful advice, Mary; my thanks.

Offline

Board footer

Powered by FluxBB