Hi,

I'm wondering if it's possible to use the bls filter to just output the required passage into the node (or where ever it's used) instead of having the javascript rollover.

Is this possible out of the box, or are there any simple steps to invoke this?

Thanks

S

Comments

MikeLee_Birdy’s picture

Dear S:
Sorry....I don't get your meaning.....Can you explain more so that I can get the right way to do?
MikeLee

sampeckham’s picture

OK, sorry. I'll try and explain a bit clearer.

Currently the the BLS filter works on the basis that in a node you can write [GEN:1:1-2] and when the node is published this gives you a rollover (using JS) to show the passage. What I'd like to do is when I type [GEN:1:1-2] in a node, on publishing that node for the the [GEN:1:1-2] tag to be become (or be replaced) by the full passage in the [ ]'s, as plain text inline within the node.

So I guess take out the need for the user to rollover and see the passage, and use it as a quick way to add in verse(s) straight into content.

Could this be done? Or could I change something to do it, somewhere?

Many thanks

S

pillarsdotnet’s picture

I wrote a plugin to the reptag module that does exactly what you're describing. You can see it in action at pillars.net. If you're interested, I can provide the code, but I haven't packaged it for distribution or anything.

leon85321’s picture

Hello,

I too would like to use this feature on my site. Can you give me some instruction of how to set it up with bible module?

Thank you,

Leon

pillarsdotnet’s picture

I don't use bible.module.

Last I remember, I don't use reptag anymore, either.

(checking my site...)

Mmm... It's a real hack.

And even compressed, it's over 3 megs.

Here's a link: http://www.pillars.net/bible.tar.gz

Here's some hastily-written installation instructions:

This is a really crude hack, but it works for me.

  1. Import the kjv.sql file into your mysql database.
  2. Install customfilter from http://drupal.org/project/customfilter
  3. Import the customfilter.xml file from this directory.
  4. Add the newly-created "Bible" filter to an input format.
  5. For better formatting, append the "bible.css" file to your theme's stylesheet.
MikeLee_Birdy’s picture

Dear Leon:
I've finish this implementaion. Please refer http://drupalbible.mikelee.idv.tw/?q=node/25623 for more information.
MikeLee

Kriss-dupe’s picture

Status: Active » Fixed

Been here too long, clearing up for efficiency.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.