|
09-26-2004, 05:41 PM | #1 |
Green Mole
Join Date: Sep 2004
Location: St. George, KS
Posts: 4
|
.shtml as a template?
Hello all!
Been fiddling with phpdig off and on today for my webpage. I was wondering if you can use .shtml files as a template. :? I've tried without success so far. Not a big deal I guess but sure would be nice to integrate the code into the rest of the page. I've got the same look for the search page, just not using SSI. |
09-26-2004, 09:29 PM | #2 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Welcome to the forum, sparky. We're glad you could join us!
The basic templates that come with phpdig are .html files, so I don't know why .shtml wouldn't work, too. Maybe if you explained just how you're trying to customize the template, we could offer some solutions. |
09-27-2004, 06:37 AM | #3 |
Green Mole
Join Date: Sep 2004
Location: St. George, KS
Posts: 4
|
Using apache SSI includes.
The server won't load any of the includes unless it's a .shtml file. Code:
<div id="container"> <!--#include virtual="/includes/banner.shtml"--> <!--#include virtual="/includes/menu.shtml"--> I tried saving the template as a .shtml file to no avail. Maybe I was just getting tired last nite. <shrug> |
09-27-2004, 07:16 AM | #4 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Have you read through this thread? If not, try that solution, see if it works, and let us know one way or the other how it went. Thanks.
|
09-27-2004, 11:42 AM | #5 |
Green Mole
Join Date: Sep 2004
Location: St. George, KS
Posts: 4
|
That should work.
Just couldn't find it without searching, couldn't search without posting. |
09-28-2004, 05:35 AM | #6 |
Green Mole
Join Date: Sep 2004
Location: St. George, KS
Posts: 4
|
Worked perfectly.
Thanks! |
09-28-2004, 06:13 PM | #7 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Congratulations on getting phpdig customized the way you want it!
Yet another satisfied customer. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Awesome Template | Slider | Feedback & News | 1 | 12-16-2004 09:29 AM |
Enhanced template | manfred | Mod Submissions | 2 | 09-01-2004 02:00 PM |
Adding index.shtml | urb | How-to Forum | 1 | 02-23-2004 09:24 AM |
.shtml pages and including borders | Nosmada | How-to Forum | 7 | 01-08-2004 12:04 AM |
index only .shtml | Nosmada | How-to Forum | 3 | 12-23-2003 03:36 PM |