Topic RSS
5:36 am
29 November, 2011
OfflineHave been using sermon browser for about a month now, and really liking the functionality. I'm using it mostly as a tool to display sermons, rather than "browse" them, or search for them right now.
So I'm trying to cleanup and simplify things, until we are ready to roll out more functionality at a later date.
How do I list the name of the preacher, but not have it hyperlinked? Checkout our site: http://www.santaclarachurch.com/sermons/the-spirit-of-god/
It's linked to an odd link (Not sure why?), and really don't need that right now anyways.
Thanks for the help!
2:26 pm
18 June, 2009
OfflineLuke, I really like the way your sermons pages look. Nice job!
The template tags are all defined in the file "dictionary.php". If you look in that file, you'll see two functions: sb_search_results_dictionary() and sb_sermon_page_dictionary(). The one you want to look at is sb_search_results_dictionary(). In there, you'll see the definition for the[preacher_link] template tag. It looks like this is the only template tag to get the name of the preacher, but I recommend you add a tag called [preacher_no_link]. To do this, add the following line to the sb_search_results_dictionary() function in dictionary.php:
http://pastebin.com/ZbB9arXg
(I put the line of code in pastebin because I'm not sure how to enter code in the forum at this time.)
After you add the line into dictionary.php, go into the Sermon Browser template editor (Sermons, Templates), change [preacher_link] to [preacher_no_link] in your search results template. Click Save at the bottom of the page, and then let me know if it works. (I haven't tested this code yet!)
Important note about dictionary.php: The code in this file only gets executed when you press the Save button in the Sermon Browser template editor. So you need to do this in order: Edit dictionary.php, then edit your template and hit Save. If you find you need to go back and make more changes to dictionary.php, you also need to go back and hit the Save button again in the template editor.
Most Users Ever Online: 40
Currently Online:
20 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
malpan: 2453
jogen: 2440
VanWatterson: 652
GeraldSebring: 364
LucasWoltman: 362
RandellFeenstra: 362
Member Stats:
Guest Posters: 7
Members: 2066
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 2
Topics: 1071
Posts: 4045
Newest Members: Nixon Designs, zolaperry, tanec69, lbakyl, richdorm, Aaron Velasquez
Moderators: Ben Miller (387)
Administrators: Mark Barnes (425)
Log In
Register
Home



