Page 1 of 1 (7 items)
This post has 6 Replies | 2 Followers

Posts 22
Joe Smysor | Forum Activity | Posted: Thu, Mar 31 2011 9:33 AM

I've tried using both the joomla module download and the custom code but I still can't seem to get reftagger to work on a Joomla 1.6 site.  Anyone have any ideas on how to fix it or where to look?

Thanks in advance!

Joe

 

Posts 296
Jonathan West | Forum Activity | Replied: Thu, Mar 31 2011 12:14 PM

To be honest, by far the easiest (and best) way to use reftagger with Joomla is to add it to your site code yourself without using a module. To do this log in to the admin back end as site admin, and go to the templates for your site. (Extensions/Template Manager).

Pick the relevant template (you may only have one, marked with an asterisk) and then Edit it (select it and click Edit).

Then choose Edit HTML.

This will open a text editor. Go the bottom of the file and add this code just above the </body> line. (NB this code selects NIV as default translation ... it also blocks reftagger from working on h1, h2 and h3 tags.)

<!-- RefTagger from Logos. Visit http://www.logos.com/reftagger. This code should appear directly before the </body> tag. -->

<script src="http://bible.logos.com/jsapi/referencetagging.js" type="text/javascript"></script>
<script type="text/javascript">
    Logos.ReferenceTagging.lbsBibleVersion = "NIV";
    Logos.ReferenceTagging.lbsLinksOpenNewWindow = true;
    Logos.ReferenceTagging.lbsLibronixBibleVersion = "NIV";
    Logos.ReferenceTagging.lbsNoSearchTagNames = [ "h1", "h2", "h3" ];
    Logos.ReferenceTagging.tag();
</script>

Then click on Save. All is done and should work fine. If you added a reftagger add-in you ight like to disable or uninstall it.

www.emmanuelecc.org

Posts 22
Joe Smysor | Forum Activity | Replied: Thu, Mar 31 2011 1:44 PM

Problem solved.

The text editor in 1.6 kept stripping out the code.  Once I turned it off it fixed everything.

Posts 13
Ernie Brogdon | Forum Activity | Replied: Fri, Aug 26 2011 10:52 PM

My template doesn't allow me to edit the HTML. It has a place to put code before and after the <body> tags, but when I paste in the script, it messes it all up (takes out the <Script> tags, replaces some of the quotes with the &quot; (but not all of  them). When I view source, it's placed within the Javascript tag, but because it's all messed up (I assume) it doesn't work.

My template is very complicated - it uses the Wright system, and I can't find any file (of the several dozen) that gives any indication that I could paste the script into it.

Any chance of a 1.7 version of the extension?

Thanks,

Ernie

Posts 13
Ernie Brogdon | Forum Activity | Replied: Sun, Aug 28 2011 2:38 PM

My template, by JoomlaShack, uses the Wright Framework, which both complicates and simplifies template customization. A little digging and I learned that the base source for these types of templates is the template.php file in the template's directory.

Simply rename template.php to custom.php, and it will override template.php. You can then edit custom.php by adding the script above closing body tag.

Similarly, you can add custom CSS to a template by adding a 2_template.css to the css folder (there's already a 1_template.css file). I used it to add a rollover effect to an html module.

The point of creating these files is that if you need to update the template version, you won't overwrite any HTML or CSS customizations you make. Since the css templates load in order, 2_template.css properties override the 1_template.css and "style" css files, which are loaded first.

This won't work for all Joomla templates, but those using the Wright Framework, and I assume other similar frameworks, should look into this as an option.

Clever, eh?

Oh, and as soon as I went to a page with a scripture reference on it - the link to RefTagger was nice and clear and popped up promptly when I hovered over it!

Posts 116
First Reformed Harrisburg | Forum Activity | Replied: Sat, Sep 10 2011 8:15 PM

Ernie,

That does not sound like a frame work issue, rather a 'code clean up' issue.  The Text editor is trying to keep you from messing up, how helpful.

You can add exceptions, but the easiest would be to go to your user manger, select the user you're logged in under, and set the editor to 'no editor' then go back and perform the action again.  This time it should honor the tags rather than making them unicode.


Grace and peace,

 

John

John Weathersby

Harrisburg, PA.

www.transcendchurch.org

Posts 2
Brady Stephenson | Forum Activity | Replied: Mon, Apr 2 2012 7:13 PM

The Psalm 119 Foundation has created a RefTagger module for Joomla! 2.5 that may be of help.  I believe 2.5 and 1.6 share a common format for modules.

Here is the link: http://www.thepsalm119foundation.org/about/news/14-reftagger-for-joomla-2-5.html

Page 1 of 1 (7 items) | RSS