• Resolved Paddy Duncan

    (@paddy-duncan)


    I can’t tell you how upset I am about having to spend hours trying to make our calendars work properly again – there are a bunch of things I can’t seem to fix.

    The most important of those is that I cannot find a setting anywhere to limit the length of the description in list view. Many of the events on one of my clients’ websites have very long descriptions – we previously had 20 words and then “read more” – which was part of the settings for Google Calendar Events. Either I’m blind, or there is no longer any such setting. Site in question: https://ward26.ca (BTW – in your documentation there is a “compact list” setting for lists – I have no such setting, not that this is necessarily what I need. I want the fine-grained control back again!

    https://www.ads-software.com/plugins/google-calendar-events/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Paddy Duncan

    (@paddy-duncan)

    Ok – figured out how to limit the length of the description with template tags – it’s in the documentation, but WHY isn’t it a simple setting like it was with the old version? This is a step backwards, IMHO.

    https://docs.simplecalendar.io/event-template-tags/ for those who are looking for this.

    Quick question related to this though – if I need more than one tag for a description, what is the correct syntax? I don’t have any links in the listings at the moment to test this, but is it:
    Description: [description limit=”20″ description autolink=”yes”] ?? I tried putting the two things in two sets of brackets – that didn’t work.

    Now I have to go and try to clean up the really trashed CSS. ??

    Plugin Contributor Nick Young

    (@nickyoung87)

    Ok – figured out how to limit the length of the description with template tags – it’s in the documentation, but WHY isn’t it a simple setting like it was with the old version? This is a step backwards, IMHO.

    Where in the old plugin was this setting?

    Quick question related to this though – if I need more than one tag for a description, what is the correct syntax? I don’t have any links in the listings at the moment to test this, but is it:
    Description: [description limit=”20″ description autolink=”yes”] ?? I tried putting the two things in two sets of brackets – that didn’t work.

    If you are trying to add more than one attribute it would look like this:

    [description limit="20" autolink="yes"]

    If you are trying to add more than one description tag you would need to do the above 2 times.

    Hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to limit length of description??’ is closed to new replies.