Unique HTML for Events

Home Forums Ticket Products Community Tickets Unique HTML for Events

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1102123
    Nora
    Participant

    Hello,

    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.

    #1102126
    Nora
    Participant

    I 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

    #1102128
    Nora
    Participant

    This 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?

    #1102438
    Cliff
    Member

    Hi 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.

    #1102730
    Nora
    Participant

    Thank 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.

    #1102750
    Cliff
    Member
    1. You could hook into the tribe_events_community_form_before_template action to display something custom below the top links: http://cl.ly/0l032x3F0j3e
    2. 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.

    #1108845
    Support Droid
    Keymaster

    This 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Unique HTML for Events’ is closed to new replies.