Support

Home Forums Event Espresso Premium How to Use Custom Templates Add-on

How to Use Custom Templates Add-on

Posted: December 3, 2013 at 10:05 am


John Fineberg

December 3, 2013 at 10:05 am

I’ve been trying to figure out how to use “Custom Templates Add-on” to make my list of classes look more like the first template on this page, https://eventespresso.com/product/custom-templates, rather than what you see on my pages, for instance, http://www.cpr-twincities.com/community/combo. Here’s the code I currently have on that page: [EVENT_ESPRESSO_CATEGORY event_category_id=”special-combo-deals-1330119689″]. What do I need to add to my code — and where do I need to place it — to get your look on my pages?

I’m using WP version 3.7.1 and EE version 3.1.36.P.


Josh

  • Support Staff

December 3, 2013 at 12:18 pm

Hi John,

The shortcodes that are available to use with the custom templates add-on are listed in the documentation which can be found here:

https://eventespresso.com/wiki/custom-template-add-on/

Hope that helps!


John Fineberg

December 3, 2013 at 1:00 pm

Hi, Josh. I’ve already been to that page and read it, but it didn’t help me. I added what I thought it was saying, but all it did was add text that was visible to site visitors: [EVENT_CUSTOM_VIEW template_name=”calendar-table”]. So I need more specific instructions as to what to add or what to substitute. ~ John


Josh

  • Support Staff

December 3, 2013 at 1:40 pm

Hi John,

It looks like you don’t have the calendar-table add-on installed. So how that works is, if you have the Custom Template Display plugin active you place this on a page:

[EVENT_CUSTOM_VIEW]

in order to display any of the other views (like the calendar-table) you will need to install the calendar table plugin in addition to the Custom Template Display plugin.


John Fineberg

December 3, 2013 at 2:41 pm

Okay, progress. I’ve purchased and activated the add-ons. And I can see what I’ve added on the page. Now how do I format it to look like what you’ve posted on your site?


David Oralevich

December 3, 2013 at 2:50 pm

Hi…sorry to be jumping in on this…but i’m looking to do the same thing, similar issues. Where can I find the Calendar-table plugin? and where exactly do I install it?


Josh

  • Support Staff

December 3, 2013 at 3:18 pm

Hi John,

Which template are you trying to use?

@david, in the future, please start a new thread. You buy the calendar template here:

https://eventespresso.com/product/calendar-table/

It installs as a WordPress plugin.


David Oralevich

December 3, 2013 at 3:27 pm

Sorry, and thank you! http://motmwp.doralevich.com/event-registration/


Josh

  • Support Staff

December 3, 2013 at 3:58 pm

You’re welcome, David.


John Fineberg

December 3, 2013 at 9:10 pm

I’m trying to use “Calendar Table.” I’d like to change “Band/Artist” to “Classes,” and “Tickets” to “Register.” Other than that, I think I want all of the information shown in the template on your site (https://eventespresso.com/wiki/custom-template-add-on/#calendar) and the same information I’ve been showing before the new add-on (which is still below the new template on my page http://www.cpr-twincities.com/community/combo).


Dean

December 4, 2013 at 4:11 am

Hi John,

Changing Band/artist is really easy, just use this shortcode

[EVENT_CUSTOM_VIEW template_name=”calendar-table” change_title=”Classes”]

The Tickets doesnt have a parameter currently, I’ll see if we can add one in. In the meantime you would have to edit the template to make that change


John Fineberg

December 4, 2013 at 8:14 am

Dean, I made the change you gave me, and that did, indeed, change Band/Artist to Classes. Thank you. But the rest of it is a mess: Here’s what I’m currently using:

[EVENT_CUSTOM_VIEW template_name=”calendar-table”]
[EVENT_CUSTOM_VIEW event_category_id=”special-combo-deals-1330119689″]
[EVENT_CUSTOM_VIEW show_featured=true]
[EVENT_CUSTOM_VIEW template_name=”calendar-table” change_title=”Classes”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”special-combo-deals-1330119689″]

I keep adding and subtracting code, but I’m not getting very far. Not yet.

Here are the current problems:

1) I only want a particular set of classes to show up. That would be this parameter: <“special-combo-deals-1330119689”>. But I’m getting everything, so I want to limit that.

2) I want the class address to show up.

3) The day, the date and the month (in the left column) are all on top of each other, making it unreadable.

In short, I’d like it to look like your template, not a mess, like it is right now (though I have made some good progress). If I could send you a screen shot of the particular part of your page, that might make it easier, as I don’t think you’re seeing what I’m seeing.


John Fineberg

December 4, 2013 at 8:16 am

P.S. In the end, once I get this looking like your template, then I’ll want to delete the blue listings at the bottom. I think that’s this code:

