Kaos
Thursday, May 1st, 2008, 01:47 AM
I'm trying to pull an rss feed from an event calendar in my site, onto the home page to show some of the upcoming events. I know I can use a file upcoming.php for it, went digging through my event calendar forum to find out how exactly to do this and they only gave me how to do it for joomla... mine and html site. They gave the code as follows:
<?php if ( mosCountModules( 'CalTrigger' )) {
echo '<div class="moduletable"><h3>Upcoming events:</h3>';
include 'calendar/upcoming.php'; //The path to where upcoming.php resides
echo '</div>';
} ?>
I'm assuming the mosCountModules is joomla mod term, anyone have any idea how I can get this accomplish through straight php coding? I have tried installing carp and using that to pull the feed, but I just get nothing but "event calendar created by blah,blah" no events. Now knowing I can pull the feed off a file though, I don't think I can use carp to accomplish this. Anyone have any ideas????
<?php if ( mosCountModules( 'CalTrigger' )) {
echo '<div class="moduletable"><h3>Upcoming events:</h3>';
include 'calendar/upcoming.php'; //The path to where upcoming.php resides
echo '</div>';
} ?>
I'm assuming the mosCountModules is joomla mod term, anyone have any idea how I can get this accomplish through straight php coding? I have tried installing carp and using that to pull the feed, but I just get nothing but "event calendar created by blah,blah" no events. Now knowing I can pull the feed off a file though, I don't think I can use carp to accomplish this. Anyone have any ideas????