<?xml version="1.0" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel><title>4:14 evangelical christian theology blog - Topic: Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/</link> <description><![CDATA[…Then we will no longer be infants, tossed back and forth by the waves…]]></description> <generator>Simple:Press Forum Version 4.1.0</generator> <atom:link href="http://www.4-14.org.uk/forum/?sermon-browser-support&#038;latest-sermon-url-only-on-homepage&#038;xfeed=topic" rel="self" type="application/rss+xml" /> <item><title>vagrantmonkey on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1249</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1249</guid> <description><![CDATA[As for some of the CSS, I had to narrow the display of the fields a bit. I changed the CSS code in the Sermon Browser Template (via the admin page). the relevant code is below:<div class="sfcode"> table.sermonbrowser td.fieldname { font-weight:bold; font-size: .65em; padding-right: 10px; vertical-align:bottom; }table.sermonbrowser td.field input, table.sermonbrowser td.field select{ width: 130px; }table.sermonbrowser td.field  #date, table.sermonbrowser td.field #enddate { width: 90px; }</div> ]]></description> <pubDate>Sat, 10 Oct 2009 02:53:41 +0000</pubDate> </item> <item><title>vagrantmonkey on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1248</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1248</guid> <description><![CDATA[Hi Guys,Sorry it took so long to get back to you on this. In order to set this up you need to directly edit the "frontend.php" file found inside the sermon browser plugin. Make sure you create a copy of both the original file AND your edited file. That way if you update the plugin you have away to recover these changes.The code below should replace the "mainFilter" div that starts at line 941 in the original file. All I have really done is rearrange the table and take out some filters I didn't need at this time.As  last note before the code, if you are looking for the graphical look of the code as adjusted by the CSS I can post that separately, but this is the biggest change.<div class="sfcode"> &#60;div id=&#34;mainfilter&#34;&#62; &#60;form method=&#34;post&#34; id=&#34;sermon-filter&#34; action=&#34;&#60;?php echo sb_display_url(); ?&#62;&#34;&#62; &#60;div style=&#34;clear:both&#34;&#62; &#60;table class=&#34;sermonbrowser&#34;&#62; &#60;tr&#62; &#60;td class=&#34;fieldname&#34;&#62;&#60;?php _e('Preacher', $sermon_domain) ?&#62;&#60;/td&#62; &#60;td class=&#34;field&#34;&#62;&#60;select name=&#34;preacher&#34; id=&#34;preacher&#34;&#62; &#60;option value=&#34;0&#34; &#60;?php echo (isset($_REQUEST['preacher']) &#38;&#38; $_REQUEST['preacher'] != 0) ? '' : 'selected=&#34;selected&#34;' ?&#62;&#62;&#60;?php _e('[All]', $sermon_domain) ?&#62;&#60;/option&#62; &#60;?php foreach ($preachers as $preacher): ?&#62; &#60;option value=&#34;&#60;?php echo $preacher-&#62;id ?&#62;&#34; &#60;?php echo isset($_REQUEST['preacher']) &#38;&#38; $_REQUEST['preacher'] == $preacher-&#62;id ? 'selected=&#34;selected&#34;' : '' ?&#62;&#62;&#60;?php echo stripslashes($preacher-&#62;name).' ('.$preacher-&#62;count.')' ?&#62;&#60;/option&#62; &#60;?php endforeach ?&#62; &#60;/select&#62; &#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td class=&#34;fieldname&#34;&#62;&#60;?php _e('Series', $sermon_domain) ?&#62;&#60;/td&#62; &#60;td class=&#34;field&#34;&#62;&#60;select name=&#34;series&#34; id=&#34;series&#34;&#62; &#60;option value=&#34;0&#34; &#60;?php echo $_REQUEST['series'] != 0 ? '' : 'selected=&#34;selected&#34;' ?&#62;&#62;&#60;?php _e('[All]', $sermon_domain) ?&#62;&#60;/option&#62; &#60;?php foreach ($series as $item): ?&#62; &#60;option value=&#34;&#60;?php echo $item-&#62;id ?&#62;&#34; &#60;?php echo $_REQUEST['series'] == $item-&#62;id ? 'selected=&#34;selected&#34;' : '' ?&#62;&#62;&#60;?php echo stripslashes($item-&#62;name).' ('.$item-&#62;count.')' ?&#62;&#60;/option&#62; &#60;?php endforeach ?&#62; &#60;/select&#62; &#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td class=&#34;fieldname&#34;&#62;&#60;?php _e('Book', $sermon_domain) ?&#62;&#60;/td&#62; &#60;td class=&#34;field&#34;&#62;&#60;select name=&#34;book&#34;&#62; &#60;option value=&#34;&#34;&#62;&#60;?php _e('[All]', $sermon_domain) ?&#62;&#60;/option&#62; &#60;?php foreach ($book_count as $book): ?&#62; &#60;option value=&#34;&#60;?php echo $book-&#62;name ?&#62;&#34; &#60;?php echo $_REQUEST['book'] == $book-&#62;name ? 'selected=selected' : '' ?&#62;&#62;&#60;?php echo stripslashes($book-&#62;name). ' ('.$book-&#62;count.')' ?&#62;&#60;/option&#62; &#60;?php endforeach ?&#62; &#60;/select&#62; &#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td class=&#34;fieldname&#34;&#62;&#60;?php _e('Start date', $sermon_domain) ?&#62;&#60;/td&#62; &#60;td class=&#34;field&#34;&#62;&#60;input type=&#34;text&#34; name=&#34;date&#34; id=&#34;date&#34; value=&#34;&#60;?php echo mysql_real_escape_string($_REQUEST['date']) ?&#62;&#34; /&#62;&#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td class=&#34;fieldname&#34;&#62;&#60;?php _e('End date', $sermon_domain) ?&#62;&#60;/td&#62; &#60;td class=&#34;field&#34;&#62;&#60;input type=&#34;text&#34; name=&#34;enddate&#34; id=&#34;enddate&#34; value=&#34;&#60;?php echo mysql_real_escape_string($_REQUEST['enddate']) ?&#62;&#34; /&#62;&#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td class=&#34;fieldname&#34;&#62;&#60;?php _e('Keywords', $sermon_domain) ?&#62;&#60;/td&#62; &#60;td class=&#34;field&#34; colspan=&#34;1&#34;&#62;&#60;input style=&#34;width: 98.5%&#34; type=&#34;text&#34; id=&#34;title&#34; name=&#34;title&#34; value=&#34;&#60;?php echo mysql_real_escape_string($_REQUEST['title']) ?&#62;&#34; /&#62;&#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td class=&#34;fieldname&#34;&#62;&#60;?php _e('Sort by', $sermon_domain) ?&#62;&#60;/td&#62; &#60;td class=&#34;field&#34;&#62;&#60;select name=&#34;sortby&#34; id=&#34;sortby&#34;&#62; &#60;?php foreach ($sb as $k =&#62; $v): ?&#62; &#60;option value=&#34;&#60;?php echo $v ?&#62;&#34; &#60;?php echo $csb == $v ? 'selected=&#34;selected&#34;' : '' ?&#62;&#62;&#60;?php _e($k, $sermon_domain) ?&#62;&#60;/option&#62; &#60;?php endforeach ?&#62; &#60;/select&#62; &#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td class=&#34;fieldname&#34;&#62;&#60;?php _e('Direction', $sermon_domain) ?&#62;&#60;/td&#62; &#60;td class=&#34;field&#34;&#62;&#60;select name=&#34;dir&#34; id=&#34;dir&#34;&#62; &#60;?php foreach ($di as $k =&#62; $v): ?&#62; &#60;option value=&#34;&#60;?php echo $v ?&#62;&#34; &#60;?php echo $cd == $v ? 'selected=&#34;selected&#34;' : '' ?&#62;&#62;&#60;?php _e($k, $sermon_domain) ?&#62;&#60;/option&#62; &#60;?php endforeach ?&#62; &#60;/select&#62; &#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td colspan=&#34;1&#34;&#62;&#38;nbsp;&#60;/td&#62; &#60;td class=&#34;field&#34;&#62;&#60;input type=&#34;submit&#34; class=&#34;filter&#34; value=&#34;&#60;?php _e('Filter &#38;raquo;', $sermon_domain) ?&#62;&#34;&#62;			&#60;/td&#62; &#60;/tr&#62; &#60;/table&#62; &#60;input type=&#34;hidden&#34; name=&#34;page&#34; value=&#34;1&#34;&#62; &#60;/div&#62; &#60;/form&#62; &#60;/div&#62;</div> ]]></description> <pubDate>Sat, 10 Oct 2009 02:48:34 +0000</pubDate> </item> <item><title>walkingcomplete on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1240</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1240</guid> <description><![CDATA[That is a nice look vagrant monkey.  I would love to know how you did it too. ]]></description> <pubDate>Sat, 10 Oct 2009 01:25:52 +0000</pubDate> </item> <item><title>journeyblair on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1221</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1221</guid> <description><![CDATA[Hey vagrantmonkeyI went to your site and i really like how you have the search area layed out. Would you be willing to post the code for that? It would be a great help if so. Thanks! ]]></description> <pubDate>Mon, 05 Oct 2009 03:48:00 +0000</pubDate> </item> <item><title>vagrantmonkey on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1194</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1194</guid> <description><![CDATA[Thanks for adding that in. I may have negated my ability to use it by mucking about with the widget, but I'll give it a shot. I see your point regarding the current series. I'll have to think about that one. Isolating a specific series would still be useful though.You can check out the site at: <a href="http://thechurchonmelrose.org" rel="nofollow">http://thechurchonmelrose.org</a> ]]></description> <pubDate>Fri, 02 Oct 2009 05:20:23 +0000</pubDate> </item> <item><title>Mark Barnes on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1192</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1192</guid> <description><![CDATA[I've added a URL only function to 0.43.2 (see this <a href="http://www.4-14.org.uk/wordpress-plugins/sermon-browser/faq#sidebar" rel="nofollow" target="_blank">FAQ</a>). It will give you the most recent sermon, optionally filtered by series or preacher.Current series is more problematic as many churches have multiple series running concurrently. ]]></description> <pubDate>Fri, 02 Oct 2009 03:06:20 +0000</pubDate> </item> <item><title>vagrantmonkey on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1141</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1141</guid> <description><![CDATA[Well, let's make that a feature request then. <img src="http://www.4-14.org.uk/wp-content/forum-smileys/sf-laugh.gif" title="Laugh" alt="Laugh" /> ]]></description> <pubDate>Thu, 24 Sep 2009 16:14:04 +0000</pubDate> </item> <item><title>Mark Barnes on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1140</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1140</guid> <description><![CDATA[Unfortunately there's no way to do this at the moment. You can use a function to give you the name of the latest sermon, that is linked to the correct page, but you can't get just the URL, sorry. ]]></description> <pubDate>Thu, 24 Sep 2009 15:42:59 +0000</pubDate> </item> <item><title>vagrantmonkey on Latest Sermon URL only  on Homepage</title><link>http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1139</link> <category>Sermon Browser Support</category> <guid isPermaLink="true">http://www.4-14.org.uk/forum/sermon-browser-support/latest-sermon-url-only-on-homepage/#p1139</guid> <description><![CDATA[In the design I am working on I need a way to call just the URL for the latest sermon on my homepage. I am already using the widget code elsewhere, but here I need just the URL to add as the href in my footer. A URL for the current series would also be great.Thanks! ]]></description> <pubDate>Thu, 24 Sep 2009 12:40:23 +0000</pubDate> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 28/44 queries in 0.034 seconds using apc
Object Caching 358/358 objects using apc
Content Delivery Network via Amazon Web Services: S3: downloads.4-14.org.uk

Served from: www.4-14.org.uk @ 2010-09-07 21:17:47 -->