using reftagger with

Page 1 of 1 (4 items)
This post has 3 Replies | 1 Follower

Posts 3
Jason Mansfield | Forum Activity | Posted: Thu, Mar 9 2017 9:09 AM

I'm attempting to use reftagger on a site, but it only works when I reload the page.  I did find a conversation about this on the thread, but it is way over my head.  I don't code.  I'm looking to see if someone can show me how to alter the code so that reftagger works all of the time.  I'm under the impression that there is something called "AJAX" messing with this working correctly?  Once things have been configured how I had hoped, this is what my code looks like.

var refTagger = {
settings: {
bibleVersion: "ESV"
(function(d, t) {
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.src = "//";
s.parentNode.insertBefore(g, s);
}(document, "script"));

Posts 3
Jason Mansfield | Forum Activity | Replied: Thu, Mar 9 2017 6:41 PM

the site is  if you go to the site, it won't use AJAX to load the main pages, but if you were to join the course for married people, it has a couple of lines of random writing in it that include Bible references.  On initial loading of a new portion of the course within the LMS, the page doesn't have any links.  Once the page is refreshed, however, the links work appropriately with reftagger.  

The site isn't actually set up completely.  I'm just playing around with the LMS to see if this is the one that I want to really host my content on, and if there's no way to use Reftagger or something like it, then I'll be looking into a different LMS.  As it stands, I think this is the best LMS option for what I am intending to do.  Hopefully someone can help!

Posts 3
Jason Mansfield | Forum Activity | Replied: Thu, Mar 9 2017 7:24 PM

Actually, you can see the error without enrolling in the LMS. if you go to this page, it should load correctly at first, but if you then click the logo in the top left and then alternate between that link and "all courses", you will find that the landing page for any of the courses will fail to load correctly.

Posts 1246
David Mitchell | Forum Activity | Replied: Fri, Mar 10 2017 2:40 PM

It appears that teachable does not have any obvious hooks to disable AJAX page loading. Some knowledge of JavaScript would be required to work around this issue.

David Mitchell
Development Lead

Page 1 of 1 (4 items) | RSS