Author Topic: Feed Keywords/Tags To search.php  (Read 1398 times)

0 Members and 1 Guest are viewing this topic.

Offline a4evermedia

  • Global Moderator
  • Full Member
  • ***
  • Posts: 122
  • Karma: +25/-0
  • Gender: Male
    • View Profile
    • A4Ever Media
Feed Keywords/Tags To search.php
« on: April 21, 2012, 11:15:13 AM »
You can split your keywords into separate tags/keywords and then search them with your search.php script.

Code: [Select]
{assign var= $link.keywords value=explode(' ', $link.keywords)}
{foreach var= $keyword from= $link.keywords}
<a href="{$config.base_url}/search.php?s={$keyword}">{$keyword|htmlspecialchars}</a>
{/foreach}

Thanks clit
« Last Edit: September 20, 2013, 02:56:17 PM by a4evermedia »

Unofficial JMB Support Forums

Feed Keywords/Tags To search.php
« on: April 21, 2012, 11:15:13 AM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1339 Views
Last post May 10, 2012, 09:09:43 AM
by a4evermedia
20 Replies
5050 Views
Last post July 18, 2012, 07:37:46 PM
by Dred
0 Replies
1028 Views
Last post July 18, 2013, 11:03:07 AM
by mrsshow
3 Replies
1172 Views
Last post October 08, 2013, 07:58:46 AM
by a4evermedia
5 Replies
1540 Views
Last post November 03, 2013, 10:00:57 PM
by Huge

anything