Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1040
    Heleen van den Bos
    Participant

    Hi there!

    I am making a website and have just installed Events Maker. I added the first event, and a calendar in a sidebar widget. So far so good. But when I click on the event to go to the appropriate page, it looks a bit odd: http://www.chair-man-hosting.nl/delta/evenementen/2013/11/30/

    I think is has to do with the event-template, and I have tried adding one of the ‘normal’ page-templates to my theme as template voor the event archive and the single event, but I can’t get it working properly. Can you tell me what to do?

    The site: http://www.chair-man-hosting.nl/delta
    The theme I’m using: Mantra

    Thanks in advance,
    Heleen

    #1041
    Bartosz
    Keymaster

    Hi Heleen,

    The link is ok, it points to the date archive for the given date (2013.11.30). But the archive doesn’t display the events list. Do you use templates that ship with the plugin or you try to use your own? Do you have “Use default templates” option enabled in plugin template settings?

    #1042
    Heleen van den Bos
    Participant

    Hello Bartosz.

    The link works fine, only the way the info is displayed is not right.

    I am trying to use the templates that come with the plugin (not really expert enough to build my own) and ‘use default templates’ is enableld.

    #1043
    Bartosz
    Keymaster

    We’d like to take a look at the admin side. Can you provide us a temporary admin access? Just post a reply using Set as private reply option.

    #1044
    Heleen van den Bos
    Participant
    This reply has been marked as private.
    #1045
    Heleen van den Bos
    Participant
    This reply has been marked as private.
    #1046
    Bartosz
    Keymaster

    Ok, we just found a bug: Use default templates option is not working – we’ll have to push an update. It will let display the events using default templates included in your theme.

    But it would be best if you tried to copy the templates( included with the plugin) to your theme folder. Then you could make a modification of those files.

    Generally, the events are listed but because of the theme design, they are not displayed properly.

    #1047
    Heleen van den Bos
    Participant

    I might need some help with that. Can I just copy them, or do I have to make other adjustments to get it working? I can imagine I neet to modify the files to display the events listed. Do you have any tips as to what I need to adjust?

    (I just copied those files into a new folder ‘templates’ my theme folder ‘mantra_child’. I reloaded the page with the event, and nothing changed. I also tried putting the templates directly into the theme folder (‘mantra_child and ‘mantra’), but also no obvious change.)

    #1049
    Bartosz
    Keymaster

    Heleen, I was wondering how to explain you making ajdustments in the most simple way. Let’s try this:

    1. Find archive.php (which is for archives display) located in your theme
    2. Copy all the content of it, and paste it into archive-event.php (which is for events archive display) overwritting all the code that was there.
    3. Now you should have your events list displayed (here for example http://www.chair-man-hosting.nl/delta/evenementen/). But that list will not include any plugin specific details (like start, end dates, location, category etc.). You’ll need to add that to the archive-event.php in your theme folder.
    4. To do so go to templates located in plugin folder and open archive-event.php. Look at how different event details are created – there are comments in order to help understand what each part of code is reposible for
    5. Copy desired parts of code (for start, end dates, location, category etc.) from archive-event.php located in plugin folder into archive-event.php located in the theme folder.
    6. Now the event specific details should show up

    You should do the same for all the template files that you copied into your theme, for example single.php and single-event.php, taxonomy.php and taxonomy-event-location.php, and so on.

    #1050
    Heleen van den Bos
    Participant

    Thank you Bartosz, for the comprehensive explanation. It works: I now have an event list, and will start including the plugin specific details. Great to learn more this way!

    Heleen

    #1140
    Heleen van den Bos
    Participant

    Hi Bartosz.

    I tried, but I really don’t knwo enough of php to get it working (and at the moment can not free the time to learn it all). Do you think it might work for me in a future update? If so, I will gladly wait for that.

    (Regarding updates: I just updated to 1.0.5 and now the calender widget doesn’t display well; it is too ‘tight’. Shoul I open a new topic for that, or is it something very simple?)

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.