![]() |
|
![]() |
#1 |
Green Mole
Join Date: Mar 2004
Location: London
Posts: 10
|
Custom template not working
I upgraded from 1.8.0 to 1.8.3, and have had headaches with the results template ever since.
My custom results template worked fine under 1.8.0, but is now not working under 1.8.3. For example, if I search for XML (of which there are 100+ entries), in 1.8.3 I get the message "No results. Did you mean cml?" If, however, I then click on cml as a search term, I get results, in my custom results template. ![]() What changed in the coding of PHPDig between 1.8.0 and 1.8.3 to break my templates? How can I get my template working correctly? ![]() |
![]() |
![]() |
![]() |
#2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Perhaps check the 1.8.3 config.php file to make sure your template is set.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#3 |
Green Mole
Join Date: Mar 2004
Location: London
Posts: 10
|
Yes, I've set the $template as
$template = "$relative_script_path/templates/results.htm"; but still no joy. I'm really baffled by this, as it must be a config.php file issue, but cannot identify why the upgrade isn't working. I'm not a programmer, but would altering the 1.8.3 config.php file to remove most differences from the working 1.8.0 config.php be one way around this? |
![]() |
![]() |
![]() |
#4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
>> ...but would altering the 1.8.3 config.php file to remove most differences from the working 1.8.0 config.php be one way around this?
Hi, that wouldn't be a good idea. Maybe post links to your template and search so I can look at the HTML source?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#5 |
Green Mole
Join Date: Mar 2004
Location: London
Posts: 10
|
Thanks, Charter. I'll PM the links to you, as I don't want the Website spidered by Google et al.
For interested readers, I'll post the results of Charter's suggestions here for others' future reference. Last edited by ibrown; 08-16-2004 at 12:18 AM. |
![]() |
![]() |
![]() |
#6 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
If you don't want a site indexed by the search engines, just put a robots.txt file in your root directory that looks like this:
Code:
User-agent: * Disallow: / User-agent: Phpdig Disallow: ![]() Of course, if you don't want any human to see the link, that's a whole other story. |
![]() |
![]() |
![]() |
#7 | |
Green Mole
Join Date: Mar 2004
Location: London
Posts: 10
|
Quote:
And yes, I don't want humans to see the link -- for reasons that are unnecessary to go into here. |
|
![]() |
![]() |
![]() |
#8 | |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Your search is down ATM so maybe when it's back up, it can be checked.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#10 |
Green Mole
Join Date: Mar 2004
Location: London
Posts: 10
|
Yes, I know.
I decided to wipe the old 1.8.0 installation and install 1.8.3 anew. Interestingly, 1.8.3 wouldn't install -- threw my server and browser into a complete spin. So decided to go for the easiest option: revert back to 1.8.0 and reindex the Website again. I think I'll have to skip 1.8.3. Thanks for your help anyway. |
![]() |
![]() |
![]() |
#11 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi, what do you mean by "threw my server and browser into a complete spin?"
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Please Help! Custom Results Page | jackmoring | How-to Forum | 0 | 08-23-2006 11:23 AM |
Custom Template That Utilizes Clickstats | vinyl-junkie | Mod Submissions | 0 | 11-28-2004 08:17 PM |
Need to modify custom template for click stats | vinyl-junkie | How-to Forum | 2 | 10-04-2004 07:34 PM |
Custom Template Tag | garyp75 | How-to Forum | 1 | 08-09-2004 02:43 PM |
custom install | rom | Script Installation | 16 | 02-23-2004 10:05 AM |