Skip navigation
Currently Being Moderated

Contribute CS5 corrupting virtual server side includes

Jul 2, 2010 2:09 AM



My template has a server side include as follows:

<!--#include virtual="/includes/" -->


When a new page is created from this template and published it corrupts the include as follows:

<!--#include ../../virtual="/includes/" -->


For some reason it is adding ../ for each folder from the root that the file is published in.  If the new file is published in the root of the Web site it is fine.


Anyone know why?



  • Currently Being Moderated
    Jul 6, 2010 5:03 AM   in reply to niveksystems

    This ../ is added for the each folder you navigate in the Publish New Page dialog. The workaround to this issue is, before creating the new page, navigate to the folder you want to publish the page. So while Publishing, you can directly publish without nagivating to the folder in the Publish New Page dialog. The code also is not corrupted.

    Hope this workaround help you.

    Mark as:
  • Currently Being Moderated
    Sep 28, 2011 5:36 AM   in reply to Dominic Michael

    Is there absolutely no other work around or fix for this problem at this time? We have several users using Contribute for our site, users who are already used to this not being an issue in CS4. We'll be fixing a lot of templates even if we do manage to retrain everyone on this, just because people will forget.

    Mark as:
  • Currently Being Moderated
    Oct 31, 2011 9:38 AM   in reply to Dominic Michael

    Thanks for the workaround.  We have the same problem and your solution works.  Hopefully, this will be fixed in a future release.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points