Is there a text limit? adding links to an event suddenly vanishes

Home Forums Calendar Products Events Calendar PRO Is there a text limit? adding links to an event suddenly vanishes

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #44900
    epratt
    Participant

    So I’m creating links to products via the events page. Links are for time slots to an existing race option. Each hour from 9am to 5pm. Works fine up until I link 2pm, after that the whole post doesn’t show in the event. the page is hidden so you’ll have to enter it http://kartwithrusty.net/events/
    this is what the final code was if this helps
    Choose a Time Slot to see available Racing Packages

    9AM | 10AM | 11AM | 12PM | 1PM | 2PM | 3PM | 4PM

    #44903
    epratt
    Participant

    oops sorry didn’t mean to actually link everything there, was trying to just show you the code I had in when it stopped working

    #44907
    Jonah
    Participant

    Hi epratt,

    Can you please post the code to http://snippi.com/

    Thanks,
    Jonah

    #44908
    epratt
    Participant
    #44919
    Jonah
    Participant

    Hi epratt, and where are you entering this code?

    #44922
    epratt
    Participant

    I choose edit event, select the event and in the editor the main post section above the events calendar. The typical spot you do a post in a normal wordpress page.

    #44957
    epratt
    Participant

    Morning Jonah, Have you had any luck? I have to finish this site and go live next week. If the events in the calendar pro aren\’t going to be able to show the time slots with links then i\’m going to have figure out another method of showing it ASAP. Thanks in advance for any help you can give me! -Eric

    #44970
    Jonah
    Participant

    Hi epratt,

    Putting this into a single event works fine for me if I put it in Text mode (not Visual mode). Have you tried that? I’m not sure what else to have you try, it’s not an issue with our plugin, it’s either your code or the way you’re putting it in. I would actually suggest adding this to events/posts via PHP so that you don’t need to put it in each event. You could do this by modifying the /wp-content/plugins/the-events-calendar/views/single.php file – make a copy of that and place in an ‘events’ folder in your theme. Then between lines 107-109 is where you could put your code. That way it will automatically show for all events without having to manually add it to all of them.

    Does that help?

    #44977
    epratt
    Participant

    If I was to add it to the single.php how would I go about linking them to each specific product? The products are not static in the sense of it’s only those 8 race options. The product is actually the specific day and the race packages are the variables. So Each event would have different links to different products for each hour if that makes sense. If I was to edit the single.php adding that code wouldn’t the links be the same for each event? Let me know if I’m completely wrong on that.

    -Eric

    #44978
    epratt
    Participant

    Hi Jonah, Ok so I just went the straight ahead route and added buttons with the links and that worked. There has to be something with the plugin and something i have running on here that is not working right. I was also losing the google calendar button as well. Plus in my custom field drop downs I never see the option for URL which I read should be an option. Don’t know and at this point the button option works and I’m going with that, time is not on my side 🙂

    Thank you for your help!
    -Eric

    #44995
    epratt
    Participant

    Google calendar import button vanishing. Weird but where is the code for that function located? I’ll manually add it to the lists page. I found the code for adding a single event on the single.php page but adding that to lists.php only allowed me to import 1 event instead of importing the whole calendar.

    #45023
    Jonah
    Participant

    Hi epratt,

    You’re right, adding the code to single.php would not be a viable option if you need the links to be different. There’s other ways you could still do this dynamically but that’s beyond what I can help you with here.

    There is no URL field yet, it’s coming in 3.0.

    Did you need any other help here?

    – Jonah

    #45026
    epratt
    Participant

    The only thing is the add to google calendar button seems to be gone at the bottom of the lists page and the calendar view page. It shows on the individual event page, but I thought I saw it on the those other pages so you could import the whole calendar into google. Am I mistaken on that and there isn’t a button for that? The button has been vanishing on me at times depending on what I put in the post part of an event. Also if I put anything in the excerpts box it makes everything I put in the post part vanish. I don’t know if it’s a bug or the excerpts has priority. It would be nice to put my buttons in the post part and some info about the event in the excerpts.

    #45224
    Jonah
    Participant

    Hi epratt,

    No, there is no Google Calendar import for the event list or calendar pages. You would need to add this yourself. It should always show on single events though but there may be something in the code you are putting into each event that is conflicting with it. If so, I would need a specific example where you put in code and the button is not showing so I can troubleshoot.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Is there a text limit? adding links to an event suddenly vanishes’ is closed to new replies.