Is there a template tag not listed, or some other way that I can dynamically add a class to the results page listings based on services, series, preachers or other? I'm looking for something like
Sorry, I guess I failed to put my code in a code wrapper. Thanks for catching that Ben.
That's exactly what I'm looking for. It'll allow me to style the Sunday Morning sermons differently from Sunday Evening or if the same were true with series and preacher, then I could style it to show the preacher's pic or a different styling for particular series. The limits could be endless. What I'd really like to see is…
Any thoughts on this? I know it's possible if the plugin core is edited, but I don't know what to change. If you know how, please reply or pm me regarding this. I need it really bad.
If that is a real template tag, where can I find the most up-to-date list of template tags? There's other things I want to do and that would help a lot.
Post edited 4:05 am – 22 February, 2010 by Ben Miller
Gary, the documentation on the website is a bit behind from the actual software. To know for sure which template tags exist, you can find them in the dictionary.php file, which is part of the Sermon Browser plugin.
Having said that, it does not look like [series] or [service] are template tags. It is possible to add new template tags to dictionary.php, with a little bit of programming knowledge.
Keep in mind that if you make any changes to dictionary.php, you need to go to Sermons, Templates, and click the Save button at the bottom to reload the new changes.