PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   bug with template (baaad) (http://www.phpdig.net/forum/showthread.php?t=914)

zaartix 05-06-2004 11:49 PM

bug with template (baaad)
 
if in form i paste

<input type=hidden name=template value='./search/templates/green.html'>

than firts page of results using green.html, but if i click on "next" - phpdig become using by default template.

where i can fix this trouble? i mean where generate "next" link?

vinyl-junkie 05-07-2004 05:24 PM

I think what you need to do is change the following statement in config.php:
PHP Code:

$template "$relative_script_path/templates/phpdig.html"

to this:
PHP Code:

$template "$relative_script_path/templates/green.html"


zaartix 05-07-2004 10:44 PM

:)
i know it, but i need to set template in form, becourse my site have several designs for each buisnes.


All times are GMT -8. The time now is 06:40 PM.

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