View Full Version : Calendar Only shown on home page
08-30-2005, 11:28 PM
I would like to have just the calendar grid show on my home page - and then if someone wants to look at the details, they would click on it to view (similar to what is shown on the EasyPHP Calendar home page - but that calendar doesn't seem to update to the correct month)
Is this possible?
08-31-2005, 06:41 AM
What you're looking for is the epcAltLink (http://docs.easyphpcalendar.com/Customize/Command-line%20Variables.htm) command-line variable. It allows you to make the whole small calendar be one link that redirects the user to an alternate link. That link can then be a page displaying the TOC. This would replicate the behaviour you see from the home page.
If you need help implementing this feature, please don't hesitate to ask.
PS: The "calendar" on the home page that says November 2005, it's actually an image ;)
09-01-2005, 10:06 PM
Thank you for the info.... but I wasn't able to find the place in the file to change - can you tell me which file to change - and where to place the information?
09-02-2005, 07:52 AM
On the page where you've displayed the small calendar, you had to add the 3 require() sections. One for the CSS (in the <head> section), one for the OL (just inside of the <body> tag) and the last one to display the calendar. That last one looks like this (the path might be different) require("calendar/calendar.php");All you have to do is add a line just before it, like so unset($epcAltLink); $epcAltLink="X";
require("calendar/calendar.php");And "X", is the link to your TOC page (either a full URL, or a relative link).
If you need help implementing the calendar and these features, don't hesitate to ask.
09-02-2006, 06:35 PM
My mistake, sorry
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.