|
Dudley Rose
Topic creator
registered since: 04/26/2009
Posts: 24
|
Does anyone know how to make reftagger work with Typo3. I had good luck putting the netbible tagger code in an HTML module that I use for daily Bible readings, but reftagger doesn't seem to work the same way.
Thanks,
Dudley
|
|
Christoph Koehler
registered since: 10/24/2005
Posts: 383
|
Dudley,
You can add this to the Setup section of your root template. Adjust the number 3 so it doesn't override anything that is already set:
[code]
page.headerData.3 = TEXT
page.headerData.3.value (
<script src="http://bible.logos.com/jsapi/referencetagging.js" type="text/javascript"></script>
<script type="text/javascript">
Logos.ReferenceTagging.lbsBibleVersion = "ESV";
Logos.ReferenceTagging.lbsLinksOpenNewWindow = true;
Logos.ReferenceTagging.lbsLibronixLinkIcon = "dark";
Logos.ReferenceTagging.lbsNoSearchTagNames = [ "h1", "h2", "h3" ];
Logos.ReferenceTagging.tag();
</script>
)
[/code]
Adjust the javascript as per Logos' instructions. This will add reftagger to all pages and elements, except headers. If you only want it on some pages, don't add it to the root template, but any extension template on the page you want references to be tagged.
We may at some point offer this in an extension, like eBible.
Christoph
|