PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 05-07-2004, 12:49 AM   #1
zaartix
Orange Mole
 
Join Date: May 2004
Location: russia, samara
Posts: 56
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?
zaartix is offline   Reply With Quote
Old 05-07-2004, 06:24 PM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
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"
vinyl-junkie is offline   Reply With Quote
Old 05-07-2004, 11:44 PM   #3
zaartix
Orange Mole
 
Join Date: May 2004
Location: russia, samara
Posts: 56

i know it, but i need to set template in form, becourse my site have several designs for each buisnes.
zaartix 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
Do i need help or is it a bug? se7en Troubleshooting 2 03-16-2006 07:23 AM
template bug & translation suggestions bugmenot Bug Tracker 0 09-09-2005 12:55 AM
IE bug? FaberFedor Troubleshooting 6 01-30-2005 04:39 PM
Not really a bug cybercox Mod Requests 0 04-04-2004 07:03 AM
bug... shadow00 Troubleshooting 2 12-16-2003 01:01 PM


All times are GMT -8. The time now is 09:13 AM.


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