We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9389
    • 1 Posts
    Hello, I’m a total newbie so please don’t get mad if I posted in the wrong area.

    I’m looking to embed the tiltviewer application (http://www.simpleviewer.net/tiltviewer/) into my pages but I don’t know how to make the script show up. I tried turning their script into a chunk and calling it from the resource page but then I realised that tiltviewer requires the calling page to have all the files in the same folder as that page.

    I was hoping someone had already successfully embedded tiltviewer into their modx site and could give me pointers. Thanks in advance.
      • 3109 ☆ A M B ☆
      • 894 Posts
      Try placing the files in the root of your MODx install is, you will have the index.php and config.core.php ht.access and other files and folders in the directory.

      Place your files there and it should work.

      I have not looked at the script code but if its php you can put it in a chunk and then call that anywhere within your MODx site.

      Let me know if it works, Good Luck.
        Benjamin Marte
        Interactive Media Developer
        Follow Me on Twitter | Visit my site | Learn MODX
        • 1169
        • 312 Posts
        I know nothing of TiltViewer but am pretty sure the rule is :-

        Chunks only html,placeholders
        Snipets PHP

        Regards
          DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
          • 3109 ☆ A M B ☆
          • 894 Posts
          Quote from: allanb at Oct 19, 2010, 10:11 AM

          I know nothing of TiltViewer but am pretty sure the rule is :-

          Chunks only html,placeholders
          Snipets PHP

          Regards

          That’s what I meant, thanks for clarifying smiley
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX