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?
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.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on title link in searches results
Member
Usergroup: Customer
Joined: Jul 01, 2007
Total Topics: 17
Total Comments: 49
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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?
Member
Usergroup: Customer
Joined: Jul 01, 2007
Total Topics: 17
Total Comments: 49
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.