PDA

View Full Version : Link event from List Module to TOC


keita
07-31-2006, 01:52 PM
Mambo 4.5.3h
EsCal: 6.3.22
Database: flat

I have EsCal module on the front page with the title "upcoming events" which shows the first upcoming event.

I also have Menu item "Events" which have EsCal TOC.

I would like to be able to click on the "upcoming events" in the front page to be directed to the corresponding date on the main TOC under Events menu.

Is this all possible? I read about ALT Link feature, but wasn't sure how to implement this on my demo.php

The following is the file my mod_escal.php calls for:

<?php
LIST MODE
$LIST=1;
$noOld = 1;
$listEvents = 1;
$DF = "D - M d";
$template="upcoming.php";
require ("calendar.php");
?>

Any input would be appreciated.

Brian
08-01-2006, 11:47 AM
The altLink feature only works with the Normal Mode calendar. The List Mode doesn't have this functionality.

If you use the Normal Mode calendar and the altLink feature, you can have users redirected to your TOC page.

keita
08-01-2006, 11:58 AM
Upcoming Events module for XCalendar has this feature built in, so I thought you might have this option as well.

In my case, I didn't want to show the normal mode calendar in the upcoming events module for layout preferences.

Would it be possible to add this to the wish list for the mod project?

Brian
08-01-2006, 12:05 PM
Can't you include a link above or below the List Mode to your TOC page?

keita
08-01-2006, 12:34 PM
The thinking cap you are wearing today is certainly bigger than mine.

Thanks, that worked perfectly.

:clap: