Results 1 to 3 of 3
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    17
    Hi

    Ia have been looking at headers and footers for AE.pl

    I came across the following in the ini file but I don't quite understand what it means or what you can do.

    "- include statement, e.g.: "{include header}"
    #File is loaded from ae-include/*.html
    #such as ae-include/header.html

    It seems to imply that you reference a header.html file that would be loaded or included.

    If that is the case I can't quite work out what elase I need to do - I set a directory called ae-include and placed a html file in it but could seem to get the contents loaded.

    Many thanks

    Steven

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    In AE v4.04.04, you can set the store.include.* configuration variables to include a common header/footer into all the template files without having to edit the template files themselves.

    For example, setting store.include.body.header to "{include header}" would cause file ae-include/header.html to be included in all the store templates just after the <body> tag.

    Similarly, setting store.include.body.footer to "{include footer}" would cause file ae-include/footer.html to be included in all the store templates just before the closing </body> tag.

    The other three store.include.* configuration variables are:

    store.include.head -- the value of store.include.head is included just before the closing </head> tag.

    store.include.results.before -- the value of store.include.results.before is included just before the {results} results tag.

    store.include.results.after -- the value of store.include.results.after is included just after the {results} results tag.

    Thus, by setting any of these store.include.* configuration variables, you can quickly add a common header/footer to all the store template files.

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano
    Affiliate Tools: Datafeed Merge

  3. #3
    Newbie
    Join Date
    January 18th, 2005
    Posts
    17
    Many thanks David. I have now got it to work.

    Best wishes

    Steven

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Headers too large......
    By Anne in forum Google Affiliate Network - GAN
    Replies: 11
    Last Post: September 28th, 2007, 11:15 PM
  2. HTTP Headers
    By Greg Rice in forum Programming / Datafeeds / Tools
    Replies: 10
    Last Post: January 10th, 2007, 11:26 PM
  3. index pages as footers
    By kmillar in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: February 16th, 2004, 08:47 AM
  4. How to remove headers
    By dpam in forum Cusimano.com Scripts
    Replies: 2
    Last Post: September 12th, 2003, 09:37 PM
  5. Headers and Google
    By cazzie in forum Search Engine Optimization
    Replies: 1
    Last Post: August 29th, 2002, 10:46 AM

Posting Permissions

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