Posted: July 2, 2018 at 10:50 am
I went through this tutorial a few times trying to figure it out. I fixed the first problem of images not showing by setting Return Value in the image section in ACF to image URL. 2nd Problem is there are no links to the files that are added. I have tried changing the return value settings here with no luck. |
|
Hi there, May I ask are you using ACF Pro or the free version? The Pro version has the repeater field type which is used in that tutorial. The code would need to be modified to do individual course file fields. You’ll find additional code examples in the ACF documentation: https://www.advancedcustomfields.com/resources/file/#template-usage |
|
I’m using the pro version |
|
OK then. Does your code and the field name for Course Files match? For example, here’s a screenshot of the Course Files fields set up: which match the code from the example:
and if everything matches, it results in the links for each file displayed: |
|
Still working on getting this working. Anyway to get these links sent out with the registration confirmation email? |
|
Everything matches. I have gone through the tutorial twice and I’m having the same problem. |
|
I ran through the tutorial on a new test site locally and the links work there – http://take.ms/f0otg Can you link me to the thank you page of a test registration so I can view the output, please? If you edit the course files on one of your events, click the pencil to edit the file details and check if the ‘URL’ field is set? – http://take.ms/lOCaa |
|
URL Field is set. The site is currently in maintenance mode. How do I get you a log in? Here is the thank you page: https://721stay.com/thank-you/?e_reg_url_link=1-79ddd18a7c1dab8f7ef5f3f76ff62ba0 |
|
To send temp login details you can use this form: |
|
Ok, your ‘Course file’ field is in the wrong section, it should be a sub field of the Course Files repeater, you have it it’s own field. This is how the repeater should be set up – http://take.ms/cRknI This is how yours is set up – http://take.ms/xOsa0 You need to move the course file in to be a sub field of the repeater. Take another look over the image from the tutorial here – https://eventespresso.com/wp-content/uploads/2014/05/acf-ee-add-new-curriculum.jpg It’s a subtle difference when viewing the screen, but it means the code is looking in the wrong location. |
|
The support post ‘Problems with Add a Course Curriculum Section to “Thank You” Page Using ACF’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.