Contents Member Sign in |
Sermon Views - Styling and ControllingInstall.Styling HistoryShow minor edits - Show changes to markup Deleted line 100:
Deleted line 53:
October 21, 2018, at 09:31 PM EST
by - Update section on customizing content
Changed lines 98-99 from:
The to:
The Changed line 105 from:
to:
Changed lines 126-128 from:
Sermon identifiers are automatically assigned by the Sermon Publisher. You can read a sermon's identifier by inspecting any sermon link in any view. to:
Sermon identifiers are automatically assigned by the Sermon Publisher. You can read a sermon's identifier by inspecting any sermon link in any view and using the October 21, 2018, at 09:22 PM EST
by - Update section on customizing content
Changed lines 50-53 from:
By default, Sermons Online displays the "By Date" view, and shows 26 sermons per page. You can change this behavior by customizing the following URL parmeters. Each URL parameter is composed of a name/value pair. The parameter is prefixed with an ampersand (&) character. Example: to:
By default, Sermons Online displays the "By Date" view, and shows 26 sermons per page. You can change this behavior by customizing the following URL parmeters:
Parameters are often used together. For example, Each parameter can be assigned a value using the equals sign, like this: Parameters can be used both in links to your web site sermon page, and in the code that you embed on your site's sermon page. Here's an example of customizing a link to your sermon page. It sets the sermon page size to 50: Changed lines 66-68 from:
&this_name=that_value to:
Changed lines 70-75 from:
Sets the parameter named "this_name" to the value, "that_value".
URL parameters can be placed both in the links that target your sermon page, and in Sermons Online HTML script that is embedded in a web page via copying and pasting. Parameters passed via a link to a page take preceedence over embedded parameters. Embedded Parameters Example: to:
(Note this is a link to your website's sermon page. That sermon page would have SCRIPT or IFRAME code embedded in it.)
And here is the same example, but used in an embedded SCRIPT: Changed lines 75-81 from:
<script type="text/javascript">document.write("<script type='text/javascript' src='https://www.sermonsonline.com/index.php?sermonsite_custid=XXXXX&PARAMETER_NAME=SOMEVALUE &sermonsite_href=" + escape(location.href) + "'> <","/script>");</script><a href="https://www.sermonsonline.com"></a> to:
Changed lines 79-82 from:
Embeds the parameter, "PARAMETER_NAME" with the value "SOMEVALUE" into the Sermons Online HTML script. Note that the parameter is prefixed with an ampersand (&) character.
Link Example: to:
And now used in an embedded IFRAME: Changed line 82 from:
to:
Changed lines 86-87 from:
Passes the parameter, "PARAMETER_NAME" with the value "SOMEVALUE" to the your-sermon-page.html file. If this parameter is already defined in the Sermons Online script HTML embedded into that page, it will be overridden.
to:
Note: A word about the question mark (?) and ampersand (&) prefixes. When making a URL, the rule is that the very first parameter after the path to the web page is prefixed with a question mark, and any additional parameters with an ampersand. Changed lines 90-109 from:
The
Example: &sermonsite_action=view_topics
Sets the view to View by Topic
to:
The following
The Here are samples of using both of these parameters together:
Changed lines 112-113 from:
to:
Changed lines 116-126 from:
Example: &sermonsite_action=get_current_sermon
Finds the date of the most recently-delivered sermon, and lists all of the sermons delivered on that date.
to:
Displaying the RSS Feed of your SermonsA special
Displaying A Specific SermonThe
Sermon identifiers are automatically assigned by the Sermon Publisher. You can read a sermon's identifier by inspecting any sermon link in any view. Deleted lines 132-184:
Example: &sermonsite_action=view_topic&sermonsite_pagesize=104
Sets the view to View by Topic, and displays 104 sermons per page.
Selecting Specific Sermons To Be DisplayedThe
All spaces in the key value should be replaced with plus ('+') signs. Example: &sermonsite_action=view_topic&sermonsite_selection=Grace+and+Peace
Sets view to view by Topic and displays all sermons with the topic, "Grace and Peace". Note the use of the + signs to replace spaces in the topic.
Displaying the Sermon Cover Page for a Specific SermonThe Valid values are any sermon identifier of an active sermon. Sermon identifiers are automatically assigned by the Sermon Publisher. You can read a sermon's identifier by inspecting any sermon link in any view. Example: &sermonsite_action=view_sermon&sermonsite_sermonid=123
Views the sermon cover page of sermon number '123'.
April 10, 2013, at 01:13 PM EST
by - Added !important metatags
Changed line 43 from:
to:
May 07, 2009, at 02:48 AM EST
by - Added help for get_current_sermon parameter May 07, 2009, at 02:47 AM EST
by - Added help for get_current_sermon parameter
Changed lines 3-4 from:
View Layoutto:
(:*toc:) Controlling the Width and HeightChanged lines 31-32 from:
View Stylingto:
Controlling StylingChanged lines 48-49 from:
View Contentto:
Controlling ContentChanged lines 54-55 from:
Selecting a Sermon Viewto:
Selecting Which Sermon View To DisplayDeleted lines 64-67:
Setting the View Page SizeThe Changed line 69 from:
&sermonsite_action=view_topic&sermonsite_pagesize=104 to:
&sermonsite_action=view_topics Changed lines 74-87 from:
Sets the view to View by Topic, and displays 104 sermons per page.
Restricting the Content of a Sermon ViewThe
All spaces in the key value should be replaced with plus ('+') signs. to:
Sets the view to View by Topic
Displaying Just The Most Recent SermonsA special
This parameter finds the date of the most recently-preached sermon, then lists just the sermons that were preached on that date. Unlike the normal view, this parameter returns just a "snippet" of HTML text, suitable for embedding into a paragraph or table cell. Changed line 88 from:
&sermonsite_action=view_topic&sermonsite_selection=Grace+and+Peace to:
&sermonsite_action=get_current_sermon Changed lines 93-102 from:
Sets view to view by Topic and displays all sermons with the topic, "Grace and Peace". Note the use of the + signs to replace spaces in the topic.
Viewing a Sermon Cover PageThe Valid values are any sermon identifier of an active sermon. Sermon identifiers are automatically assigned by the Sermon Publisher. You can read a sermon's identifier by inspecting any sermon link in any view. to:
Finds the date of the most recently-preached sermon, and lists all of the sermons preached on that date.
Setting the View Page SizeThe Changed line 103 from:
&sermonsite_action=view_sermon&sermonsite_sermonid=123 to:
&sermonsite_action=view_topic&sermonsite_pagesize=104 Added lines 108-149:
Sets the view to View by Topic, and displays 104 sermons per page.
Selecting Specific Sermons To Be DisplayedThe
All spaces in the key value should be replaced with plus ('+') signs. Example: &sermonsite_action=view_topic&sermonsite_selection=Grace+and+Peace
Sets view to view by Topic and displays all sermons with the topic, "Grace and Peace". Note the use of the + signs to replace spaces in the topic.
Displaying the Sermon Cover Page for a Specific SermonThe Valid values are any sermon identifier of an active sermon. Sermon identifiers are automatically assigned by the Sermon Publisher. You can read a sermon's identifier by inspecting any sermon link in any view. Example: &sermonsite_action=view_sermon&sermonsite_sermonid=123
June 24, 2008, at 11:29 AM EST
by - Added help on styling IFRAME overrides
Changed lines 3-4 from:
Styling a Viewto:
View LayoutAdded lines 29-30:
View StylingChanged lines 35-36 from:
Controlling Viewsto:
If you are using the SCRIPT method to embed your sermons, then the sermon view will inherit any CSS styles selected by HTML tags that you have defined elsewhere on the web page. For example, if you have defined styles for anchor text, they will be applied to the anchors generated in the sermon view. If you are using the IFRAME method, however, then the sermon view will not inherit any CSS styles from the containing page. You can completely override the default styling for sermons by including a selector for the "sermon" class within the default style field. For example, the following value would set all sermon text to 11px by default, and disable underlining for all sermon link text: #sermons {font-size:11px;} #sermons a {text-decoration:none;}
View ContentJune 12, 2008, at 04:01 PM EST
by - Added paragraph on styling IFRAMEs
Changed lines 5-6 from:
To control the size of the sermon display, paste your Sermons Online HTML into a table cell, and set the table to the desired height and/or width. The following example limits the width of the sermon display to 500 pixels, and guarantees that it will be at least 1,025 pixels high: to:
If you are using the SCRIPT method to embed your sermons, you can control the size of the sermon display by pasting the script into a table cell, and setting the table to the desired height and/or width. The following example limits the width of the sermon display to 500 pixels, and guarantees that it will be at least 1,025 pixels high: Deleted line 15:
Added lines 17-25:
If you are using the IFRAME method to embed your sermons, you can control the dimensions using the iframe's WIDTH and HEIGHT attributes. The following example limits the width of the sermon display to 500 pixels, and guarantees that it will be at least 1,025 pixels high: <iframe width="500px" height="1024px" src="https://www.sermonsonline.com/wrapper.htm..." /> Changed lines 27-28 from:
to:
Changed lines 30-31 from:
Sermon Viewto:
Selecting a Sermon ViewChanged lines 41-42 from:
View Page Sizeto:
Setting the View Page SizeChanged lines 50-51 from:
Limiting a Sermon Viewto:
Restricting the Content of a Sermon ViewChanged lines 67-68 from:
View a Specific Sermonto:
Viewing a Sermon Cover PageChanged lines 1-2 from:
(:title Sermon Styling:) to:
(:title Sermon Views - Styling and Controlling :) Styling a ViewAdded lines 24-79:
Controlling ViewsBy default, Sermons Online displays the "By Date" view, and shows 26 sermons per page. You can change this behavior by customizing the following URL parmeters. URL parameters can be placed both in the links that target your sermon page, and in Sermons Online HTML script that is embedded in a web page via copying and pasting. Parameters passed via a link to a page take preceedence over embedded parameters. Sermon ViewThe
View Page SizeThe Example: &sermonsite_action=view_topic&sermonsite_pagesize=104 Sets the view to View by Topic, and displays 104 sermons per page. Limiting a Sermon ViewThe
All spaces in the key value should be replaced with plus ('+') signs. Example: &sermonsite_action=view_topic&sermonsite_selection=Grace+and+Peace Sets view to view by Topic and displays all sermons with the topic, "Grace and Peace". Note the use of the + signs to replace spaces in the topic. View a Specific SermonThe Valid values are any sermon identifier of an active sermon. Sermon identifiers are automatically assigned by the Sermon Publisher. You can read a sermon's identifier by inspecting any sermon link in any view. Example: &sermonsite_action=view_sermon&sermonsite_sermonid=123 Views the sermon cover page of sermon number '123'. Changed lines 1-2 from:
(:title Styling your Sermons:) to:
(:title Sermon Styling:) Changed lines 1-2 from:
(:title Controlling the Display Style of your Sermons:) to:
(:title Styling your Sermons:) Changed lines 1-2 from:
(:title How To Control the Display Style of your Sermons:) to:
(:title Controlling the Display Style of your Sermons:) |