ContentExpress - Include HTML file (i.e. <!--#include...)  Bottom

  • I've been using ContentExpress to make static HTML pages; it's working really well. I haven't published the final version of the site yet; still trying to work out a few kinks.

    My question is this: I've got a news reporter with FTP access only. With the site the way it is now, the news page includes a news.shtml file - which gets updated daily by the reporter. Since the only purpose of the news page is to display the daily news (not to archive the news; we're a radio station), it would be easiest to just set up a news page, using ContentExpress, and include this line of code in the page:



    Anyway, I can't seem to get it to work. Any suggestions? Does PostNuke handle includes like this? Can I use includes when posting Admin messages or when posting articles?

    Thanks for any help,

    jessigurr
  • The above type of include won't work because that is just for SSI (server-side include pages... What you could do is create a PHP (center?) block and insert a PHP include statement (provided the file is on the same server)... i.e.

    Code

    include 'directory/filename.php';

    If the file is not on your server, there are methods for getting that too...

    You could of course include other intro text in there, etc...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

This list is based on users active over the last 60 minutes.