Miriam
06-15-2006, 09:08 PM
I'm totally new at Joomla (version 1.09), just setting up my first site with it. To complicate everything more, it's on a development server while the existing site remains up on the old server. So all the installations of Joomla and the EasyPHP calendar are using the IP address and a subdirectory. I guess when I'm ready to switch the DNS to the new server, I'll have to do something about updating the license info....but that's another issue.
I have gotten the small calendar to show in the left column, added a few test events, and the mouse-overs, popups, and printable.php are all working.
Now what I'd like to do is create a menu link for the full month text on calendar to appear on a separate page in a wrapper iFrame.
I've read that I have to add a certain piece of code:
<?php
$TOC=1;
require ("/modules/calendar/calendar.php");
?>
to the page that will hold the calendar. I'm confused about where I put this code. Do I create a static content page and put the code there. Or do I put it in the main template index.php page in the mainbody area? I started to create a new menu item, selecting the wrapper type, but when it asked for the path, I didn't know what to enter because it's not a domain yet, just the IP address and subdirectory, I'm not sure what the relative path should be.
I thought I'd edit this to explain how I figured this out. Did further reading and discovered the demo.php page. I modified that for my purposes, then put in the wrapper. I was able to figure out the correct url to get to that page from the wrapper menu item. Not sure I did it all correctly, but it seems to be working.
Miriam
I have gotten the small calendar to show in the left column, added a few test events, and the mouse-overs, popups, and printable.php are all working.
Now what I'd like to do is create a menu link for the full month text on calendar to appear on a separate page in a wrapper iFrame.
I've read that I have to add a certain piece of code:
<?php
$TOC=1;
require ("/modules/calendar/calendar.php");
?>
to the page that will hold the calendar. I'm confused about where I put this code. Do I create a static content page and put the code there. Or do I put it in the main template index.php page in the mainbody area? I started to create a new menu item, selecting the wrapper type, but when it asked for the path, I didn't know what to enter because it's not a domain yet, just the IP address and subdirectory, I'm not sure what the relative path should be.
I thought I'd edit this to explain how I figured this out. Did further reading and discovered the demo.php page. I modified that for my purposes, then put in the wrapper. I was able to figure out the correct url to get to that page from the wrapper menu item. Not sure I did it all correctly, but it seems to be working.
Miriam