Adding a Custom Registration Link to Add Event Page

Home Forums Calendar Products Community Events Adding a Custom Registration Link to Add Event Page

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #903285
    sjbennett
    Participant

    Users must be logged in to add events. We have a custom registration page. What template can I edit to include this above or below the login details for the Add Event page?

    #903404
    Brook
    Participant

    Howdy sjbennett,

    That’s a good idea. You can find that page in /community/edit-event.php. You can modify that particular template pretty easily by following this tutorial.

    – Brook

    #904469
    sjbennett
    Participant

    Brook, Just to clarify, this is the page that I am trying to add my custom registration link to: http://mysite/events/community/add

    I added a paragraph with link on the /community/edit-event.php. It is not showing on the front end of the site. Can you please clarify that I’m editing the correct file. If so, is there a certain section of the page I should be adding my additional content?

    Thank you for your help.

    #905632
    Brook
    Participant

    Howdy again,

    You are modifying the correct file! Are you sure you have copied it to the correct directory? the path would be something like this /wp-content/themes/[your-theme-name]/tribe-events/community/edit-event.php. Does that make sense? You want to replate the brackets and such with your theme directory’s name of course. Are you able to get it working now?

    – Brook

    #909618
    sjbennett
    Participant

    Yup. I’ve double checked. Here’s a snapshot of my ftp showing the directory and file: http://downeastcoastalnews.com/snap.jpg
    I’ve added a paragraph just before the: form method=”post” enctype=”multipart/form-data
    Can you see what I’m doing wrong?

    #909708
    sjbennett
    Participant

    Actually, I need to clarify this. IF I am logged in to the site and go to add a community event, I can see the text I’ve added directing folks to the custom registration page. When I am NOT logged into the site and the “Please log in first” message comes up, my link directing folks to the custom registration page does not show.

    #912331
    Brook
    Participant

    Thanks for clarifying. Do you have a caching plugin enabled perchance, or some other form of caching. Usually cached pages are served to users who are not logged in. And if the cache has not updated since you made your adjustments, it will not show up. Simply clearing the cache will likely fix it. Did that work?

    – Brook

    #917961
    sjbennett
    Participant

    It may have been a cache issue. I’m just getting back to this and I’m seeing the login form today. So let’s call it good for now. Thank you!

    #917963
    sjbennett
    Participant

    Okay, I misspoke. It’s been so long since I’ve asked this question, I had to get my head back in the original Q. I’ve verified that I’m uploading the edit-event.php to the correct folder for my child theme. Might my custom link to register go with the code that produces the registration form?

    #919709
    Brook
    Participant

    Hello again,

    Thanks for clarifying. You have been super thorough on verifying it is the proper file.

    I just created a child theme with a theme override for Community Submission, and confirmed it works when I am logged out or logged in since my settings allow anonymous submissions of events (not logged in). Here is a copy of it, it’s rather straight forward. I was not sure if an example might help you.

    Unless I can see your code it is going to be difficult for me to be much more help. Does the above example help you? Do you see any difference between what I’ve done and what you did?  Or, do you mind sharing a copy of your theme and child so that I can have a look? Thanks for keeping us posted sj!

    – Brook

    #922165
    sjbennett
    Participant

    This reply is private.

    #922270
    Brook
    Participant

    That was our bad. We are still working on restoring all of the links that existed prior to the new site’s launch. Here is the file now that we have migrated. That link might go down after a few weeks, but it is working now.

    Cheers!

    – Brook

    #934942
    sjbennett
    Participant

    Brook, I am just getting back to this. My site does NOT allow anonymous submissions of events. I tested the twenty-fourteen template you provided and it does not work. With the 2014 child template the edit-event page does not show the line “Test before the contact form” until AFTER I log in.

    When required to login to submit an event, the Community events calendar simply says: Please log in first. I really want to include a line that directs them to the registration form if they have not already registered. Any other thoughts?

    trouble

    #935532
    Brook
    Participant

    I understand now. Thanks for the screenshot Susan. I was not on the same page as you before.

    That particular form is generated by the WP function wp_login_form(). If you are savvy with PHP you could tap into one of its filters like ‘login_form_top’ and add text there. That’s the only option though. WP provides no easier way to modify its login form. 🙁

    Does that make sense? Please let me know if I can be of further assistance. Thanks!

    – Brook

    #940431
    Brook
    Participant

    Since this has gone for a while without a response I am going to archive the topic. However, if you still need help with this or anything else, please feel free to open a new topic. Cheers!

    – Brook

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Adding a Custom Registration Link to Add Event Page’ is closed to new replies.