J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Mon May 20, 2013 5:59 pm

{{REPEATSUMMARY}} not working

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.

{{REPEATSUMMARY}} not working

Postby chabar » Fri Nov 30, 2012 6:16 pm

Hi everybody,

I just tried to post a repeat summary on events' detail pages by adding {{REPEATSUMMARY}} to the details' layout (icalevent.detail_body)...but, instead of a events' repeat summary, I only get the start date/time of first event.

By investigating defaultloadedfromtemplate.php for a solution to this issue, the empty
Code: Select all
"case "{{REPEATSUMMARY}}":

crossed my mind. Isn't there something missing?

Also strange thing (at least for me): If I'm using {{Title Link:TITLE_LINK}} for linking from list view (icalevent.list_row) to the details pages, JEvents redirects to index.php?option=com_jevents&task=icalrepeat.detail - even if there's not repeat defined.

Maybe both "issues" are connected?

Thanks in advance,
Marc

BTW: I'm using JEvents v2.2.8.
chabar
Posts: 2
Joined: Fri Nov 30, 2012 5:45 pm

Re: {{REPEATSUMMARY}} not working

Postby Geraint » Sat Dec 01, 2012 10:24 am

chabar wrote: the empty
Code: Select all
"case "{{REPEATSUMMARY}}":

crossed my mind. Isn't there something missing?

the case statements cascade down i.e.
Code: Select all
            case "{{REPEATSUMMARY}}":
            case "{{STARTDATE}}":
            case "{{ENDDATE}}":
            case "{{STARTTIME}}":
            case "{{ENDTIME}}":
            case "{{ISOSTART}}":
            case "{{ISOEND}}":
            case "{{DURATION}}":
all follow the same rule.

REPEATSUMMARY is the summary of that specific repeat as opposed to a summary of all the separate repeats. f you want to show a summary of the other repeats then you could use the silver jevents club member addon 'matching events summary' which can show a list of other repeats from the same event formatted using the latest events module system.
Also strange thing (at least for me): If I'm using {{Title Link:TITLE_LINK}} for linking from list view (icalevent.list_row) to the details pages, JEvents redirects to index.php?option=com_jevents&task=icalrepeat.detail - even if there's not repeat defined.

A non-repeating event is both an event and a single repeat at the same time to icalrepeat.detail is correct in the code.
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: {{REPEATSUMMARY}} not working

Postby chabar » Sat Dec 01, 2012 12:54 pm

..ah, ok. Well, then obviously I misunderstood the REPEATSUMMARY variable...as well as the case statement syntax ;-)

Thanks for the quick reply.

Maybe I'll try the paid membership with my next customer...for the moment I had to do a lot of specific layout adjustments anyway.
chabar
Posts: 2
Joined: Fri Nov 30, 2012 5:45 pm


Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: jguice

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: jguice

Login Form