Support

Home Forums Event Espresso Premium Calendar Table

Calendar Table

Posted: February 3, 2014 at 1:02 pm

Viewing 10 reply threads


Suhaib Siddiqi

February 3, 2014 at 1:02 pm

I purchased Calendar Table Template Add-on. I added the shortcode [EVENT_CUSTOM_VIEW template_name=”calendar-table” show_featured=false] It is showing event description, which I do not want. I want to display exactly as in the picture on the Calendar Table demo page.
I noticed lack of proper documentation!!!
Here is a site link. It looks screwed up with this Add-on.
http://bostondesiconnection.com/view-events/


Josh

  • Support Staff

February 3, 2014 at 3:07 pm

Hi Suhaib,

Thanks for the feedback. The event descriptions are displayed by default, but if you’d prefer to not display descriptions, the code that displays it can be removed from the calendar table’s index.php template, which is on line 137:

<?php echo espresso_format_content(array_shift(explode('<!--more-->', $event->event_desc))); //Includes <p> tags ?>


Seth Shoultes

  • Support Staff

February 3, 2014 at 3:13 pm

Please note: There is a closing table tag </td> located on that line as well. Please leave that tag intact.


Suhaib Siddiqi

February 3, 2014 at 3:20 pm

Dear Seth,
Which </td> tag? I do not see it and I removed no tags. I used following shortcode [EVENT_CUSTOM_VIEW template_name=”calendar-table” show_featured=false]


Suhaib Siddiqi

February 3, 2014 at 3:22 pm

Dear Josh,
Thanks for help. Editing code at line 137 did it. I wish there was a shortcode to enable and disable it instead of editing php code.

BUT, now when I click on Register picture nothing happen.


Sidney Harrell

February 3, 2014 at 3:31 pm

Under EE->General Settings->Page Settings, what do you have set for ‘Main registration page:’? Does that page have the ESPRESSO_EVENTS shortcode?


Suhaib Siddiqi

February 3, 2014 at 3:45 pm

Hi Sidney

The “Main Registration Page” has “View Event” and the View Event page has this shortcode [EVENT_CUSTOM_VIEW template_name=”calendar-table”]
I do not believe this is the issue. If I put only [EVENT_VIEW] shortcode. Everything works fine in old fashion way, not Calendar Table displayed.


Suhaib Siddiqi

February 3, 2014 at 3:47 pm

Sory [EVENT_View] should be [ESPRESSO_EVENTS]


Josh

  • Support Staff

February 3, 2014 at 3:54 pm

Hi Suhaib,

It looks like the issue that you’re reporting now is from the Main Registration page setting being incorrectly pointed to the view events page. The main registration page setting needs to point to the page that has the [ESPRESSO_EVENTS] page.


Suhaib Siddiqi

February 3, 2014 at 4:03 pm

Hi Josh,

Thanks. I though that [EVENT_CUSTOM_VIEW template_name=”calendar-table” show_featured=false] can be used instead of [ESPRESSO_EVENTS]. I think, a better document or at least a detail README file would have been helpful.

Now clicking on Register take to Registration page. Is it possible to use Add to Cart instead of Register Now on Calendar Table Template.


Josh

  • Support Staff

February 3, 2014 at 4:13 pm

Hi Suhaib,

We tried to make it very clear in the documentation that you cannot replace [ESPRESSO_EVENTS] with any other shortcode.

https://eventespresso.com/wiki/the-basic-settings/#page
https://eventespresso.com/wiki/shortcodes-template-variables/
https://eventespresso.com/wiki/troubleshooting-event-espresso/#registration
https://eventespresso.com/wiki/custom-template-add-on/#cel_how_work

Is it possible to use Add to Cart instead of Register Now on Calendar Table Template.

Not out of the box, but if you’re handy with PHP you can compare the code that’s in the default event_list_display.php template and copy over/alter the code that makes the add to cart link for the default template work in the custom template.


Seth Shoultes

  • Support Staff

February 3, 2014 at 4:26 pm

The </td> tag was in the PHP code that was on line #137 that Josh told you to remove.

  • This reply was modified 10 years, 9 months ago by Seth Shoultes.


Suhaib Siddiqi

February 3, 2014 at 4:58 pm

Thanks everyone

Viewing 10 reply threads

The support post ‘Calendar Table’ 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