Is there a simple way of linking [Events] to [Posts] ?

Home Forums Calendar Products Events Calendar PRO Is there a simple way of linking [Events] to [Posts] ?

Viewing 15 posts - 16 through 30 (of 35 total)
  • Author
    Posts
  • #121333
    driftwood
    Participant

    Yes, but you only have the choice of a default page template or default Events template. How do show other templates? I need different colour backgrounds for different categories in my posts/events. Also I will still have to copy all my posts to pages if we could utilise multi templates based on themes?

    #121337
    Brook
    Participant

    Shucks! If your theme uses separate WP Page templates for its various templates then they will all show up there. But if it instead just uses one template and relies on conditionals like is_page(), then you can only select that one template. As I said it depends “on how your theme is designed”, and your theme is not designed using WP Page Templates 🙁 . Your only option is to hook into that filter and add the programming logic you need as I outlined in the past few posts. I wish there was an easier route. For what it’s worth I have racked my brain to come up with one.

    – Brook

    #121339
    driftwood
    Participant

    Looking in theme settings there is only one page template (page.php).

    Just going to try your url idea…

    #121344
    driftwood
    Participant

    Trying to do page link in

    In Location section of custom fields it has Rules;-
    Create a set of rules to determine which edit screens will use these advanced custom fields
    Ive checked Page Link relationship.
    post type is set as ‘tribe vents’.
    So I put in the Locations Rule to Show this field group if Post type is equal to Post …

    #121347
    driftwood
    Participant

    Are you saying the page link will open up that page or just echo to my screen the url?

    #121361
    driftwood
    Participant

    Ok Ive got Events to show my post in the custom field entry which is a page link. Somehow I need to get that link to show the post!
    Is this now where I have to find/write get someone to write a hook routine to show the results of the custom field = the exact post (“Showtime at…”) on screen?

    #121464
    Brook
    Participant

     

    That’s great! Yeah it sounds like you have done all that you can do in preparation and that everything is setup now for someone to write a little code for you so you can wrap this up.

    Are you saying the page link will open up that page or just echo to my screen the url?

    My instructions are for directly linking to something other than the event, not echoing the URL or anything. My guidance should make it so that when a user clicks on the event link it will take them to wherever you have designated instead of the default events page.

    I hope you are able to get that final step completed now that you have done everything leading up to it. Cheers driftwood!

    – Brook

    #121499
    driftwood
    Participant

    Can anyone/forum member help here who knows about custom fields and hooks?

    #121522
    driftwood
    Participant

    Apparently reading ACF (Advanced Custom Fields) this code will pull the url of the relationship:-

    Lets say page_link = “my_tribe_event_link_field” then
    “>Read this!</a

    But I want to trigger it to DISPLAY the page_link url (which is a standard wp post).

    Anyone know how to code it?

    #121524
    driftwood
    Participant

    Maybe this will display the code here…!

    /*< a href=”<?php the_field(‘page_link’); ?>”>Read this!</a/

    #121529
    Rob
    Member

    Hey Driftwood: Rob from Modern Tribe here…I head up the Community team, and Brook brought this thread to my attention since he felt it was going off course and that perhaps we’d failed to properly set your expectations early in the process as to what we can or cannot do on the forums. First, let me start off by saying it’s clear that we failed to live up to your expectations for the plugin – I personally apologize for this. If there are specific documentation elements or tutorials that you feel would have made getting the swing of things easier, I welcome your feedback there. We want to make the plugin as useful as possible for as many people as possible – and it’s feedback from folks like you who can help us get to that point.

    Sounds like things have gotten back on track as of the latest exchange here, which is awesome! I just wanted to shed some light on a few high-level items to consider as you move forward with us.

    Most importantly, since I want to set expectations as to what is and what is not permitted under our forum guidelines: comments like the one you made here (https://theeventscalendar.com/support/forums/topic/is-there-a-simple-way-of-linking-events-to-posts/#post-121307) are absolutely unwelcome on this forum. I’ll be honest in my assessment that if another comment like this one comes across we’ll be forced to issue you a refund and ask you take your business elsewhere. Not only is this comment ignoring certain realities of WordPress development, it’s making assertions about the state of our code base and the state of our business that are uninformed at best. (Comments like this one — “TEC /Pro is simply not compatible with WordPress and can’t do much without serious programming work” — is simply wrong. There are literally thousands of users running the plugin in WordPress environments that required little-to-no custom integration work to get working). The point I’m driving at is that these comments do nothing to serve anyone; especially when it’s clear reviewing the thread thus far that Brook has been doing his best to get you sorted, and has indeed gone a bit above-and-beyond in providing you overviews of basic core WordPress behaviors that many users come to the table already possessing.

    It sounds like based on your last reply here that you are looking for some guidance on custom fields and hooks. While I hope you’ll understand that the most we can provide on that front is resources to documentation and encouragement as you dive into the WordPress codex, we are open to leaving this thread active for a few days to see if any other users are able to chime in to get you sorted!

    Thanks again for your feedback and understanding. If you have other thoughts, I welcome them – either here or via email to [email protected]. Similarly, if you feel like our support system is not in line with your needs, know that the refund option is on the table – I want to do right by you and if it means giving you back your $ to buy a product you find more to your liking, that’s totally OK.

    #121542
    driftwood
    Participant

    Hoi Rob, sorry that I came across like that – inexperience. But you see I just thought TCE Pro would be able to link to regular posts and now it seems that to get the best out of it Ive learned you have to be a programmer. I love the calendar itself don’t get me wrong – I just need it to work as Im under pressure to put our underfunded festival & pages together.
    I’d spent hours inserting info into pages and we love our theme (I understand maybe you & others don’t) but its kinda interactive & on-site useable too.
    If you do a search for 100% compatible themes for TCE/Pro out there I couldn’t find many that best make use of features I need and for commercial reasons I assumed that there would be more support than just the standard themes which come with WP – even though I understand you use those as test defaults to find if your plugin is playing up or a themes. Overall the them works well at the moment but I hate the fact Ive got to replicate my posts into event posts. Perhaps I should have bought the calendar pro first then the theme but its too late now.
    I love the usefulness and layout of TCE – I just want to be able to link to my regular posts via the custom field page_link to display my posts instead. Ive gone through all my events and made the relationship I just hope someone can come up with a solution./ I am surprised that nobody ever requested it. Indeed I have searched ACF, here, and everywhere and I find that nobody has requested a way to trigger and display other urls from event calendars. Perhaps a future update to TCE Pro could offer standard posts the fields from the events to overcome theme incompatibilities ? Ive posted a view about this.

    In summary I love TCE Pro – I just have to become a programmer or pay big money I haven’t got to program some code to show a url. Ive learned my lesson.

    #121551
    driftwood
    Participant

    And Brook has done a great job trying to service my question – no probe with your support at all. Once again apologies for my overzealousness.

    #121558
    driftwood
    Participant

    Ive found something that may point to he right direction here;-

    http://wordpress.stackexchange.com/questions/97060/display-post-object-content-using-advanced-custom-fields-plugin

    Could someone take a look and see if this could be slightly modified for my request?

    #121611
    Brook
    Participant

    No worries driftwood. I am very happy to hear that you enjoy the plugin and are satisfied with our support.

    I actually really like your theme’s look and it seems to be very well designed from what I have seen. If it were designed slightly differently then it would be able to integrate even better with TEC. Which is not to say that the way it is currently designed is bad, it just unfortunately does not plugins designed like ours to tap into those themes.

    I hope you can find somebody to code the remaining bits for you. I know all about tight budgets myself. May the winds favor you.

    – Brook

Viewing 15 posts - 16 through 30 (of 35 total)
  • The topic ‘Is there a simple way of linking [Events] to [Posts] ?’ is closed to new replies.