Attention: PROnetworks has upgraded our forum from phpbb2 to phpbb3!!

Please head over to our new converted forum at: http://www.pronetworks.org/forums/

This old forum will remain 'read-only' until approximately February 2009. We look forward to seeing you at the new forum!
Author Message
ar1stotle
PostPosted: Sat Apr 05, 2008 4:06 pm Reply with quote

Support Team
 
 


Joined: 15 May 2004
Posts: 5831
Location: New Orleans, Louisiana
Just wondering... when working with ASP.Net, I can use masterpages to set a default layout for all pages and then modify a content section for each page individually, which makes it easy to modify the layout of the site later. With basic HTML and CSS, I'd have to do a lot of re-working each page to do this. Is there any way to do this without having to use ASP.net or some type of CMS? My host doesn't support asp.net, and I'm just wondering if there's another way to do something similar without a CMS because it'd be handy for simpler sites.
 
Back to top
imnuts
PostPosted: Sat Apr 05, 2008 4:21 pm Reply with quote

Support Team
 
 


Joined: 24 Mar 2004
Posts: 14585
Location: Boothwyn, Pennsylvania
does the hosting support any type of scripting (php, asp)? You could also use an HTML template if you have Dreamweaver as it allows you to define things that will be the same on all pages that use the template and then updates everything when the template changes. You could also use iframes in HTML, but pages can get funny when doing that.
 
Back to top
ar1stotle
PostPosted: Sat Apr 05, 2008 4:26 pm Reply with quote

Support Team
 
 


Joined: 15 May 2004
Posts: 5831
Location: New Orleans, Louisiana
My host does support PHP. I didn't know Dreamweaver offered that functionality though! I'll have to look into it smilenod Is it easy to do in PHP? Only problem there is that I don't know PHP sad
 
Back to top
imnuts
PostPosted: Sun Apr 06, 2008 8:00 pm Reply with quote

Support Team
 
 


Joined: 24 Mar 2004
Posts: 14585
Location: Boothwyn, Pennsylvania
with PHP and ASP, it's fairly simple as you only have to make an HTML file with the content that you want constant and put
Code:
include("filename.html");

into each page that would be a php file and have php tags somewhere before and after the above line. ASP is similar, though I don't remember it exactly, but it's about as simple.
 
Back to top
Back to top
Index >> Webmaster Domain & Code Room >> Master pages without ASP

Page 1 of 1

 


Tired of the Ads? Registered users have 80% less adverts.