Forum
Podcast not passing 'show' through to episode
Hi,
I have a strange one with the Podcast app. I installed the app on a site and all seemed to be working fine ... however we didn't launch it. Now the client wants it live and there seems to be a bug. I've tried re-installing the Podcasts app, and replacing all my templates with the example ones - but same issue.
Podcasts home page is fine: https://www.calvarycambridge.uk/podcasts/
The Shows page displays the episodes: https://www.calvarycambridge.uk/podcasts/show.php?s=calvary-cambridge-uk
BUT when you click and episode it doesn't pass the "show" through (s= blank) and the page is empty: https://www.calvarycambridge.uk/podcasts/episode.php?s=&ep=5
IF I manually add the "show" to the URL it works fine: https://www.calvarycambridge.uk/podcasts/episode.php?s=calvary-cambridge-uk&ep=5
I'm a bit lost, because I thought it was something I'd done while customising the templates, but I think I've gone back to a stock install and I'm getting the same issue.
Anyone had similar or any ideas on what to try next?
Thanks! Elliot
How are you forming your link?
I'm assuming it's coming from the episodes_list.html template
so
If you add
<perch:showall />
do you see the show slug as part of the output?Slug appears empty
https://www.calvarycambridge.uk/podcasts/show.php?s=calvary-cambridge-uk
Are you passing it into the template? I can't remember how this works exactly, but if you have it in the query string then you can pass it into the template without too much trouble.
Not sure - I'm using the example pages and stock templates that come with the app - I wanted to get it working before doing any major customisation.
The example pages should just work, yes. They should list by show and then by episode when you drill down into a show.
Any suggestions ... I think I'm just using the shipped pages / templates ?
Is it possible to completely uninstall the app and start again? and if so, what's the best approach.
The most likely candidate if things are messed up is the database tables. They're all
perch3_podcast
something. If you delete those (make a backup first) the app will install itself fresh.