We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2850
    • 23 Posts
    Hi all, I am just wondering if it would be possible to make a single page website using ModX Revolution.
    If yes, what would be the best way to complete this ? Ditto ?
    Was trying to find something about the subject, but without any luck.

    Thanks all for suggestions...
      • 19132
      • 199 Posts
      I would use the Home page as container using getResources to display the Resources you want on the home/one page.

      Perhaps easier would be just having a single HTML page with no template.

      I know single page sites have become very popular and if I were to do one I wouldn’t bother with ANY CMS, just use HTML straight up.
        MySQL: 5.0.45
        PHP: 5.2.6
        Linux 2.6.9-023stab048.6-enterprise #1
        cURL enabled
        PDO enabled
        FFox Apple 3.6.8
        Firebug DIS-abled
        • 33968
        • 863 Posts
        If you mean one of those long, scrolling single page sites that are recently in fashion then you could do it a number of ways.

        If the content is fairly limited, just use TVs for each section heading and content area. Use form customisation to split them across multiple TV tabs in the manager to break it up into each section. That way you’ll only need the one resource smiley

        If you prefer to use multiple resources but pull all the content onto a single page then you would use getResources for that, not Ditto.

        You could also look at a variation of this AJAX technique. Or perhaps look into infinite scroll which is pretty cool!
          • 2850
          • 23 Posts
          Thanks to all for reply. Will take a look on it......