Catholic Reference Extension

July 27, 2007 at 13:56

Filed under: Uncategorized — Pistos @ 13:56

About

The CRE is a Wordpress plugin which activates both Scripture references and references to the Catechism of the Catholic Church, showing non-intrusive popups when you mouseover them.

Example

Jesus builds his church: Matthew 16:16-18. One holy, catholic and apostolic Church: CCC 748,750. The ark of the New Covenant: Revelation 11:19; 12:1-2.

FAQ

Why does the CRE show the passages without formatting, and not as nicely formatted popups like I see in the examples?

Please download the CRE from this page (see below).

For some reason, an incomplete package for the CRE is being circulated, and I don’t know why or where it is coming from, but it is missing critical components of the CRE (the Javascript and CSS). Installing such a broken package will give you a non-functional CRE!

It is likely that the WordPress “auto-install” feature will give you a broken CRE, so do not use auto-install to install the CRE.

Download

Wordpress Plugin

Version 0.8.16 released 2009-10-26.

  • Version 0.8.16, without texts zip 30kb | tar.bz2 27kb
  • Version 0.8.16, with texts zip 2099kb | tar.bz2 1417 kb

Texts

The CRE needs the texts in order to do its work. If you did not obtain the full package (above), then download these texts and unpack them in your catholic-reference/ plugin directory. They will be stored under catholic-reference/texts/.

Usage

Type this See this
John 3:16 John 3:16
CCC 1843 CCC 1843
`Matt. 28:20
Matthew 28:20
20Teaching them to observe all things whatsoever I have commanded you: and behold I am with you all days, even to the consummation of the world.
`CCC 987
CCC 987
¶987 "In the forgiveness of sins, both priests and sacraments are instruments which our Lord Jesus Christ, the only author and liberal giver of salvation, wills to use in order to efface our sins and give us the grace of justification" (Roman Catechism, I, 11, 6).
!Isa. 60:53-20 Isa. 60:53-20
!CCC 740-750 CCC 740-750
[nocathref] No references activated: CCC 860-862 Sirach 2:1 No references activated: CCC 860-862 Sirach 2:1

Sites Using the CRE

Blog Hosts

Blogs

Matthew 16:16-18
View in: NAB NIV KJV NJB Vulg Greek
16Simon Peter answered and said: Thou art Christ, the Son of the living God.
17And Jesus answering, said to him: Blessed art thou, Simon Bar-Jona: because flesh and blood hath not revealed it to thee, but my Father who is in heaven.
18And I say to thee: That thou art Peter; and upon this rock I will build my church, and the gates of hell shall not prevail against it.
Revelation 11:19; 12:1-2
View in: NAB NIV KJV NJB Vulg Greek
1119And the temple of God was opened in heaven: and the ark of his testament was seen in his temple, and there were lightnings, and voices, and an earthquake, and great hail.
121And a great sign appeared in heaven: A woman clothed with the sun, and the moon under her feet, and on her head a crown of twelve stars:
2And being with child, she cried travailing in birth, and was in pain to be delivered.
John 3:16
View in: NAB NIV KJV NJB Vulg Greek
16For God so loved the world, as to give his only begotten Son; that whosoever believeth in him, may not perish, but may have life everlasting.
CCC 748,750
¶748 "Christ is the light of humanity; and it is, accordingly, the heart-felt desire of this sacred Council, being gathered together in the Holy Spirit, that, by proclaiming his Gospel to every creature, it may bring to all men that light of Christ which shines out visibly from the Church." These words open the Second Vatican Council's Dogmatic Constitution on the Church. By choosing this starting point, the Council demonstrates that the article of faith about the Church depends entirely on the articles concerning Christ Jesus. The Church has no other light than Christ's; according to a favorite image of the Church Fathers, the Church is like the moon, all its light reflected from the sun.
¶750 To believe that the Church is "holy" and "catholic," and that she is "one" and "apostolic" (as the Nicene Creed adds), is inseparable from belief in God, the Father, the Son, and the Holy Spirit. In the Apostles' Creed we profess "one Holy Church" (Credo . . . Ecclesiam), and not to believe in the Church, so as not to confuse God with his works and to attribute clearly to God's goodness all the gifts he has bestowed on his Church.
CCC 1843
¶1843 By hope we desire, and with steadfast trust await from God, eternal life and the graces to merit it.
  • Share/Bookmark