[EVENT_ESPRESSO_CATEGORY event_category_id=”special-combo-deals-1330119689″]


John Fineberg

December 4, 2013 at 10:10 pm

I’ve continued to experiment with coding. Here’s what I have now:

[EVENT_CUSTOM_VIEW event_category_id=”special-combo-deals-1330119689″ template_name=”calendar-table” change_title=”Classes”]

[EVENT_ESPRESSO_CATEGORY event_category_id=”special-combo-deals-1330119689″]

The first section of code is the new template. The second section is the old format (that I’m leaving in until I get this resolved). Little by little, it’s improving.


Dean

December 5, 2013 at 3:24 am

Hi John,

OK, lets go through these.

1) I only want a particular set of classes to show up. That would be this parameter: <”special-combo-deals-1330119689?>. But I’m getting everything, so I want to limit that.

[EVENT_ESPRESSO_CATEGORY category_identifier=”special-combo-deals-1330119689″]

That’s the correct shortcode. Basically as well as the special parameters for each template, every template can use the EVENT_LIST shortcodes as well.

2) I want the class address to show up.

These should show up automatically so long as you are using the Venue Manager for the venues (which is the preferred way)

3) The day, the date and the month (in the left column) are all on top of each other, making it unreadable.

There is some theme CSS interferring with the template. Adding the following CSS to the bottom of your themes style.css or to a plugin like My Custom CSS should resolve it


p.cal-day-num {
margin-bottom: 31px;
/*line-height:60px*/
margin-top:20px !important;
}

.dater span {
margin-top:10px !important;
}

p.cal-day-title {
margin-bottom:0;
}


.td-event-info p:nth-child(3) {
margin: 0;
}
  • This reply was modified 10 years, 5 months ago by  Dean. Reason: modified the code


John Fineberg

December 5, 2013 at 8:14 am

Thanks again, Dean. When I went to bed last night, it occurred to me why the location wasn’t showing up. For some reason, the person who developed my site set it up with the address entered in an unconventional way. I can’t remember the reason, but I think it was intentional. However, at least now I know why it’s not showing in Calendar Table, and know how to remedy it. As for the calendar icon, I entered the code you gave me in My Custom CSS, but it had no effect.

Unfortunately, this is taking too much of my time, so I think I’m going to pull the plug on this project and just go back to my previous layout (without the Custom Templates Add-on). Thank you for trying anyway. As always, I appreciate your help. If there’s any way I can get a refund on the purchase of the Custom Templates Add-on (which I bought just a couple of days ago), that would be nice, as I won’t be using it.

One more question while I have you here. As I didn’t set up the site originally, can you tell me if the ID “1330119689” means anything, or if I can change it to something simpler for me to recognize, like “combo-classes”?


Dean

December 6, 2013 at 3:45 am

Hi John,

I’m sorry that it wasn’t suitable for your needs. Our refund policy is outlined here https://eventespresso.com/support/terms-conditions/ but I will refer this to the Sales dept. for their input.

The ID 1330119689 is probably referring to the unique id generate by the system, it normally has something before it such as the category name or event name.

The event id can be modified, but it will always have a generated number like 1330119689 after it.

The category ID can be modified and will keep the modification you make making it easier to type in, like so http://d.pr/i/EMVE


Josh

  • Support Staff

December 12, 2013 at 5:37 pm

There is an update available now (v.1.1) that includes a fix for this issue:

3) The day, the date and the month (in the left column) are all on top of each other, making it unreadable.


John Fineberg

December 13, 2013 at 4:27 pm

Thanks, Josh. That update did the trick for making the calendar look right.

