aborsum
Forum Replies Created
-
I reverse-engineered this solution which I’m going to use in my child theme. It seems to work at a first glance.
$args = apply_filters('em_content_events_args', $args);
if( empty($args['id']) ) $args['id'] = rand(100, getrandmax()); // prevent warnings
$id = esc_attr($args['id']);
// Check if the user has provided a custom format
$custom_format = !empty($args['format']);
if( !$custom_format ) : ?>
<div class="<?php em_template_classes('view-container'); ?>" id="em-view-<?php echo $id; ?>" data-view="list">
<div class="<?php em_template_classes('events-list'); ?>" id="em-events-list-<?php echo $id; ?>" data-view-id="<?php echo $id; ?>">
<?php endif; ?>
<?php echo EM_Events::output( $args ); ?>
<?php if( !$custom_format ) : ?>
</div>
</div>
<?php endif; ?>- This reply was modified 1 year ago by aborsum.
Hm, until now I understood the second method as a possibility to use own html and formatting in contrast to the default event lists. I’m still hoping for a fix 😉
However, one thing became clear for me know: I have used two different ways of integrating the [events_list] shortcode as described in the documentation
- Default event listing with arguments,
e.g. [events_list limit=”10″ location=”1″]
this used the formatting which was defined by the plugin settings. - Self-defined event listing with own html and search attributes,
e.g. [events_list scope=”tomorrow”]#_EVENTLINK will take place at #_LOCATIONLINK on #_EVENTDATES at #_EVENTTIMES[/events_list]
Up to know, I head all freeddom to define this myself.
Before the update, the behaviour differed whether I was doing 1 or 2.
If I follow the suggested workaround above, the changes apply to both approaches. So either I have broken formatting for 2. or I don’t have the default formatting for 1.
I suppose the insertion of the <div> tags has been moved to from another place to events_list.php where it causes the unwanted behaviour for case 2.
I have the same issue. The inserted<div> tags break my custom-made tabular weekly programs and places where I’m dynamically inserting text snippets of event info on other posts.
Thanks @rallycrosslife for the hint to the workaround! I still consider this an unintended bug and would appreciate if this can be fixed – thank you!
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] No accessAddition:
these unanswered threads confirm that this is related to 2.6.1 and even happens with fresh installations:
https://wordpress.org/support/topic/plugin-fails-to-redirect-to-activate-page/
https://wordpress.org/support/topic/unable-to-update-or-create-event-not-allowed/See also the recent reviews:
https://de.wordpress.org/plugins/all-in-one-event-calendar/#reviewsForum: Plugins
In reply to: [Timely All-in-One Events Calendar] No accessHello @omigosh
I’m not sure if you’r referring to my reply or one of the previous. I haven’t deactivated any plugins. The issue appeared after updating ai1ec to 2.6.1.
The events of ai1ec are shown at the frontend and I can even edit an event from there. The issue is that I (and I think the others in this thread) can’t anymore access the calendar settings. Instead we’re forced to create a time.ly account. I suppose this is a bug or even worse, intention.
Best,
ArneForum: Plugins
In reply to: [Timely All-in-One Events Calendar] No accessHello out there,
same here. after updating to 2.6.1, the calendar settings are not available from the backend. Instead, I’m forced to create a time.ly account. Not a nice move. Have spent so much time to set up events for our non-profit club….
If anyone has a workaroud, please let me know. At least, I’m able to edit existing events by chosing “edit event” on the event page itself. Here, I can also create a new event. But no way to organise categories, duplicate events etc.
AB
Deaer Sunny Lal,
thanks for your reply. I’ll cross-check with the authors of the other plugins. But after testing, checking the html source and browsing through the php and twig files, I was quite sure that the bahaviour is related to how ai1ec inserts the event information.
Best,
aborsumFor clarification: the original inserted post is just this: http://ewf-erlangen.de/test-for-ai1ec/ So my expectation is to only see the headline and the post content “This is the text in the seperate post”.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Problem printing page with calendarHi again,
it’s my strange habit to dig into things and do reverse engineering…
I emulated the print view in Firefox and inspected the problematic element.
And I found the following CSS:
.timely a[href]::after { content: " (" attr(href) ")"; }As a quick workaround, I added this CSS to my child theme’s CSS:
@media print { /* workaround to make calendar printable */ .timely a[href]::after { content: ""; } }This solves my problem for the moment. Maybe you can use this information for future changes.
Thanks for your support anyhow.
Best,
aborsumForum: Plugins
In reply to: [Timely All-in-One Events Calendar] Problem printing page with calendarDear Benjamin,
thanks for your answer but I think I haven’t made clear what I mean. The print option of the plugin itself works fine.
I’m referring to printing with the browser’s print functionality. Here, I see the mentioned URLs in the print as well as in the print preview. The agenda view is also affected. Here’s a PDF print of http://ewf-erlangen.de/termine/ in agenda view:
http://ewf-erlangen.de/wp-content/uploads/2017/10/Termine-EWF.pdf
Or do you mean that this won’t work as I expected and only using the plugin’s print option of the agenda view will have a readable result?
Thanks and best,
aborsum