Bob Morris
Forum Replies Created
-
Forum: Plugins
In reply to: [Theater for WordPress] Theater Categories Widget shows Fatal Error messageThanks Jeroen
By the way, Theater is a great plugin!
Hi Jeroen
You are correct and I have found and fixed the problem.
I have a custom template to show single production details and I was calling the $production->dates() function to get the HTML text to display. I can now see that this function has changed and now returns an array of dates (hence the word ‘Array’ appearing). I now see that I should be calling the function $production->dates_html() to get the HTML date text.
It is all working fine now. Thank you for your help.
Bob Morris
Hi
Thanks for the prompt reply. Yes I understand, it was my mistake, I should read the documentation more carefully in future. I will create a new /fpw2_views/ folder in the active themes folder as you suggest.
Thanks again.
Bob
Hi Jeroen
Thanks for replying and sorry for the delay in thanking you.
I understand how both theatre events widgets work. In my previous post I was specifically referring to the theatre categories widget. When a category is selected via the widget, would it be possible to display a list of productions relating to the selected category instead of a list of events relating to the category. It is not a big thing but if a production has several events it tends to dominate the list of forthcoming productions for that category. It is not a big problem which is why I added it as a suggestion for a future enhancement.
Thanks again.
Bob Morris