PhpDig.net

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

Reply
 
Thread Tools
Old 09-26-2004, 05:41 PM   #1
sparky
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.
sparky is offline   Reply With Quote
Old 09-26-2004, 09:29 PM   #2
vinyl-junkie
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.
vinyl-junkie is offline   Reply With Quote
Old 09-27-2004, 06:37 AM   #3
sparky
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"-->
If it's saved as a .html file it doesn't parse the comments.

I tried saving the template as a .shtml file to no avail. Maybe I was just getting tired last nite. <shrug>
sparky is offline   Reply With Quote
Old 09-27-2004, 07:16 AM   #4
vinyl-junkie
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.
vinyl-junkie is offline   Reply With Quote
Old 09-27-2004, 11:42 AM   #5
sparky
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.
sparky is offline   Reply With Quote
Old 09-28-2004, 05:35 AM   #6
sparky
Green Mole
 
Join Date: Sep 2004
Location: St. George, KS
Posts: 4
Worked perfectly.

Thanks!
sparky is offline   Reply With Quote
Old 09-28-2004, 06:13 PM   #7
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Congratulations on getting phpdig customized the way you want it!

Yet another satisfied customer.
vinyl-junkie is offline   Reply With Quote
Reply

Thread Tools

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
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


All times are GMT -8. The time now is 11:20 PM.


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