Support

Home Forums Event Espresso Premium I need to show calendar dates as a single horizontal bar on home page: how?

I need to show calendar dates as a single horizontal bar on home page: how?

Posted: January 26, 2015 at 4:46 am


JimByrne

January 26, 2015 at 4:46 am

Hi, I’m developing a site and the visual design shows the event dates as a single horizontal bar across the home page. It’s a bit like on this site : http://www.operaroma.it/ita/index.php

The difference being that the horizontal bar of dates would be hovering over the main full width image

So basically each date will link to the event that happens on that date. And there will be a way of indicating if the date has an event or not. Event if there are no events the date bar must still display.

Is this possible?

Assuming it is – how? Is it possible without specialist help?

I am happy to engage a developer to create this feature – if it’s something that I can’t easily create myself. I would first develop the HTML/CSS template for the home page – and then the developer would need to pull the event dates from the database to populate the horizontal date bar.

I have the latest version of WordPress and I’m using EventEspresso Version 3.1.36.6.P and the Calendar plugin and Custom Template Display plugin.

The site I am developing on is not on the domain it will end up on – so I have not yet updated the license key.

Any help is appreciated,
Jim


JimByrne

January 26, 2015 at 5:34 am

I have already tried experiment with the custom template plugin – by creating a new template by copying the existing custom template folder and file into the theme folder and renaming both the folder name and the template.php file. Nothing shows up on the page when I use the custom template short code.

I renamed the template.php file (and left the index.php as it was) – as I assume that is what the instructions mean (even though the fact that there are two files in the folder isn’t mentioned). When it didn’t work in the theme folder I then tried it in uploads folder (i.e. uploads/espresso/templates/my-custom-template/my-custom-template.php) but that didn’t work either; I just get a blank area where the events should be.

I used the names that are provided in the example – just to try to get it to work – so both the folder and the file were named my-custom-template. And the shortcode use was:

[EVENT_CUSTOM_VIEW template_name=’my-custom-template’ ]

Got nothing showing on the page.

What am I missing?

Thanks,
Jim


JimByrne

January 26, 2015 at 5:45 am

I should just say that if I don’t provide the template_name parameter I do get the events information showing on my page; the the issue is related to Expresso/Wordpress not being able to display/read the custom template when it is moved to a different location.

So it works if I just have [EVENT_CUSTOM_VIEW]
Jim


Dean

January 26, 2015 at 7:45 am

Hi,

Copy the template folder from /wp-content/plugins/custom-templates over to wp-content/uploads/espresso/templates/

Rename the folder you just copied to the name you will use, e.g. example

in the index.php found in that folder, change the instances of events_table to example.

Then use the shortcode [EVENT_CUSTOM_VIEW template_name=’example’]


JimByrne

January 26, 2015 at 12:03 pm

Hi,

Thanks.

It would be an idea to add that information to the documentation – so the next person doesn’t have to ask on the forum.

You could add, ‘do a find and replace in the index.php file’.

Re: developing the feature I mentioned in my original post.
I have now got the custom template working – but I’m going to need a developer to take that and figure out how to use it to develop the calendar feature I need. Can you point me to a source of Event Espresso developers?

Thanks,
Jim


Lorenzo Orlando Caum

  • Support Staff

January 27, 2015 at 11:50 am

Hi there Jim,

We’ll get that part of the documentation rewritten this week so its more clear.

We have a list of Event Espresso professionals here:

https://eventespresso.com/developers/event-espresso-pros/


Lorenzo

The support post ‘I need to show calendar dates as a single horizontal bar on home page: how?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso