SOLVED - Two Instances Of Latest Events On Same Page
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
SOLVED - Two Instances Of Latest Events On Same Page
by BrianD65 » Sun Oct 09, 2011 5:25 pm
Hi, I wonder how this is possible.
I want to run two instances of the latest events module on the same page - seems strange, but I need to treat the first (current) event differently and display it differently.
ie:
From One Instance, take only 1 (current event) and display it.
From the second instance, take everything else(as per config) and display differently.
I can configure the modules to display both cases - but they cannot be active at the same time - arrrgggh!
I'm getting a 'cannot redeclare class' error - does anyone have any thoughts on how to tackle this one?
Many thanks in advance
BrianD
I want to run two instances of the latest events module on the same page - seems strange, but I need to treat the first (current) event differently and display it differently.
ie:
From One Instance, take only 1 (current event) and display it.
From the second instance, take everything else(as per config) and display differently.
I can configure the modules to display both cases - but they cannot be active at the same time - arrrgggh!
I'm getting a 'cannot redeclare class' error - does anyone have any thoughts on how to tackle this one?
Many thanks in advance
BrianD
- BrianD65
- Posts: 2
- Joined: Sun Oct 09, 2011 5:19 pm
Re: Two Instances Of Latest Events On Same Page
by carcam » Mon Oct 10, 2011 6:58 am
Which Joomla! version are you using? I can easily put as many latest events as I want in Joomla! 1.7, and as far as I know, it should be the same for Joomla! 1.5 as the latest events module classes are used by several JEvents addons.
-
carcam
- Contributor
- Posts: 3391
- Joined: Wed Aug 06, 2008 7:50 pm
- Location: Córdoba
Re: Two Instances Of Latest Events On Same Page
by BrianD65 » Sun Oct 16, 2011 6:41 pm
Hi,
I'm using 1.7.
I managed to solve it by checking for an instance of the main module class first - problem solved.
I'm using 1.7.
I managed to solve it by checking for an instance of the main module class first - problem solved.
- BrianD65
- Posts: 2
- Joined: Sun Oct 09, 2011 5:19 pm
3 posts
• Page 1 of 1
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: No registered users

