• Resolved mailnov

    (@mailnov)


    I use iCal Event List as a widget (list type 4) in the right sidebar of the theme Twenty Fourteen. I am fine with the presentation of the widget. The calendar I use for our club has only a few events over the next few months.

    I then changed the theme to “Twelve 14” or “Ridizain”. Adding the iCal Event list to the right side bar with unchanged settings creates a different presentation: With these two themes, I suddenly get a drop-down menu showing the month. Below, the events are listed in the known style and I have additional links for the previous and next month (by name). As I only have one event his month, the navigation takes up more space than the event information itself…

    What is really sad is when I move to a month with no events, it looks like I might have no additional events available.

    Why is the representation changing based on a different theme?

    https://wordpress.org/plugins/amr-ical-events-list/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author anmari

    (@anmari)

    Only reasons I can think of is that maybe
    1) there are 2 widgets – a calendar and a list. Did you perhaps use list for one and calendar for the other? The list doesn’ have month dropdowns be default, but one can force a different list type.

    2) one themes css is hiding some fields – maybe the text is same colour as background? View source to see if the html is there. or “inspect element” using web debug tools.

    2) maybe something is interfering ?

    The plugin itself doesn’t tailor itself to any themes.

    Thread Starter mailnov

    (@mailnov)

    The widget is the only one. This is the code that is generated:

    <div id="content-sidebar" class="content-sidebar widget-area" role="complementary">
    
        <aside id="amr_icalendar_widget-7" class="widget widget_calendar">
            <h1 class="widget-title"></h1>
            <div id="events_wrap">
                <div class="calendar_navigation">
                    <form action="http://www.mydomain.com/2014/05/mypage/?listtype=4" method="POST">
                        <select name="start"> … </select>
                        <input type="submit" value="»»" title="Go to date"></input>
                    </form>
                    <a class="prevmonth" title="Go to April 2014" href="/?start=20140401&months=1" rel="prev"> … </a>
                    <a class="nextmonth" title="Go to Juni 2014" href="/?start=20140601&months=1" rel="next"> … </a>
                </div>
                <section class=" ical ">
                    <section>
                        <article class=" history inprogress recur confirmed cal0 vevent event"> … </article>
                        <article class="odd alt history inprogress recur confirmed cal0 vevent event"> … </article>
                        <article class=" history inprogress recur confirmed cal0 vevent event">
                            <span class="eventdate"> … </span>
                            <span class="enddate"></span>
                            <span class="summary">
                                <b>
                                    <br></br>
                                    <a class="url" title="//test.icalevents.com/event/test/":test event " target="_blank" href="http://test.icalevents.com/event/test/"> … </a>
                                </b>
                            </span>
                        </article>
                        <article class="odd alt history inprogress recur confirmed cal0 vevent event"> … </article>
                        <article class=" history inprogress recur confirmed cal0 vevent event"> … </article>
                    </section>
                </section>
                <!--
    
                 event calendar by anmari.com.  See it at icalevents.com 
    
                -->
            </div>
        </aside>

    The widget is configured as

    http://test.icalevents.com/?cat=3&feed=ics listtype=4

    Somehow, the widget takes the decision for a grouping by month even as it is not requested. Adding the option grouping=year does not have any influence.

    Plugin Author anmari

    (@anmari)

    Hi mailnov
    There are 2 widgets – the plugin provides for 2 – see widgets on left hand side of http://test.icalevents.com/event-widgets/

    It appears what you have done is drag in the small calendar widget and then tried to force it to be the list widget by adding list type 4.

    Go back to your widgets menu and drag in the “upcoming events list” not the “upcoming events calendar”. See this screenshot

    View post on imgur.com

    You do not need to specify a list type unless you want to override the middle ‘list’ part of the widget.

    Thread Starter mailnov

    (@mailnov)

    Perfect. This was my issue. Thanks for the clarification!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different presentation depending on Theme’ is closed to new replies.