Topic RSS
Hey Mark,
I now have the plugin working on my site, and now I have a feature request:
Is it possible to make the filter options customizable? For example, my church has only one pastor, so I don't really need the option to allow people to filter sermons by preacher. It'd be really nice if I could turn off the parts of the filter that I don't need, while keeping the filter on for searching.
Hey Mark,
A quick thought about my suggestion…
It might work if there was a Simple Search and an Advanced Search option. You could even make the Advanced Search the default, but supply a Simple Search template tag for people who want to change it.
Anyway, just thought I'd suggest that in case it helps. By the way, thanks for the new release!
I have a church that doesn't use series for their sermons, they have asked me to remove the reference from the page (it currently says "Part of the None Series"). They would like that entire line removed.
Question: where do I find it? I am obviously looking right past it, and I know my way around PHP. Any help would be great, thanks!
Original content: http://www.firstpresportland.o…..page_id=33
10:33 am
14 December, 2005
OfflineSorry for my silence over recent weeks. Unfortunately, the business of everyday life has meant that I've not been able to focus on the sermonbrowser plugin as I'd have liked. I'm hoping that will change just as soon as I'm able to get some other plugin projects out of the way. There's also the small matter of the new Wordpress 2.7 to contend with! I appreciate all the bug reports and suggestions, and I promise I will work through them all, and there will be future versions of sermonbrowser – just not in the next week or so :-)
To answer Matt's question by the way, you need to edit your template (go to Sermons/Template in Wordpress). You should be able to delete the offending line quite easily, though it won't remove it from the search dropdown. That might possibly come in a future version as others have requested it too.
I'm wondering if there's a way to customize which filters are there. For instance, I only want the filter for "series" to be on the page and I want to delete the other ones.
If anyone wants to manually remove certain filters, you can do this in frontend.php
Scroll all the way down until you see:
<div id="mainfilter">
<form method="post" id="sermon-filter" action="<?php echo sb_display_url(); ?>">
<div style="clear:both">
<table class="sermonbrowser">
Below this will be the different form options. For instance, I removed these lines in order to remove the option to filter by preacher and service:
<tr>
<td class="fieldname"><?php _e('Preacher', $sermon_domain) ?></td>
<td class="field"><select name="preacher" id="preacher">
<option value="0" <?php echo $_REQUEST['preacher'] != 0 ? '' : 'selected="selected"' ?>><?php _e('[All]', $sermon_domain) ?></option>
<?php foreach ($preachers as $preacher): ?>
<option value="<?php echo $preacher->id ?>" <?php echo $_REQUEST['preacher'] == $preacher->id ? 'selected="selected"' : '' ?>><?php echo stripslashes($preacher->name).' ('.$preacher->count.')' ?></option>
<?php endforeach ?>
</select>
</td>
<td class="fieldname rightcolumn"><?php _e('Services', $sermon_domain) ?></td>
<td class="field"><select name="service" id="service">
<option value="0" <?php echo $_REQUEST['service'] != 0 ? '' : 'selected="selected"' ?>><?php _e('[All]', $sermon_domain) ?></option>
<?php foreach ($services as $service): ?>
<option value="<?php echo $service->id ?>" <?php echo $_REQUEST['service'] == $service->id ? 'selected="selected"' : '' ?>><?php echo stripslashes($service->name).' ('.$service->count.')' ?></option>
<?php endforeach ?>
</select>
</td>
</tr>
I just upgraded my sermon browser to the newest version and just realized that i had apparently made changes to the frontend.php file (as described above) . I tried to put my old frontend.php file up there, but it would not work. How do I now remove the unwanted filters from my new frontend.php ?
EDIT: Sorry, I dont know how to delete my post…I already figured it out on my own after trying again to look for the code
Mark, thanks for a wonderful plugin.
If you ever see this post, please could you maybe wrap the numbering in a span to make formatting a little easier?
Or even something like this perhaps?
<h3>Filter</h3>
<ul id="mainfilter">
<li id="preacher" class="filter">
<h4 class="filter-heading">Preacher</h4>
<ul>
<li><a href="#">C H Spurgeon</a><span class="count">1</span></li>
<li><a href="#">Martyn Lloyd-Jones</a><span class="count">3</span></li>
</ul>
</li>
</ul>This way one has the option of making it a list down the side or making any sort of transformations through css.
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: 2062
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 2
Topics: 1071
Posts: 4042
Newest Members: richdorm, Aaron Velasquez, aaronv, dave5884, tomduckering, ccwebb
Moderators: Ben Miller (386)
Administrators: Mark Barnes (425)
Log In
Register
Home



