Olark Help Center

Installing Olark in Modx Tutorial

Last Updated: Feb 24, 2012 04:25PM PST

Adding Olark to a ModX Site


For Templates: Most Modx Sites use BaseTemplate or a Homepage or Index template for the majority of the site, this is where you want to add Olark.


For Resources:

  1. Sign into your ModX manager panel:

  2. Access the elements section.
    3
  3. Create a new chunk and name it olark.
  4. Copy your Olark JavaScript code:

  5. Paste your code into the olark chunk.
    4
  6. Don't Forget to hit save.
  7. Depending how you set up your ModX site you can add Olark to a Template or to separate pages/resources. 
  8. Access the template section.
  9. On the template that you wish to add Olark add the below chunk tag. 
    Depending on your ModX version
    For 3.0+ (Revolution) use [[$olark]]
    For 2.0 and below (Evolution) use {{olark}} 
    5
  10. That's it, you're done!.


  11. Access the resource section you wish to add Olark to.
  12. Turn off the editor
    7
  13. Depending on your ModX version
    For 3.0+ (Revolution) use [[$olark]]
    For 2.0 and below (Evolution) use {{olark}} 
    5
  14. That's it,  now you're really done!