Topic RSS
12:22 am
9 November, 2011
Offline3:57 am
30 September, 2011
OfflineI found my shortcode here. http://www.sermonbrowser.com/c…..omisation/
I put them in a blog as well as a sermon page. Check out http://www.cocwarragul.org.au/…..rgiveness/ to see what i mean.
I just put the following in the blog/page where I want the sermon.
Without the quotation marks and where 5 is the number corresponding to the sermon you want displayed there.
To show a download link you could use something like this in the mp3 shortcode.
If you don't wan't people to have to right click and go to save as. Then include mp3 files in the .htaccess file under a mime type of binary only. That should mean that no mp3's can be streamed and will always ask client to download. Just Google for force download mp3 file. Should find what i'm on about.
Of course you could also edit the Frontend.php file similar to in this tutorial. http://www.sermonbrowser.com/f…..s-1/#p3619
Not exactly sure what to change though without a lot of fidgeting.
Grant.
4:12 am
18 June, 2009
OfflineFor your first question:
I'm assuming that by "shortcodes" you are referring to the tags that you use in the Sermon Browser templates? If so…
The template tags are defined in "sermon-browser/sb-includes/dictionary.php". In this file, you'll find two functions:
sb_search_results_dictionary() contains the template tags that you can use in the "Search Results Page" template.
sb_sermon_page_dictionary() contains the template tags that you can use in the "Sermon Page" template.
Note that there are some template tags that appear in both functions.
You can change the definition of any of these tags or add your own tags.
Important note: The code in dictionary.php is only processed when you save a new template. As a result, after you make any changes to dictionary.php, you need to go into the Sermon Browser template page and hit the "Save" button, even if you didn't make any changes to the template code. This will load your new definitions from dictionary.php.
6:55 pm
9 November, 2011
OfflineYou both were a real help to me. I was able to use the dictionary.php file to find the lines in frontend.php I needed to edit to make this happen without using the default icons. A combination of both of your answers made this possible. I will edit this post and upload the code when I get our new site live(right now it's on MAMP), but this is a HUGE breakthrough for me and I do appreciate you taking the time!
Most Users Ever Online: 40
Currently Online:
16 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



