![]() |
| |||||||
| 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. |
![]() |
| | Thread Tools | Display Modes |
| | #1 |
| Join Date: Aug 2005 Posts: 18 | 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. |
| |
| | #2 | ||
| Join Date: Jun 2005 Posts: 353 | Hi superlinks, Quote:
Quote:
Code: {if $qu and count($links) eq 0}
No search results, try some other words.
{/if} York Kie __________________ Greatest fear in a coder\'s world: A minute bug with correct syntax. {link removed from sig as the account seemed to be suspended} | ||
| |
| | #3 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,180 | I believe you need to change: Code: {if $qu and count($links) eq 0}
No search results, try some other words.
{/if} Code: {if $qu and count($links) eq 0 and count($feat_links) eq 0}
No search results, try some other words.
{/if} Cheers, Dan Virtual Solutions monster-submit.com |
| |
| | #4 |
| Join Date: Aug 2005 Posts: 18 | Thanx that solved the problem!! |
| |
| | #5 | |
| Join Date: Jun 2005 Posts: 353 | Quote:
__________________ Greatest fear in a coder\'s world: A minute bug with correct syntax. {link removed from sig as the account seemed to be suspended} | |
| |
| | #6 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,180 | Not a problem, thanks for the great solution =) Cheers, Dan Virtual Solutions monster-submit.com |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|