Now back to one of my other problems, having the address show up. Here’s what I’m getting on the one page I’ve tried (scroll down on http://www.cpr-twincities.com/community/cpr):

When: January 4, 2014
Where: , ,
Price: $89.00

11:30 am – 4:00 pm

Although I don’t know what the “Venue Manager” that Dean was referring to is, I have the address written in two places, and neither one of them is appearing:

Physical Location
Address:
1040 S. Cleveland Ave.

Address 2:
St. Paul, MN 55116

City:
St. Paul

State:
MN

Zip/Postal Code:
55116

Any ideas?


Josh

  • Support Staff

December 16, 2013 at 12:51 pm

Hi John,

The venue manager will appear after you go into Event Espresso>General Settings set “Use the Venue Manager” to Yes. After you enable the Venue manager you’ll be able to create new venues and assign events to those venues so the address info displays on the calendar event list table.


John Fineberg

December 16, 2013 at 2:09 pm

That worked well, Josh. I now have registration looking good on all of the pages. But when I click on Register Now, I still get the old formatting. Here’s an example:

http://www.cpr-twincities.com/community/register?ee=226

What do I need to change in this code?

[ESPRESSO_EVENTS]

In case you need to know this, here’s the code I’m using on the previous page:

[EVENT_CUSTOM_VIEW template_name=”calendar-table” change_title=”Classes” event_category_id=”pub”]


Josh

  • Support Staff

December 16, 2013 at 3:40 pm

Hi John,

It turns out that the Custom Templates add-on only formats the event list. The main registration page where you fill out the registration form stays the same.

You can change the Themeroller color scheme so it matches the calendar table template’s color scheme. I checked and Blitzer has a very similar color scheme.

You can try the “Blitzer” theme by going into Event Espresso>Template settings and change it from “Start” to “Blitzer” in the ThemeRoller Style selector box.


John Fineberg

December 16, 2013 at 4:10 pm

Thank you, Josh. That looks better.


John Fineberg

December 17, 2013 at 12:03 pm

It looks like we have a problem. Someone who tried to sign up for a class just sent me this note:

“For some reason, when I click that link and click “register now!” it sends be back to the page listing all Jan classes.”

I went in and found that she’s right. What’s causing that? Please let me know what to do — quickly — as no one can sign up for any of my classes the way it is right now.

Thanks!


Josh

  • Support Staff

December 17, 2013 at 12:11 pm

It looks like the [ESPRESSO_EVENTS] shortcode was removed and replaced with something else on this page:

http://www.cpr-twincities.com/community/register

If you go to edit that page and remove the custom view shortcode and place [ESPRESSO_EVENTS] back the way it was before it will work again.


John Fineberg

December 17, 2013 at 12:48 pm

Josh, here’s some of the code I’ve saved in TextEdit. Maybe you can tell me what belongs there and what does not, so that the changes that you and Dean and I been working on together to get the calendar add-on to work properly, and also so we get the registrant to the right page. Here’s what I currently have in there:

[EVENT_CUSTOM_VIEW template_name=”calendar-table” change_title=”Classes” event_category_id=”professional-training-1330119554″]

And here’s what I think I took out of there:

[EVENT_ESPRESSO_CATEGORY event_category_id=”professional-training-1330119554″]

Although I’m not sure anymore, but I don’t think that [ESPRESSO_EVENTS] was even on that page before. Where does it fit in the mix of all that code?

Just so you can see, here’s one of several pages that all have the same problem:

http://www.cpr-twincities.com/community/bls


Josh

  • Support Staff

December 17, 2013 at 2:28 pm

Hi John,

The page set as the main registration page (which on your site is:

http://www.cpr-twincities.com/community/register

needs to have [ESPRESSO_EVENTS] in order for the Event Espresso plugin to function as expected. [ESPRESSO_EVENTS] needs to be there in order to process the registration.

The other pages like this one:

http://www.cpr-twincities.com/community/cpr

are okay in that they have the custom event view shortcode. Do you see how when you click on any event on the /cpr page, it takes you to /register?ee= ? Normally a registration form will display on the /register page, but it can’t because the wrong shortcode is on that page. The correct shortcode for the /register page is [ESPRESSO_EVENTS]


John Fineberg

December 17, 2013 at 2:55 pm

Okay, that works on all of the subpages, but the custom calendar disappears on the mail registration page:

http://www.cpr-twincities.com/community/register

Is it not possible to have the calendar add-on on all registration pages?


Josh

  • Support Staff

December 17, 2013 at 3:07 pm

The calendar cannot be placed on the main registration page. It does more than display a list of events, it processes the registration. If you want the /community/register/ page to display the calendar table, you can follow these steps:

1) Create a new page.
2) Place the [ESPRESSO_EVENTS] shortcode on it.
3) Go to Event Espresso>General Settings and change the main registration page setting so it points to your new page.
4) Save the Settings.
5) Now you can change the shortcode on the /community/register page to display a custom event list table.


John Fineberg

December 18, 2013 at 1:28 pm

I haven’t tried yesterday’s instructions yet, but thought I’d pass on what I just posted on my Facebook page:

“Looking for excellence in technical support for website plug-ins? I have found the online staff at Event Espresso to be outstanding. https://eventespresso.com/

Please pass this compliment on your boss. You guys are great!


Josh

  • Support Staff

December 18, 2013 at 7:26 pm

Thanks John, will do.


Seth Shoultes

  • Support Staff

December 18, 2013 at 7:53 pm

Thanks John! We appreciate it.


John Fineberg

December 19, 2013 at 1:53 pm

Everything is working, and working well. Thanks, everybody, for all your help.

Please make sure Dean gets yesterday’s message, too. You guys are all stars!

The support post ‘How to Use Custom Templates Add-on’ 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