Results 1 to 3 of 3
  1. #1
    Join Date
    January 17th, 2005
    Question allposters and includes
    In allposters does the "include" act in the same way as an SSI - Server Side Includes?

    With an SSI I can change the information in the "include" file, upload the modified file, and the new info is loaded when the page is rendered.

    Does allposters handle its "include" in the same manner or are the "include" files only processed when is run?

    Richard E. Ward
    [url][/url] [url][/url]

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Toronto, Canada
    <!--include--> is processed by when you run Whatever is in the include file is written to the created .html file.

    The include file can contain SSI statements or <script> statements (or indirectly generated by because the include file contains directives such as <!--amazon:MODE-->). Those SSI statements (or <script> statements) behave as SSI statements (or <script> statements) normally behave and are run by the web server (or web browser) when the webpage is viewed.

    If the include file contains purely static text (e.g.: "I'm Richard") and you run, then that will be in the created .html files. If you modify the static text file (e.g.: "I'm Rick"), you'll have to re-run for the change to take effect. If you want true SSI, then use SSI statements in your template files or in your include files (SSI statements in allposters include files are merely copied as is to the .html file; they are not run during copying).

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  3. #3
    Join Date
    January 17th, 2005
    Thumbs up
    Thanks David,

    As I undersand it, now, I can actually just put SSI statements in the template files. I don't know why I haven't understood this before. I must have read the documentation a hundred times and it just hasn't registered.

    As usual, thans for walking me through this stuff.
    Richard E. Ward
    [url][/url] [url][/url]

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: May 6th, 2012, 11:47 AM
  2. StatsJunky now includes Webgains
    By Ryan Gilbert in forum
    Replies: 0
    Last Post: September 25th, 2009, 03:10 PM
  3. yet more virtual includes problem...
    By jazzylee77 in forum Scripts
    Replies: 2
    Last Post: January 31st, 2008, 12:40 AM
  4. Server Side Includes
    By Roland in forum Midnight Cafe'
    Replies: 5
    Last Post: April 25th, 2005, 10:55 AM
  5. Includes
    By dwooding in forum Scripts
    Replies: 1
    Last Post: February 8th, 2005, 04:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts