PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 05-06-2004, 11:49 PM   #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, 05: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, 10: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 06:23 AM
template bug & translation suggestions bugmenot Bug Tracker 0 09-08-2005 11:55 PM
IE bug? FaberFedor Troubleshooting 6 01-30-2005 03:39 PM
Not really a bug cybercox Mod Requests 0 04-04-2004 06:03 AM
bug... shadow00 Troubleshooting 2 12-16-2003 12:01 PM


All times are GMT -8. The time now is 08:29 PM.


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