Chloe

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Next & previous event link on single event #1242781
    Chloe
    Participant

    Hi Cliff,
    Thanks for your answers, to answer your first post :
    If you look at this single event for exemple :http://www.crformation.fr/formations/formation-buraliste-continue-limoges/
    you will see on top & bottom of the page the .tribe-events-sub-nav : both linking to the previous and next event, chronnologically, but regardless of the event’s category. What I’m trying to do is to set up these specific links to target the next & previous events from the same category of the event displayed.

    I think I need to modify something in the function > links.php file but I don’t know what & where to add it

    	/**
    	 * Link to Previous Event (Display)
    	 *
    	 * Displays a link to the previous post by start date for the given event
    	 *
    	 * @param bool|string $anchor link text. Use %title% to place the post title in your string.
    	 *
    	 * @see tribe_get_prev_event_link()
    	 */
    	function tribe_the_prev_event_link( $anchor = false ) {
    		echo apply_filters( 'tribe_the_prev_event_link', tribe_get_prev_event_link( $anchor ) );
    	}
    
    	/**
    	 * Return a link to the previous post by start date for the given event
    	 *
    	 * @param bool|string $anchor link text. Use %title% to place the post title in your string.
    	 *
    	 * @return string
    	 */
    	function tribe_get_prev_event_link( $anchor = false ) {
    		global $post;
    
    		return apply_filters( 'tribe_get_prev_event_link', Tribe__Events__Main::instance()->get_event_link( $post, 'previous', $anchor ) );
    	}
    
    	/**
    	 * Link to Next Event (Display)
    	 *
    	 * Display a link to the next post by start date for the given event
    	 *
    	 * @param bool|string $anchor link text. Use %title% to place the post title in your string.
    	 *
    	 * @return void
    	 * @see tribe_get_next_event_link()
    	 */
    	function tribe_the_next_event_link( $anchor = false ) {
    		echo apply_filters( 'tribe_the_next_event_link', tribe_get_next_event_link( $anchor ) );
    	}
    
    	/**
    	 * Return a link to the next post by start date for the given event
    	 *
    	 * @param bool|string $anchor link text. Use %title% to place the post title in your string.
    	 *
    	 * @return string
    	 */
    	function tribe_get_next_event_link( $anchor = false ) {
    		global $post;
    
    		return apply_filters( 'tribe_get_next_event_link', Tribe__Events__Main::instance()->get_event_link( $post, 'next', $anchor ) );
    	}
    
    	/**
    	 * Get a link to the previous events
    	 *
    	 * @return string
    	 */
    	function tribe_get_previous_events_link() {
    
    		$link = '';
    
    		if ( tribe_is_upcoming() && ( ! empty ( $_REQUEST['tribe_paged'] ) && $_REQUEST['tribe_paged'] > 1 ) ) {
    			// if we're more than one page into the future, the previous link will be in the future as well
    			$link = tribe_get_upcoming_link();
    		} else {
    			$link = tribe_get_past_link();
    		}
    
    		return apply_filters( 'tribe_get_previous_events_link', $link );
    	}
    
    	/**
    	 * Get a link to the next events
    	 *
    	 * @return string
    	 */
    	function tribe_get_next_events_link() {
    
    		$link = '';
    
    		if ( tribe_is_past() && ( ! empty ( $_REQUEST['tribe_paged'] ) && $_REQUEST['tribe_paged'] > 1 ) ) {
    			// if we're more than one page into the past, the next link will be in the past as well
    			$link = tribe_get_past_link();
    		} else {
    			$link = tribe_get_upcoming_link();
    		}
    
    		return apply_filters( 'tribe_get_next_events_link', $link );
    	}
    

    Thanks,

    in reply to: Google map link #1220817
    Chloe
    Participant

    Hi Cliff,
    Thanks, works perfectly !
    For futur releases, you might want to check all wordpress.org adresses as well for the same changes 😉

    Best regards and thanks a lot for your help !

    in reply to: Custom fieldsets in woocommerce confirmation email #1185335
    Chloe
    Participant

    Hi Again,
    I just realized what went wrong and finally manage to install properly the plugin, that seems to be working just fine! 🙂

    Thanks a lot for your help,

    Best regards,

    in reply to: Custom fieldsets in woocommerce confirmation email #1185309
    Chloe
    Participant

    Hi Brook,
    In fact the fatal error was caused by a plugin conflict – I had the “The Events Calendar – Notify organizer of new attendees” installed, I deactivated the plugin and managed to activate the new one. I still have couple of trouble though

    For now, the custom fieldset infos only display on the ticket email that the client receives, not in the woocommerce order detail email that the admin receives…
    I did check the setting for the organizer to receive a duplicate of the ticket, but that’s not working for me either…

    Thans for al the help,

    Best regards,

    in reply to: Custom fieldsets in woocommerce confirmation email #1185155
    Chloe
    Participant

    This reply is private.

    in reply to: Custom fieldsets in woocommerce confirmation email #1178917
    Chloe
    Participant

    Thanks Brooks,
    indeed, debug mode was still active; After downgrading / disabling debug / upadating the plugins again, everything is working fine.
    I’ll leave the ticket open until you notice me about the addon for the fieldset, ok ?

    Thanks for all your help.

    in reply to: 4.3 update issue #1178915
    Chloe
    Participant

    Hi !
    Ok so as Brooks advised here : https://theeventscalendar.com/support/forums/topic/custom-fieldsets-in-woocommerce-confirmation-email/
    I indeed forgot to disable the debug mode.
    I downgraded then upadated the plugins and the notices are gone, the website’s behavior is just fine, so Problem solved I guess.

    Thanks for your help

    • This reply was modified 9 years, 6 months ago by Chloe.
    in reply to: Custom fieldsets in woocommerce confirmation email #1178335
    Chloe
    Participant

    Hi Brooks,

    Yes we’re talking about the built in custom field sets you pictured in your reply 🙂 As I said I’ve seen some users had develop a custom function to insert them in the woocomerce email, but it only seems to work if one custom fieldset is set through all tickets ; I have several and my short technical knowledge prevent me from making it work.

    So yes, if you are working on an add-on that will allow me to pass all those info in the woocommerce emails, that would definitely worth to wait for it for a few days !

    I just hope i’ll be able to install the add on without problems, I have an issue while trying to upgrade to versions 4.3 of event ticket and event ticket +, see here : https://theeventscalendar.com/support/forums/topic/4-3-update-issue/

    Best regards ,

    in reply to: wrong date for tickets ( recurring events) #1165881
    Chloe
    Participant

    Hi Brooks,
    Thanks for your answer.

    I must say that I’m a bit disapointed here. Understand that I asked a lot of pre sales questions regarding reccuring events and under no circumstances I was told clearly that I would encounter such problems, which I did, the hard way. I’m sure even though the tech behind it is quite complex, and that no easy fix exist at that point, that you understand my point of view : it’s just common sense to expect this simple feature for recurring event. For my part I don’t understand why Modern tribe released such a feature if it was not fully functionnal. Reccuring events are pretty simple in fact : same thing, different date. If you book for a different date you would expect it to show on your ticket.

    Any way, I made few research this week end and figured this would be your answer, so I already broke down all my series and create specific ticket for each event. It’s not so much of a hassle and my website will do just fine with this in place, I just feel like I’ve been lied to, and this really sucks.

    I hope modern tribe will make this feature fully functionnal soon, and sincerly hope you’ll clarify your offers in presales. You’ll maybe miss a few sales, but at least your customer will know exactly what they will buy.

    Best regards,

    in reply to: quantity input selector (wootickets) #1159905
    Chloe
    Participant

    Hi,
    Ok thanks for the info !

    in reply to: template override #1135390
    Chloe
    Participant

    yes, the path is correct and working !
    thanks,

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