Put a "not in reddot mode" block around your Ssi tag.
-----Original Message----- From: "H SpecialSurgery" <[email protected]> Sent: 25/10/2013 3:40 To: "[email protected]" <[email protected]> Subject: Re: Server side includes I appreciate the input - really great! we have SSI's working : it grabs the file from the CMS server on publish. however, it doesn't solve our problem which is that when we change the navigation for our site, we have to republish the entire site, which is time consuming and we somehow never manage to publish everything. what we really want is for it for the SSI to work on page render to grab a file from the live webservers so that if we need to change the nav, we change one file and the whole site picks it up. i can make this work when i manually create pages on the webserver, but Red Dot crashes because it is looking for something on its own server. so is there a way to do that? On Wednesday, October 23, 2013 6:07:56 PM UTC-4, Jian Huang wrote: Hi, I wrote a blog post specifically for this today because I was trying to do something similar 2 weeks ago. http://simplyreddot.blogspot.com/2013/10/using-include-in-project.html On Tuesday, October 22, 2013 4:19:54 PM UTC-4, Jeff Brathwaite wrote: If the error is in CMS, you should use the following: <reddot:cms> <if> <query valuea="Context:CurrentRenderMode" operator="==" valueb="Int:2"> <htmltext><!--#include file="/header.html"--></htmltext> </query> </if> </reddot:cms> ------------------------------------------------ Also, try to verify that the path to the file is correct. On Tue, Oct 22, 2013 at 4:15 PM, Jeff Brathwaite <[email protected]> wrote: That should work, check the code in your header.html file. are you viewing from CMS or live site? On Tue, Oct 22, 2013 at 3:59 PM, H SpecialSurgery <[email protected]> wrote: does anyone know of a way to have a single page for navigation which is then called into all other pages via server side include? when we try to do this in 10.1, the include line causes a 500 error <!--#include virtual="/header.html"--> . we'd like to be able to update our nav without having to repbulish the entire site. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/groups/opt_out. -- Jeffrey C. Brathwaite Jr. -- Jeffrey C. Brathwaite Jr. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/groups/opt_out.