138 Comments »

  • biblista says:

    Hi, some Catechism references do not seem to work. Could you please visit this link and tell me why certain references are not coming up?

    Here is the link: http://bws.biblista.net/2009/05/the-coming-of-the-holy-spirit/

    Thank you in advance.

  • Pistos says:

    biblista: I have confirmed the problem. I think there is a bug in the plugin. For now, you can work around it by making those four lines into a list (<ul>).

  • Matt says:

    Just found this plug-in for a site I’m working on. Great job!

    One quick question though – is there any way to add the words “Douay-Rheims” after the scripture quotations? In other words, in the pop-up I would like it to display something like:

    1 Peter 3:15 (Douay-Rheims)

    The site I’m designing will be sensitive to where the quotes come from and I would like to give this added assurance.

    Thank you!

  • Pistos says:

    @Matt: Try this new version I just made. It has an option in the CRE settings page to show or not show the Bible version in the popup.

  • Matt says:

    Thanks Pistos – I’m uploading it now. Once the site is finished I’ll send you the link so you can add it to your list. I can’t give it to you yet because its on the DL at the moment.

  • I’ve tried valiantly to get this to work. I get the same kind of output as Mike Roesch, above, in both firefox and safari. These are popular browsers, and I can’t use this plugin if it doesn’t work with them, so I’m going to disable it. I had high hopes!

  • Pistos says:

    @Father Pat: I’d like to work with you to get it going. Unfortunately, if you’ve disabled the plugin, I can’t pay a visit to see it working or failing to work. If you are able, perhaps you could set up a second, alternative test site running a duplicate of your blog under a different domain or subdomain, then we can test over there. If you don’t have the luxury of additional hosting, I could look into it for you if you packaged up your blog, both the files (PHP, HTML, CSS, etc.) and the database dump.

    The CRE has been used on many blogs, so I believe there is not a major issue with the plugin itself. I just tested it now under Firefox 3.0.11, and my site appears fine.

    One thing you might try: Ensure the “draw drop shadows” option is disabled (unchecked). I notice just now that when I enabled it, it causes some rendering problems.

  • Hi, Pistos, thanks for your offer to help. I have re-enabled the plugin and put in a test post at http://blog.fathermulcahy.com/2009/07/30/testing-1-2-3/ … Anything you can do to help would be very much appreciated, because I would LOVE to use this plugin! BTW, at your suggestion, I did disable the drop shadow option, but no change. Thanks.

  • Hello, Pistos. If you can suggest anything, it would be great. I have the plugin activated now, and did a test post. You can see it at http://blog.fathermulcahy.com. Thanks!

  • Pistos says:

    @Father Pat: Sorry for the delayed response. I see you’ve taken down the test posts again, for worry of having a broken site for any lengthy period of time. How about this: Is there any way you can package up your Wordpress theme, and send it to me? pistos at “gee”mail dot com. As well, please list all your active plugins, so I can see if there are potential conflicts.

  • Any chance for a Drupal-ized or Joomla-tized version of this plugin?

    I would be willing to help :)

  • mak sev says:

    I am experiencing the same problem as Mike Roesch about is there any work around for this?

  • Pistos says:

    @mak sev: Thankfully, you still left the plugin running by the time I caught this comment. I went to look at your site, and it looks like the plugin’s Javascript is not installed. It should be at http://kursilyo.com/wp-content/plugins/catholic-reference/catholic-reference.js . Try to ensure that it’s there, then check if the plugin works at that point.

    (edit) In fact, the CSS isn’t there, either. None of the items under /wp-content/plugins/catholic-reference/ are present. That’ll definitely make the plugin not work right.

  • Pistos says:

    @Jeff: I don’t have a lot of free time, so I don’t think there’s much chance of getting that out of me, especially since I run neither Drupal nor Joomla for any sites. Feel free to use the code or the texts, though. The plugin is open source, after all. :)

  • mak sev says:

    thanks pistos finally got it to work seems to be a problem with the path.

    Thanks and God Bless!

  • Pistos says:

    @mak sev: Great! Glad you got it sorted. Can you share what you fixed, so as to help other people that run into the same issue?

  • mak sev says:

    I’ve installed CRE using wordpress auto install

    it installed on the folder catholic-reference-for-wordpress

    /public_html/wp-content/plugins/catholic-reference/texts/ccc

    i just removed the “for-wordpress”

    then it worked

  • Thanks, Mak, that’s how I installed CRE also, and I tried it and it worked. The only thing is now, I get two popups for every time I go over the link, but I’ll take that rather than it not working at all!

    Peace,
    Fr. Pat

  • Pistos says:

    @Father Pat: Thanks for returning and trying the CRE again. I’ve visited your site, and seems that the Scripture references are not activating, either by hover or by click. Are they working for you?

    As for having two popups: See if disabling the drop shadow in the CRE admin settings makes any difference.

  • biblista says:

    The CRE works funny on FireFox 3. Right now it works well with IExplore. I don’t know whether you’ve checked browser compatibility issues with the plugin.

  • Pistos says:

    @biblista: Please be more descriptive. :) I just tested it now with Firefox 3.0.14, and it works as I expect on this page.

  • Jon says:

    Hi Pistos,

    This is a way cool plug in, but I can’t seem to make it work? I did the manual ftp to my site and nothing. I have a blog that talks about living the will of God and plan to use a lot of references to it. Any idea?

    Jon

  • Pistos says:

    Jon: Are you still having trouble? I visited your site, and it looks like it’s working.

  • Jon says:

    Hey Pistos,

    Yes, I have it working, sorry it took a while to get back to you. I did just post a post with quite a few references in it and when I mouse over them they keep brining up the same Scripture? It is the post titled Thanksgiving.

    God Bless,

    Jon
    themastershabit.com

  • Kelly says:

    Hi. Thank you for this plugin. I’ve been fighting with it however for awhile. Managed to fix the missing texts and rename the folder. However, I’m not getting the popup. Blockquote works fine. Any ideas? Tried it in IE and FF. Thank you!

  • Pistos says:

    @Kelly: Have you installed it from the tarballs available for download from this blog? You need to ensure you have the CSS and Javascript files in the right places, as well. What’s the URL of the website you’re trying to install to? I can take a look.

  • Kelly says:

    Hi. Thank you for the fast reply! I downloaded it from here. Have deleted and moved things around a few times trying to figure it out. Moved the java out of its own folder and into the text, into the main and back again.

    The jquery,option-hover, & option-click.js are in their own folder in the main catholic-reference folder (which is in the correct plugin folder). The catholic-reference.js, .css, and .php are in the main catholic-reference folder.

    Here’s the site:
    olp.techbasix.com/news/

    Thanx again for your help :)

  • Bob says:

    Pistos –

    Plugin installation was flawless. No problems at all! I was going to use something else, but the addition of the use of the DRB and an option to link to the NAB made your plugin the clear choice.

    The hands-down winner, IMHO, for any Catholic WP blog site.

    God Bless You Richly!

    Bob
    CatholicBibleInAYear.org

  • Kelly says:

    Hi again. I am also unable to disable the Catholic Reference on pages even though it does show the option. I can fill the check box but when I update the page the check box unchecks itself anyway.

  • Pistos says:

    @Kelly: It looks like the Wordpress theme you are using has some CSS that is conflicting with the CRE. To verify, try temporarily switching to a different Wordpress theme (such as the default one).

    There are several things about the theme that conflict. For starters, the post content is set to “overflow: hidden”. You can remove that instruction from two places in style.css: line 1730 and line 1047.

    Then around line 685, set the z-index of the Block class to -1 instead of 0.

    There are probably several other changes you need to make to the theme to make it cooperate with the CRE. It’s probably easier just to pick a different theme.

    Let me know how it goes.

  • Kelly says:

    You are correct. It works in a plain theme. If I knew more about css…. I’ll give your instruction a try… see if deleting a couple lines and changing that block class will work.

    I have a dummy site that is identical to the actual site, so any mess ups are recoverable. Thank you again.

  • Kelly says:

    Well I was going to give it a try but my css isn’t showing the same line numbers as yours so I would be just shooting in the dark at which line to remove, which to keep. :( I put a lot of work into this theme so not so easy to just use a new one. Guess I do without. Thanx anyway.

  • Pistos says:

    @Kelly: Sorry about that. If I have time, I will see if I can cook up a new CRE version which can work with themes like yours.

  • Kelly says:

    Thanx for trying anyway! Happy New Year :)

  • Hi, great plugin! Thanks for this. We are using it at our site but I just noticed that for refs longer than two refs, it doesn’t just fail to link the extra refs, it deletes them altogether.

    Matthew 4:18; 10:2; 14:28-29; 15:15-16; 16:16, 18, 22-23; 17:1, 4, 24, 26; 18:21; 19:27; 26:33, 35, 37, 40, 58, 69, 73, 75;

    Becomes:

    Matthew 4:18; 26:33,75;

    Anything I’m doing wrong or is there a work around for this?

  • BTW, I can insert “Matthew” between every two refs and it works. I was just hoping there was a way to get it to link without that (or at least get it not to delete the extra ref.)

  • I want to use your plugin to enhance my website. However, I can get it to only partially work.

    If I put in:

    CCC 1843

    I DO NOT get a popup

    But…

    If I put in:

    `CCC 1843

    I get the inline reference.

    Any help?

    Thanks!

  • Pistos says:

    Kenneth: Can you put up an example page for me to take a look?

RSS feed for comments on this post. TrackBack URI

Leave a comment

You may use Markdown syntax in your comment.

Powered by WP Hashcash

Powered by WordPress.