PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Welcome message in template (http://www.phpdig.net/forum/showthread.php?t=1171)

claudiomet 08-12-2004 11:57 AM

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)

Charter 08-15-2004 03:11 PM

Hi. Perhaps check out this thread.

claudiomet 08-16-2004 08:17 AM

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!

Charter 08-17-2004 02:58 PM

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.


All times are GMT -8. The time now is 11:24 AM.

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