Show Notes when adding passage in article

Forums: 

Hi Mike,

can you please add a parameter to show the notes when adding passage in article, something like this:

GEN 1:1-3#KJVSN&N

the &N tells that it must show the notes (yellow notes icon linked to note if any) also. Maybe also &C for Commentaries and &RV for Reverence Verse

It must be active even if "active bibledata" is disabled.

I'm using 7.x-1.5-alpha3

Regards

Jaco

I've made a trial version

Dear Jaco:

    As your request, I've made this trial version as attach. "&N" for bible_note is OK, but Commentary and Verse Reference is some-how difficult to do. Since these two information need get data from server or other sites, just can not get data from module database.

MikeLee

File: 

Thanks, will test...

Mike,

thanks, as long as the Notes work I'm happy. I will test and let you know.

 

Thanks

Jaco

Cannot get it to work...

Mike,

I have tested and it shows it like this:

In the beginning God created the heaven and the earth.&N

Regards

Jaco

Please check lines 3002,3003

Dear Jaco:

   Please check lines 3002,3003, to see if it's like this:

  $pattern_regex = '/('. $book_regex .')[:. ]+(\d{1,3}):(\d{1,3}(?:-\d{1,3})?)([#\^]\w+)?([\&]\w+)?(\s?)/e';

  $replacement_regex = '_bible_blsdivhtml("\1", "\2", "\3", "\4", "\5", "\6")';

MikeLee

It works but can you change it?

Mike,

 

I tested it again and it works, but can you change it to show the yellow Note icon instead of the text in the note so that when you move your mouse over the yellow note icon it will then show the text in the yellow pop up block?

Regards

Jaco