Thread Rating:
  • 1 Votes - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How do I create a custom link to search for prefixes?
dastaten Offline
Junior Member
**
Posts: 4
Joined: Feb 2013
Post: #3
RE: How do I create a custom link to search for prefixes?
(02-22-2013 10:20 PM)Waleed Wrote:  Do you mean something like what I've done here? (Browse the Gallery) http://pik.gy

Thank you for the reply, but that's not quite what I need. The link I need definitely goes to search.php. I just need to know how to insert the thread prefix into the search link. I believe it should be something like this:

Code:
<tr><td class="{$bgcolor}" width="70" style="padding-right: 0px;"><strong>{$title}</strong></td><td class="{$bgcolor}" style="padding-left: 0px;"><a href="search.php?forums=2&keywords={$value}">{$value}</a></td></tr>


The link in there is similar what I'm trying to add to that template. I'm sure it isn't right because I've tried it. But I think it's close to what I need.

For instance: I post a thread and select "Politics" as the thread prefix, which ends up displayed on the thread. Then when a user clicks the thread prefix on the page, in this case "Politics," it takes them to a search results page displaying all of the other threads containing the prefix "Politics."

Any thoughts?

(This post was last modified: 02-23-2013 04:09 AM by dastaten.)
02-23-2013 04:06 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: How do I create a custom link to search for prefixes? - dastaten - 02-23-2013 04:06 AM

 Standard Tools
Forum Jump: