Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Mods and contribution Discussion > Mod Requests

Mod Requests Have a suggestion for a mod? Post it here. You may not always receive an answer, but phpLD devs and mod developers do regularly visit this forum. If you MUST get something done, you may need to opt for paid help.

Closed Thread
 
topic widgets
Old 09-26-2005   #1
superlinks
 
Join Date: Aug 2005
Posts: 18
Default Search results

Hi

How can I add the 'search results' on the page index.php?q=
And some text like 'you were looking for ...'.

And how can I add the words 'no search results, try some other words', when the search didn't return any results.
superlinks is offline  
Old 09-27-2005   #2
yktan
 
Join Date: Jun 2005
Posts: 350
Default

Hi superlinks,

Code:
Content visible to registered users only.
This has already been done. If you look at the search result page, the heading will say "Search Results" and below that, "Search result for..."

Code:
Content visible to registered users only.
Add the following code somewhere in \main.tpl
Code:
Content visible to registered users only.
Regards,
York Kie
__________________
Greatest fear in a coder\'s world: A minute bug with correct syntax.
Math Captcha - Database Backup Tool - PHP Background Image
yktan is offline  
Old 09-27-2005   #3
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

I believe you need to change:

Code:
Content visible to registered users only.
to:

Code:
Content visible to registered users only.
... to factor out featured links.


Cheers,

Dan
Virtual Solutions
monster-submit.com
VSDan is offline  
Old 09-27-2005   #4
superlinks
 
Join Date: Aug 2005
Posts: 18
Default

Thanx that solved the problem!!
superlinks is offline  
Old 09-28-2005   #5
yktan
 
Join Date: Jun 2005
Posts: 350
Default

Code:
Content visible to registered users only.
Thanks for correcting me VSDan, you're right
__________________
Greatest fear in a coder\'s world: A minute bug with correct syntax.
Math Captcha - Database Backup Tool - PHP Background Image
yktan is offline  
Old 09-28-2005   #6
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

Not a problem, thanks for the great solution =)


Cheers,

Dan
Virtual Solutions
monster-submit.com
VSDan is offline  
Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
topic widgets



All times are GMT +1. The time now is 05:58 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.