Announcement

Collapse
No announcement yet.

Can SellerDeck work with Server Side Includes?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can SellerDeck work with Server Side Includes?

    To be able to use SSI, the server must parse the HTML file, this is usually done automatically when the file type is SHTML. You can make the product section pages have a file extension of SHTML by specifying the section page file name/type when editing the section.

    IMPORTANT: When registered customers are logged in, SellerDeck Ecommerce serves the pages from the Perl Scripts and consequently the pages are not parsed by the SSI handler.

    When SellerDeck Ecommerce generates the web pages with 'Compress HTML' turned on it will remove the SSI commands as they are formatted as HTML comments. You can prevent the comments from being removed in one of four ways.

    1. Disable HTML compression, this will result in slower download times and is not the preferred solution.

    2. Use CUSTOMVARs/User-Definable Variables, SellerDeck Ecommerce will not remove the comments from these. Set up a a variable with the value similar to "<!--#include virtual="incl.html" -->" which will include the file incl.html.

    3. If a comment includes the string "SEARCHAID" (it must be in capitals) then the comment won't get deleted. So you could use SEARCHAID presuming that the dummy won't get interpreted as a valid tag, so it will get ignored. SEARCHAID may be in quotes or not.

    4. Use a NETQUOTEVAR:INCLUDE (v7) or a 'File Content' variable (v8, v9 and v10) to include the SSI from a separate file when the page is generated by SellerDeck Ecommerce.
Working...
X