Welcome, Guest
Username Password: Remember me

Helpful Hint: Linking to Anything in BibleStudy...
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Helpful Hint: Linking to Anything in BibleStudy...

Helpful Hint: Linking to Anything in BibleStudy... 19 Apr 2009 17:47 #777

  • Kyle
  • OFFLINE
  • Moderator
  • Posts: 33
We are using the Bible Study in our church's new website which will be finished shortly. We wanted to have a sermon library landing page that looks something like this...

Speakers
Name Name
Name Name

Teaching Series
Series Name Series Name

Ministries and Special Events
Men's Ministry Exploring Christianity Vision and Values

It Works!!!

To link to a series, message type, topic, teacher, or book, use these URL's. You'll have to adjust the URL to match your page, but try it. In my site, the component is published on a page called sermons. (www.mysite.org/sermons).

So,

To link to a series,
sermons?filter_series=0 (replace 0 with your series number - 0 clears the filter).

Link to a message type
sermons?filter_messagetype=0 (replace 0 with your message type).

Link to a topic,
sermons?filter_topic=0

Link to a teacher,
sermons?filter_teacher=0

Link to a book,
sermons?filter_book=0

Link to a location,
sermons?filter_location=0

Link to a Year,
sermons?filter_year=0 (replace 0 with a year [ie, 2009])

You can get the ID's by viewing the source of your page with the dropdowns, and get the id's for the different items.

So, my Sunday Sermons are messagetype=1. I can get all 2009 Sunday Sermons by doing:
sermons?filter_year=2009&filter_messagetype=1

Keep in mind that the component caches your drop down selections (in my experience anyway). So, you may want to clear the filters that you don't want. For example, from my landing pages, I set all my parameters to 0, except for what I wanted to filter...

For teachers, my querystring looked like:

sermons?filter_teacher=1&filter_book=0&filter_location=0&filter_year=0&filter_series=0&filter_topic=0&filter_messagetype=0

As soon as we get the site published, I'll put a link up for y'all to see how it works.

Thanks,
d8

Re:Helpful Hint: Linking to Anything in BibleStudy... 19 Apr 2009 17:58 #778

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
This is a very interesting use for the biblestudy component. Please share your finished site as more might like to use this capability. Basically what you are using are the same filters that occur in the drop down boxes. The model of the component catches these in the url and makes changes to what's displayed based on them. If you are interested to see the filters themselves, look at the /components/com_biblestudy/models/studieslist.php file.

Tom
"You shall know the truth and the truth shall set you free." JC

Re:Helpful Hint: Linking to Anything in BibleStudy 19 Apr 2009 18:12 #779

  • Kyle
  • OFFLINE
  • Moderator
  • Posts: 33
Here's a link to our dev site.

This is not a permanent link - I'll edit this post once it changes.

www.crosswaykenosha.org/cw-d-v3/resources/sermonlibrary
Last Edit: 01 Jul 2009 21:39 by Kyle.

Re:Helpful Hint: Linking to Anything in BibleStudy... 28 May 2009 06:02 #892

This looks good. But please forgive my ignorance... how do I "publish on a page called sermons" the Bible Study component?
Thanks
Andrew

Re:Helpful Hint: Linking to Anything in BibleStudy... 28 May 2009 07:30 #893

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
The user who started this post created a content item that he put urls in that then use the biblestudy component. This is very advanced custom use. Normally you would install the component, then create a menu item link to the studiieslist view using the menu parameters to filter what is displayed.
"You shall know the truth and the truth shall set you free." JC

Re:Helpful Hint: Linking to Anything in BibleStudy... 28 May 2009 07:49 #894

  • Kyle
  • OFFLINE
  • Moderator
  • Posts: 33
Right. "sermons" is a regular content page (I'm using URL Rewriting) with links to the BibleStudy component. Sorry for not making that more clear in the OP.
  • Page:
  • 1
Moderators: Darren Vandermyde, Kyle
Time to create page: 0.63 seconds