Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-29-2008, 04:43 PM #1
- Join Date
- Oct 2005
- Thanked 2 Times in 2 Posts
Can Joomla 1.5 use PHP Includes as Standard?
Does anyone know if I can use a php include as standard in a Joomla 1.5 module? Or do I have to download a Joomla extension such as Jumi or some other plugin to allow includes to work?
I have posted on Joomlas' forum but had no replies which really answer my question.
Basically I have designed my site in HTML/CSS and have used a php include on every page to provide a TIMESTAMP of when each page was last updated.
Now I am beginning the process of adding Joomla managed content to my site and I am trying to add my php timestamp include to display on my pages as a Joomla module.
The html code which I currently use on my pages to call the include is -
<p id="timestamp"><?php include("../timestamp.php"); ?></p>
<?php echo "This page was last modified on: " . date ("F d Y H:i:s.", getlastmod());?>