![]() |
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: |
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.
|
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=''/> |
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.