Serving 4532 extensions to the community

Login or Register



AG Featured Events Module for Eventlist 1.0 Module

AG Featured Events is a simple Module for Eventlist (by schlu.net), which allows to highlight some events as important, or sponsored, or "Don't-miss-it" kind of events. The Module requires Eventlist and extracts from the Database ONLY those events to be highlighted Instructions: 1) Download the module mod_featured_events e install it from Extensions->Install/Uninstall 2) Once loaded, go to Extesion->Module Manager 3) Select the "Featured Events Module" module, configure the "Intro message" parameter with a short message to display in the module (i.e. "Don't miss it!", "Sponsored Evenst") 4) Configure the "Featured Event IDs" parameter by inputing the event IDs (taken from Eventlist) that you want to highlight, separated by a comma (i.e. "5,14,29"). Remember to activate the module. The module will then load from the Database events with these IDs ONLY,and only if they are published. If you unpublish some events (or they are deleted because they are old) they won't be displayed in the module.

Report

bySweenie on January 29, 2010
This is a great little module if you just want to display a link to titles of upcoming events.

If you want to style the module, you have to add the parameter yourself. While this isn't a big deal to fix, it should be included in the package. I'll post the code here in case anyone needs it:

1) In the "mod_featured_events.xml" file, add the following right before the line ":




2)In the PHP file "mod_featured_events.php" add the following:

$moduleclass_sfx = $params->get( 'moduleclass_sfx', '' );


The module would also be greatly enhanced by having the option to display dates alongside event titles.
Tried to use the module on my site , but my table prefix wasn't jos_ so i had to correct that, send a mail to the programmer and he fixed the module on his site one hour later ! great support