J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sat May 18, 2013 9:28 am

SOLVED - Using Latest JEvents Module to Display New Events

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.

SOLVED - Using Latest JEvents Module to Display New Events

Postby gotton » Mon Oct 31, 2011 4:04 pm

I have installed mod_jevents_latest for a Joomla 1.7.2 website and selected 5(Most recently created events) under Basic Options/Display Mode.

It now displays the most recently created events on the Front Page but displays the date the event was created and not the date on which the event will take place. This is not very useful or informative to visitors to the site.

Is there a way to have this module display the date the event takes place for these recently created events instead of the date it was created.

George Otton
gotton
Posts: 6
Joined: Mon Oct 31, 2011 3:31 pm

Re: Using Latest JEvents Module to Display Newly-Added Events

Postby Tonyp » Mon Oct 31, 2011 8:07 pm

Hello,

Yes Using the Latest Events module, if you change the string to some thing like:

Code: Select all
${eventDate}[!a: - ${endDate(%I:%M%p)}]<br />${title}

That will show the events Date and on a new line the events title.

this belongs in the Custom Format String, in either the module or jevents component depending on wether you have selected "Use settings below" or "Use component Settings" within the module.
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8704
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Using Latest JEvents Module to Display Newly-Added Events

Postby gotton » Wed Nov 02, 2011 3:35 pm

Works great. Thanks Tony.
gotton
Posts: 6
Joined: Mon Oct 31, 2011 3:31 pm

Re: SOLVED - Using Latest JEvents Module to Display New Even

Postby gotton » Tue Mar 27, 2012 7:57 pm

My problem (above) was solved until my service provider upgraded to Joomla! 2.5.3 and JEvents v 2.1.14.

Now it back to showing the date that the new event was posted, not the date of the event.
gotton
Posts: 6
Joined: Mon Oct 31, 2011 3:31 pm

Re: SOLVED - Using Latest JEvents Module to Display New Even

Postby carcam » Tue Mar 27, 2012 9:12 pm

Can you please check the custom format string again and if the configuration is being applied? (if you are editing the custom format string in the module, be sure that the "Use settings below" is enabled, if you are editing the custom format string in the component, set that parameter to "No")
carcam
Contributor
Posts: 3391
Joined: Wed Aug 06, 2008 7:50 pm
Location: Córdoba

Re: SOLVED - Using Latest JEvents Module to Display New Even

Postby gotton » Tue Mar 27, 2012 10:10 pm

I checked the custom format string and it is as directed below.

The module has been set for "Use settings below". It displays the most recently created events with the most recent first (as I want) but the date is the created date and not the event date.

If I change the module to "Use component settings", the most recently created events with the event date, not the created date (as I want) but it displays every day of multiple day events and I don't see a way to prevent this in the JEvents component manager.

I am using another copy of the same module set to "Use settings below" and "Nearest events" under Display Mode and that displays the created date,
gotton
Posts: 6
Joined: Mon Oct 31, 2011 3:31 pm

Re: SOLVED - Using Latest JEvents Module to Display New Even

Postby carcam » Wed Mar 28, 2012 6:14 am

Does the component and the module has the same Custom Format String? Because the Custom Format String is the key.
carcam
Contributor
Posts: 3391
Joined: Wed Aug 06, 2008 7:50 pm
Location: Córdoba

Re: SOLVED - Using Latest JEvents Module to Display New Even

Postby gotton » Wed Mar 28, 2012 8:38 pm

The same custom format string:

${eventDate}[!a: - ${endDate(%I:%M%p)}] <br/>${title}

is entered in three places:
- the JEvents component
- a Latest Events module - set to Use Settings Below and Display Mode 2: Nearest Events
- an additional Latest Events module renamed New on the Calendar set to Display Mode 5: Most Recently Created Events

If the New on the Calendar module is set to Use Settings Below it displays the created date not the Event Date.

If the New on the Calendar module is set to Use Components Setting, the Event Date is displayed, as desired, but multiple day events are shown multiple times.
gotton
Posts: 6
Joined: Mon Oct 31, 2011 3:31 pm

Re: SOLVED - Using Latest JEvents Module to Display New Even

Postby Tonyp » Wed Mar 28, 2012 8:42 pm

Basically, copy the code from the component and paste it into the module you are using setting below it.

That will then make it use the settings below and show like the use component settings.
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8704
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: SOLVED - Using Latest JEvents Module to Display New Even

Postby gotton » Wed Mar 28, 2012 10:20 pm

I have the same code in component and modules (one Nearest Events and one Recently Created Events) but the Recently Created Events module display the created date for events not the desired event date.
gotton
Posts: 6
Joined: Mon Oct 31, 2011 3:31 pm

Next

Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: Bing [Bot]

Main Menu

User Menu

Hosted By


Who is online

In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: Bing [Bot]

Login Form