Preview SSI with HTML Editor? - Post...
I have an shtml file that I am working on, and it has one Server Side Include tag, which is supposed to pull in a menu (mixed css, javascript, and html) from another html file. When I upload it, it works fine, but when I preview it in Coffeecup, the menu simply isn't there- it ignores that tag. Am I missing a setting or does coffeecup simply not preview server side includes?
I work on my computer mainly for the purpose of working on my computer.
As the description suggest a Server side include means that it sits on your server and not on your hard drive.
Unless you use your own PC as a server you will not be able to see it until it has been submitted.
Unless you use your own PC as a server you will not be able to see it until it has been submitted.
Alright, thanks!
I work on my computer mainly for the purpose of working on my computer.
Hi
In PREVIEW mode, it would be very useful for HTML Editor to mimic the action of a server include by copying in the included code before displaying the page.
This could be a toggle that the user could set/unset
David
In PREVIEW mode, it would be very useful for HTML Editor to mimic the action of a server include by copying in the included code before displaying the page.
This could be a toggle that the user could set/unset
David
Blackthorn-413
Most SSI's do not display in editors with one exception - Dreamweaver. Other than that you have to view the file on the server in order for it to render properly. This would not be an easy task to do for the engineers of the program. However, I do agree that it would be worth while.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.
My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).
My Personal Website: http://www.EricSEnglish.com
My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).
My Personal Website: http://www.EricSEnglish.com
Hi
(asking with curiosity)
On "difficult for engineers to do"
What I see of SSI is that the file you specify in the include is copied into the source inplace of the INCLUDE statement. This is like a copy and paste.
If this is true, then it would not be difficult to do this ----
is there something more to it then this ?
thanks
(asking with curiosity)
On "difficult for engineers to do"
What I see of SSI is that the file you specify in the include is copied into the source inplace of the INCLUDE statement. This is like a copy and paste.
If this is true, then it would not be difficult to do this ----
is there something more to it then this ?
thanks
Blackthorn-413
hiya
Yep - it is a bit more difficult than that blackthorn - not only are there a few different languages that work as SSIs but there are different types of servers that serve them differently...
php for example - many of my php includes have if() statements or other code in them too - it would take a lot to get the HTML editor to understand all the different ways of including files and acting like different servers....
If you need to preview before uploading there are programs out that let you load a server emulator on your PC (like xampp for php) - they still dont work in the editor though....
Yep - it is a bit more difficult than that blackthorn - not only are there a few different languages that work as SSIs but there are different types of servers that serve them differently...
php for example - many of my php includes have if() statements or other code in them too - it would take a lot to get the HTML editor to understand all the different ways of including files and acting like different servers....
If you need to preview before uploading there are programs out that let you load a server emulator on your PC (like xampp for php) - they still dont work in the editor though....
Have fun
~ Fe Pixie ~
~ Fe Pixie ~
Yes, and there is only one editor that I am aware of that will simulate the SSI - Dreamweaver.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.
My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).
My Personal Website: http://www.EricSEnglish.com
My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).
My Personal Website: http://www.EricSEnglish.com
Previewing SSI includes within the tool would be simple to implement. As far as I can see, there is no templating mechanism at all in CoffeCup to enable e.g. common navigation menus and footers to be included and managed by the tool. Dreamweaver by the way allows you to completely forget about SSI, since it manages common content in the tool authoring space.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.