PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 08-12-2004, 12:57 PM   #1
claudiomet
Green Mole
 
claudiomet's Avatar
 
Join Date: Aug 2004
Location: Chile
Posts: 13
Welcome message in template

Hi,

I have phpdig 1.8.3 and I am using gaagle.html template.

The body of this template is empty when I don't any search (only have a header and footer with the search box). Then, in this empty space I want to put a welcome message that is replaced by the results when I do a search.

I have inserted a html code with a welcome message in the body, but when I do a search the results appear under the welcome message.

How can I replace the welcome message with the search results?

(in the future the welcome message will be the site index and the manual add url)
claudiomet is offline   Reply With Quote
Old 08-15-2004, 04:11 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Perhaps check out this thread.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 08-16-2004, 09:17 AM   #3
claudiomet
Green Mole
 
claudiomet's Avatar
 
Join Date: Aug 2004
Location: Chile
Posts: 13
thanx a lot!... now I know how to include a custom message in the template body but, I don't now how to do that the message will be replaced with the results... the message still appears before the results... please help me!
claudiomet is offline   Reply With Quote
Old 08-17-2004, 03:58 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Maybe set 'no_query' =>'Please fill the search form field', to something else in the language pack and use <phpdig:result_message/> in the template, or else code something perhaps using cookies that checks if the user is new, and if so, then display a welcome message.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php engine message phil Mod Requests 1 03-15-2005 10:06 AM
Message for Rispbiz jerrywin5 The Mole Hole 0 03-08-2005 10:30 AM
Hmm... a message from indonesia wawan.wira The Mole Hole 5 10-02-2004 06:53 PM
Error message -GO- How-to Forum 2 08-20-2004 12:13 AM
changing the results message. jive How-to Forum 1 11-05-2003 12:36 PM


All times are GMT -8. The time now is 02:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.