PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   removing template_demo in URL path? (http://www.phpdig.net/forum/showthread.php?t=1200)

WebDiva 2.0 08-21-2004 07:32 AM

removing template_demo in URL path?
 
I have a question about templates (sort of).

I've created a customised template and it works beautifully. I set the path to this in config.php.

When the search is performed, the result page shows the URL as
http://www.domain.com/search.php?template_demo=&site=&path=&result_page=search.php&query_string=

Is there some way to turn that off? (template_demo) in the URL?

It just looks sort of goofy and I thought it's supposed to have a regular URL when you're not demo for the array() or am I missing something? :confused:

vinyl-junkie 08-22-2004 11:17 AM

There in't a way that I know of disabling it, short of rewriting a bunch of code. If my memory serves me correctly, I believe it is used to enable you to look at the various demo templates of phpdig, and that's all. I can't go and verify that at the moment though, since we've temporarily lost some of links we had under the old version of vBulletin.

visioneer 08-22-2004 08:04 PM

Remove tag in search form.
 
On the page that you have the search field/form remove the input tag:

Code:

<input type='hidden' name='template_demo' value=''/>
This input field is getting passed when your search form is submitted.


All times are GMT -8. The time now is 12:15 PM.

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