PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 08-21-2004, 07:32 AM   #1
WebDiva 2.0
Former Member
 
Join Date: Aug 2004
Posts: 18
Question 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?
WebDiva 2.0 is offline   Reply With Quote
Old 08-22-2004, 11:17 AM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
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.
vinyl-junkie is offline   Reply With Quote
Old 08-22-2004, 08:04 PM   #3
visioneer
Green Mole
 
Join Date: Aug 2004
Posts: 4
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.
visioneer 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
Removing extra text from summary in results philcheese How-to Forum 0 10-12-2007 03:26 AM
removing Demo templates link richwilson How-to Forum 1 03-29-2006 11:17 PM
Show URL path of results. JAB Creations How-to Forum 1 09-05-2005 10:04 PM
Template_demo broken in 1.8.1 RobM Bug Tracker 1 07-09-2004 06:21 AM
removing 'Powered by' allowed? shinji How-to Forum 1 01-22-2004 12:06 PM


All times are GMT -8. The time now is 06:31 AM.


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