Hi there
I’ve just updated my support licence for EE3 and have also updated the Custom Template add on. My site has been rebuilt into a Divi theme so I’m not sure if that’s causing the problem but I’m struggling to get the correct view working. I get the errors shown on this test page:
If I use this shortcode: [EVENT_CUSTOM_VIEW ]
The whole looping things occurs and the backend goes completely weird and removes any styling and all content from the dashboard is just a list. Even if I switch themes this happens (to TwentyNineteen)
If I remove this shortcode but just have this in: [EVENT_CUSTOM_VIEW template_name=”grid-view”] – it says The custom template grid-view can not be found – even if I switch to TwentyNineteen
I’ve removed the testbook page now but you can see this instead now – it’s a standard page, nothing custom:
I wonder if that is the problem. It was installed as it used to work. Maybe somewhere along the line it’s been removed with the rebuild. Let me take a look…
Is this a premium plugin? Having looked at our old install I don’t think it was added as we didn’t need it. We just had a table view rather than a grid view. However when I use [EVENT_CUSTOM_VIEW ] it gives the returning loop error and the wordpress dashboard reverts to text only.
Is this a premium plugin? Having looked at our old install I don’t think it was added as we didn’t need it. We just had a table view rather than a grid view.
Yes, it’s a premium plugin and wouldn’t come included with the EE3 Personal license.
However when I use [EVENT_CUSTOM_VIEW ] it gives the returning loop error and the wordpress dashboard reverts to text only.
Hmm, this looks like an issue with Gutenberg and I think we’ll need to force the add-on not to preview in the editor as it doesn’t support it.
Can you test adding a max_days param to the shortcode on your site, please?
In my previous site I didn’t show the date or venue but there was a column with the number of spaces left eg 9/16 – how would I recreate that? Is it possible with a shortcode?
And one more question – I’m using the Divi theme and builder – is it possible to use the builder when creating an event rather than the usual editor? I’m using EE3.
Thanks!
In my previous site I didn’t show the date or venue but there was a column with the number of spaces left eg 9/16 – how would I recreate that? Is it possible with a shortcode?
Sounds like you had a custom version of the table template as that data isn’t included by default.
Did you create a backup of the site before switching over?
If so, check in /uploads/espresso/templates/*template-name*/template.php on your old site’s files.
Or you may have the file within the theme: espresso-template-{template_name}/template.php {template_name}/template.php')
If not, you’ll need to re-create your custom template with whatever details you want to display/hide in that template.
Are you comfortable with PHP? The above is not possible with the shortcode.
And one more question – I’m using the Divi theme and builder – is it possible to use the builder when creating an event rather than the usual editor?
No, neither EE3 or EE4 support page builders at this time.
Thanks Tony. I’ll check out the old back up and see if I can spot it. If I do, would that be why I had the original shortcode – [EVENT_CUSTOM_VIEW template_name=”grid-view”] – not sure why else that would have been in there if I don’t have the grid add on! Or would the shortcode to pull it in still be the same?
Thanks for the info re the builder – save me trying to get it working with potential plugins etc.!
Possibly yes, if someone created a ‘grid-view’ template in either of the above locations the above shortcode would pull that template in and use it.
So for that instance of the shortcode, you’d be looking for /gird-view/template.php
That directory (and file) could be within /wp-content/uploads/espresso/templates/ or the sites theme.
The custom view addon gives you the shortcode [EVENT_CUSTOM_VIEW] shortcode and a few table template, then you can either have other custom template loading from plugins (like the Grid view plugin) or your own, using the template_name attribute.
The above seems to be the file I need as it’s got the info about number of attendees on. I’m not sure how to get it to work as it won’t work if I copy across to my new Divi child theme. Should it be there or in the uploads/espresso folder? The original file is called index.php within the grid-view folder. Thanks for any help with this, much appreciated!
You’re most welcome, I’m glad it’s working for you now 🙂
Viewing 19 reply threads
The support post ‘Error loading Custom Template View’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.