1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Want to use Bible Scripturizer Javascript using Xenforo?

Discussion in 'XenForo Questions and Support' started by Daniel Alicea, Feb 5, 2011.

  1. Daniel Alicea

    Daniel Alicea Member

    Okay ... need some help ... I have limited coding experience but I would like to use the following javascript described here in our Xenforo site...

    Link:

    http://scott.yang.id.au/code/scripturizer-js/

    The goal is to have all bible reference on site pages and user's posts create these links ...

    Where would I place the code?
     
  2. Daniel Alicea

    Daniel Alicea Member

    Any takers?
     
  3. Mike

    Mike XenForo Developer Staff Member

    Try either the page_container_js_body or page_container_js_head templates.
     
  4. Daniel Alicea

    Daniel Alicea Member

    No luck yet.
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  6. Daniel Alicea

    Daniel Alicea Member

    Tried adjusting the src to various locations I've uploaded the script ... and no luck...
    Tested the javascript in an html page and it works ...

    Is there another place I can try inserting the script code ???
     
  7. Daniel Alicea

    Daniel Alicea Member

    Okay some progress ... when I inserted the script code in the page_container_body ... I am able to get it to work on pages I've created ..

    It does not seem to work on posts/messages in forum discussions ... how should I go about this?
     
  8. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    What is the URL of your forum? I can look at the source and try to find the problem.
     
  9. Daniel Alicea

    Daniel Alicea Member

  10. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You have the script way down at the bottom of the body. Try adding it to the head by using the page_container_js_head template.
     
  11. Daniel Alicea

    Daniel Alicea Member

    tried it there prior ... to no avail
     
  12. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Well I don't see any superficial problems. The script is in the source. The src is correct. Can you contact the author for support?
     

Share This Page