#include file= command not working in...

User 2137206 Photo


Guest
1 post

I just started testing CoffeeCup due to our IT guy no longer with the company. Our site is using .asp files mostly and some html/php files. I'm running into a problem on my main index page that is working fine when I open it from the web but when using CoffeeCup and it's preview, the #include html file is not showing up in the preview.

This is the line in the code that works on our site via the web but not within CoffeeCup.

<!--#include file="headernav.html"-->

Any help would be appricated.

John
User 122279 Photo


Senior Advisor
14,053 posts

I don't know much about .asp, but as for php includes and also the server side includes, they are server files, meaning that they have to reside on a server to work. For that reason you won't be able to view them locally unless you have server software installed on your pc.
Ha en riktig god dag!
Inger, Norway
This site was made before we were able to create components through the app:
Component sharing for RFF, RBB, RSD and SD: https://eikweb.com/sharing/
My work in progress right now:
Components for the same as above + HTML Editor: https://mock-up.coffeecup.com



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.