Home › Forums › Ticket Products › Community Tickets › Unique HTML for Events
- This topic has 6 replies, 3 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
April 13, 2016 at 1:34 pm #1102123
Nora
ParticipantHello,
I have filled in Display –> Advacned Template Settings –> Add HTML before event content for my general calendar landing page. However, this content is then duplicated when someone is taken to a page to Add an Event. How can I make it so that this content does not show on the Add an Event page and only on the Events landing page?
Thank you.
April 13, 2016 at 1:39 pm #1102126Nora
ParticipantI also cannot find how to change the sidebar on the Add an Event page, there is not option for this on the Community tab. http://www.centralcoastmama.com/events/community/add
April 13, 2016 at 1:42 pm #1102128Nora
ParticipantThis first question also goes for the confirmation page once an event is submitted. The URL does not change, it stays as http://www.centralcoastmama.com/events/community/add/.
I’d like it to go to a unique page for http://www.centralcoastmama.com/events/community/confirmation where I can include unique content, the Edit submitted event option and the Submit another event option, with a custom sidebar.
Is this doable?
April 14, 2016 at 7:22 am #1102438Cliff
MemberHi Nora.
Please reference this plugin to easily redirect to a different page upon adding a new event.
As for the custom HTML being added, you could add this CSS to hide that content on the Community Events form’s page:
body.tribe_community_edit .tribe-events-before-html { display: none; }As for the sidebar/widgets question, here’s a quick way to remove the sidebar via CSS (not the ideal way to do it but doesn’t require any PHP customizations):
body.tribe_community_edit .eltdf-column1 { width: 100%; } body.tribe_community_edit .eltdf-column2 { display: none; }You can add custom CSS code via your child theme’s style.css file or via a plugin like Simple Custom CSS or, my favorite, Jetpack. Jetpack supports regular CSS and the LESS and Sass pre-processors.
If you’re not a CSS expert, Jetpack’s Custom Design reference may prove helpful.
Please let me know how it goes for you.
April 14, 2016 at 2:06 pm #1102730Nora
ParticipantThank you, but what if for
1. Custom content on Community Events form’s page, I didn’t want to hide content but instead write new content. Is that doable?
2. For the sidebar/widgets question, I’d still like a sidebar/widget to show (it’s titled Sidebar – Events). Is this possible or do I have to remove the sidebar altogether?
Thank you.
April 14, 2016 at 3:22 pm #1102750Cliff
Member- You could hook into the tribe_events_community_form_before_template action to display something custom below the top links: http://cl.ly/0l032x3F0j3e
- You’d need custom coding to get custom widgets to appear just on the Community Events page.
If you need some coding help, you may want to ask your developer or reference our list of known customizers.
April 29, 2016 at 9:35 am #1108845Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Unique HTML for Events’ is closed to new replies.
