We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39954
    • 5 Posts
    Hi all,

    First, I am a ModX newb so please forgive any ignorance!

    I am creating a site that has normal pages, then a set of pages optimised for phones.

    Is there a way I can publish content to both sets of pages at once, rather then copy, pasting it between the two?

    Thanks1
      • 33968
      • 863 Posts
      Sure, you can use the same resource but just switch the template for mobile.

      Try this addon: http://modx.com/extras/package/mobiletemplateswitcher
        • 39954
        • 5 Posts
        Thanks Lucas,

        But I am afraid the project I am doing is a little more complicated -

        I a basically need 2 pages to display the same content.

        I was looking into it and someone mentioned something called Ditto?
          • 3109 ☆ A M B ☆
          • 894 Posts
          If your using Revo what you need is getResources. [ed. note: benmarte last edited this post 14 years, 4 months ago.]
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX
            • 27708 MODX Staff
            • 2,502 Posts
            Depending on how you want to do your mobile site, you can also use Symlinks to do this in Revo which allows you to display the same content but using a separate template as well. This is different than what Lucas suggested but either would work. If you're intending to display the entire page in two types of views vs lists of content this would be better than using getResources or Ditto.
              Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub