Webmastersite.net
Register Log In

title link in searches results

Comments on title link in searches results

noifrup
Member

Usergroup: Customer
Joined: Jul 01, 2007

Total Topics: 17
Total Comments: 49
noifrup
Posted Oct 17, 2007 - 2:26 PM:

hi!

in searchall.tpl and ... more i supose

here :

<IF {LINKTOTAL}>
<td valign="top" width="25%">
<!-- BEGIN SEARCH links RESULTS -->
<!-- BEGIN RECIP -->
<p>
<span class="title"><a href="{TRACKLINKURL}" class="reciplink">{LINKTITLE}</a></span> {LINKNEW} {LINKUPDATED} {LINKADMIN}<br >
<span class="labels">Description:</span> {LINKDESC

if i want to add the title="{LINKTITLE}" in the link url like that

<IF {LINKTOTAL}>
<td valign="top" width="25%">
<!-- BEGIN SEARCH links RESULTS -->
<!-- BEGIN RECIP -->
<p>
<span class="title"><a href="{TRACKLINKURL}" class="reciplink" title='{LINKTITLE}">{LINKTITLE}</a></span> {LINKNEW} {LINKUPDATED} {LINKADMIN}<br >
<span class="labels">Description:</span> {LINKDESC

AND if in the title link there is a word match with the word of the search and have the yellow mark on ... result by a bug in the text of the title

because the <span class ... is IN the title ...

how to desactivate or activate it just one time like this for example ? :

<IF {LINKTOTAL}>
<td valign="top" width="25%">
<!-- BEGIN SEARCH links RESULTS -->
<!-- BEGIN RECIP -->
<p>
<span class="title"><a href="{TRACKLINKURL}" class="reciplink" title='{LINKTITLE}"><MARKUP ON>{LINKTITLE}<MARKUP OFF></a></span> {LINKNEW} {LINKUPDATED} {LINKADMIN}<br >
<span class="labels">Description:</span> {LINKDESC

tks
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 19, 2007 - 12:44 AM:

if i want to add the title="{LINKTITLE}" in the link url

Besides search highighting it'd break if the title contains a ". Use {LINKBOOKMARKTITLE}, which is a quoteable alternative. Does that also have the highlighting problem?
noifrup
Member

Usergroup: Customer
Joined: Jul 01, 2007

Total Topics: 17
Total Comments: 49
noifrup
Posted Oct 19, 2007 - 5:13 AM:

if you say :

<span class="title"><a href="{TRACKLINKURL}" class="reciplink" title="{LINKBOOKMARKTITLE}">{LINKTITLE}</a></span> {LINKNEW} {LINKUPDATED} {LINKADMIN}<br >

don't work , the problem is the same.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 24, 2007 - 8:43 AM:

Disabling search highlighting for the fields involved (title here) may be the only way, I haven't been able to devise a regular expression to work around it.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.