Joomla and Reftagger

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
Comments
-
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
0 -
Problem solved.
The text editor in 1.6 kept stripping out the code. Once I turned it off it fixed everything.
0 -
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 " (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
0 -
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!
0 -
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
0 -
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
0