Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Can you post a link to your category pages so we can see what’s happening? Thanks.

    Thread Starter bcmaterials

    (@bcmaterials)

    Hi πŸ™‚

    Thanks for your reply.

    Yesterday we were trying again different options, including things that we’ve already tested before with no results.

    Don’t ask me which one made the difference, but it has become to work. Maybe on former tests a browser cache made us a mischief.

    Right now we have a different issue, not directly related with the theme, but involving the single category page too. I’m unsure if we must create another thread to talk about it. Please feel free to tell it to me if it’s not ok.

    Actually, when we’re trying to see a list of events filtered by category, using the “single category page format” formatting options on plugin settings, the output seems to breakdown whenever a future event is present at the results.

    Beginning at the categories list page, if you go to to “External events of interest” (category ID=93), you can see all the events because right now there are no future events programmed.

    But if you go to any of the other two categories (ID=91 or ID=92), the formatting code seems not being loaded. It doesn’t say that there are no results nor writes the “Future events” & “Past Events” strings either.

    The formatting code we’re using at single category page format is quite simple:

    <h3>Upcoming Events</h3>#_CATEGORYNEXTEVENTS
    [break]
    <hr />
    [break]
    <h3>Past Events</h3>#_CATEGORYPASTEVENTS
    [break]

    It doesn’t make a difference if we try to see only past events using only #_CATEGORYPASTEVENTS or all the events with #_CATEGORYALLEVENTS: if there are future events assigned to the category, the output breaks down.

    By the way, we’ve noticed also that we’re unable to sort the list of events obtained through #_CATEGORYPASTEVENTS or #_CATEGORYALLEVENTS (when watching them at category ID=93, of course), even if we state ordering options at event category section on plugin settings.

    Nevertheless, if we use events list placeholders in specifically created pages or in widgets, they’re working without problem! (take a look on widgets at the bottom of any page or this page, for example).

    So we’re creating individual pages in order to be able to see the events of such categories, but I think that such way is not affordable if our list of categories grows.

    The code use on such page is:

    <h3>Upcoming Events</h3>
    [events_list orderby="event_start_date,event_name" order="DESC" scope="future" category="91"] #_EVENTLINK - #_EVENTDATES - (#_EVENTTIMES)
    [/events_list]
    [break]
    <h3>Past Events</h3>
    [events_list orderby="event_start_date,event_name" order="DESC" scope="past" category="91"] #_EVENTLINK - #_EVENTDATES - (#_EVENTTIMES)
    [/events_list]

    Do you know why we’re having this kind of issue?

    Thanks in advance.

    Thread Starter bcmaterials

    (@bcmaterials)

    Sorry, I’ve forgotten basic support etiquette πŸ™‚

    We’re running WP core 4.2.3 and EM 5.6, plus WPML (up to date) and EM WPML Compatibility 1.0.1.

    We’re using WPML but I think this is not relevant, because we’re having the issue despite the language.

    Thanks again for your time.

    Just to check something: If you deactivate WMPL does it fix the problem?

    Thread Starter bcmaterials

    (@bcmaterials)

    Fine. Mr. Murphy strikes back.

    WPML IS relevant for the issue. If we disable WPML, the problem dissapears (I’m still unable to properly order results, but I suppose that such issue is minor compared to showing no results).

    I thought not taking care about it because actually we have all the languages hidden (apart from English). We’re in the process of fully translating the site and in fact the events & event categories are still in English only.

    I’ve tried also to disable only the EM WPML Compatibility plugin, but it doesn’t makes a difference.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Single category formatting page’ is closed to new replies.