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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- Guite responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 05:53 PM
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
- mesteele101 responded to »How to install Zikula for MSSQL ??? - Part II« 19. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
ContentExpress - Include HTML file (i.e. <!--#include...)
-
- Rank: Senior
- Registered: Sep 22, 2003
- Last visit: Oct 21, 2009
- Posts: 2774
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...
- Moderated by:
- Support
