So I was using the HTML module to include static content on a page, and every time I want to edit it, there's numerous operations involved with SiteBuilder.
Eventually I thought of using php include to just include the fully formatted web page, so I can edit it in DreamWeaver locally, upload it to the site and it automatically updates the contents of the page.
So in the PHP Module, I have just something like:
What I wondering is, in this topic HERE you talk about the HTML module, and how you are not supposed to included <head> and <body> sections and so on, yet I am including a full HTML page that has a <head> section with CSS links and javascript links, and the <body> tags and so on, and it works perfectly! No need to put anything in the 'head_include' template either.
So I'm just wondering if there is anything wrong with how I'm doing this? It seems to work great.
Eventually I thought of using php include to just include the fully formatted web page, so I can edit it in DreamWeaver locally, upload it to the site and it automatically updates the contents of the page.
So in the PHP Module, I have just something like:
PHP Code:
include('../vb_static/home.html');
So I'm just wondering if there is anything wrong with how I'm doing this? It seems to work great.
Comment