tradingbo

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • tradingbo
    Participant

    Hi Andras,

    Thanks, I definitely think it’s a feature worth developing.
    That link contains the same info as the one I posted from 2015 but thank you anyway.

    Do you guys have working javascript/ajax ‘add-to-cart’ functionality on Tickets with other platforms?
    If so could you possibly recommend a few?

    Thanks, Oli

    in reply to: ECHO LIST OF ALL ECP EVENT TITLES BY CATEGORY? #1351907
    tradingbo
    Participant

    Brilliant, thanks for the quick response!

    tradingbo
    Participant

    Also removed <span> as this is now redundant

    tradingbo
    Participant

    Apologies managed to resolve issue by reverting to $events as $event in the loop.
    Amended code to…

    			<?php
    // Ensure the global $post variable is in scope
    global $post;
     
    // Retrieve the next 5 upcoming events
    $events = tribe_get_events( array(
    	'post_status'=>'publish',
    	'eventDisplay'   => 'list',
        'posts_per_page' => 6
    
    ) );
     
    // Loop through the events: set up each one as
    // the current post then use template tags to
    // display the title and content
    foreach ( $events as $event ) {
        setup_postdata( $event );
     
        // This time, let's throw in an event-specific
        // template tag to show the date after the title!
            
            echo '<li><a><span>'.get_the_title( $event->ID ).'</span></a>';
            echo tribe_get_start_date( $event->ID, false, 'j<\s\u\p>S<\/\s\u\p> F Y', "</li>" );
    
            } 
            
            ?>

    Thanks

    in reply to: ECHO LIST OF ALL ECP EVENT TITLES BY CATEGORY? #1350672
    tradingbo
    Participant

    Hi Barry,

    That’s brilliant, thank you! Should be enough to work from.

    Is there perhaps a link you can provide with a list of all the ECP specific filters that can be called?

    I.e tribe_get_events , tribe_get_organizer

    Many Thanks!

    • This reply was modified 8 years, 6 months ago by tradingbo.
    in reply to: Embed Video in Iframe dynamically via PHP? #1336688
    tradingbo
    Participant

    * Faceslap* Jennifer thank you, works perfectly now!

    Totally missed the obvious there, thanks again for the support, page is looking great now!

    in reply to: Embed Video in Iframe dynamically via PHP? #1334957
    tradingbo
    Participant

    Hi Jennifer,

    Thanks that is definitely a step in the right direction! <Iframe> now recognises the src=”” as what is inputted in the “Video” field via <?php $url = $url["_ecp_custom_10"][0];?> However still not displaying properly?

    Doesn’t seem to be a CSS or markup issue within the theme so bit baffled by why it’s not displaying.

    Here’s how the markup on the front end looks with the edits you suggested:

    in reply to: Embed Video in Iframe dynamically via PHP? #1332993
    tradingbo
    Participant

    Hi Jennifer,

    Thanks for the response! With the above the iframe still doesn’t seem to recognise the URL
    as it’s src=”” or is displaying it improperly. The <iframe> is rendering in the markup but this time without any content( before It was a frame of the websites homepage).

    I’ve attached a screenshot of how the markup looks with the above code on the backend and front end, seems like the iframe still isn’t recognising the additional field as a URL.

    Have tried making multiple additional fields for this so pretty sure it’s not the ‘Video’ additional field we created.

    tradingbo
    Participant

    Hi Geoffe,

    Thanks for the detailed response this seems to have helped a lot! Also taught me some much appreciated CSS wisdom for which I am v grateful, managed to cut a lot of the !important out and looking a lot cleaner now.

    Many Thanks,

    Oli

    tradingbo
    Participant

    Hi Geoff,

    It’s Oli, name on account is Michael but i am the one designing the plugin for us.

    Yeah i figured, it looks like you guys are having a hectic time on the forum recently!

    Re: specificity I’ve tried to target more accurately as you suggest and this seems to be working in my tribe.events.css. For example to target: .tribe-events-event-image a img effectively it seems you only need to add div.tribe-events-event-image a img to get around the !important rule.

    However for other classes such as .tribe-events-photo-event-wrap it seems required to target via parents 3 levels above eg div.tribe-events-loop div.type-tribe_events div.tribe-events-photo-event-wrap.

    This is more heavy lifting that I was hoping for, are there any rules/exceptions to keep in mind when working out how specific we need to be with certain elements Geoff?

    Or for the sake of much shorter (if a bit dirty) code, for performance, would it be better to simply bear the use of the !important rule and target classes directly?

    Many Thanks,

    Know you guys are busy and really appreciate the response

    Oli

    tradingbo
    Participant

    Hi Guys,

    Just pinging this as still an active issue. Have created a new tribe-styles.css on my server and css is taking effect but only with !important rule. Is there a way to force my new stylesheet to load AFTER the default tribe plugin styles so we don’t have to rely on !important for every edit?

    Many Thanks,

    M

    in reply to: FATAL ERROR WHEN UPDATING EVENTS #1326845
    tradingbo
    Participant

    Hi Victor,

    Thanks for the response, it seems the issue was resolved in the Version 4.4.15 update yesterday.
    Prior to that it seemed however that it may have been an internal conflict with the *Piklist Plugin.

    Thanks again,

    M

    tradingbo
    Participant

    Hi just to amend the above,

    Managed to get the theme to recognise the new /tribe-events/tribe-events.css
    Issue was a silly mistake, I named the new folder on my server /tribe-events , obviously the forward slash was not required.

    However any additional CSS in this new stylesheet still isn’t overriding the default styles without the use of !important

    I’m still slightly baffled as to why this is, as the support documentation clearly states that the new tribe-events.css file will be loaded after the default events stylesheets.

    Still look forward to hearing from you

    Many Thanks, Oli

Viewing 13 posts - 1 through 13 (of 13 total)