We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16782
    • 7 Posts
    Hi all. I’m looking to check into design capabilities of MODx with the experts before I get heavily into working with it.

    This site here:

    http://www.adyashanti.org/

    I have a client who wants his WordPress site remade very similar to this linked site. As you go down the pages with the vertical menu, each page draw is a different color scheme, presumably using css includes for each one or possibly selectors.

    I see that MODx admin has a "Uses Template" selection for each new resource. Can you have MODx utilize different stylesheets or templates in such a way that you could create different pages in the fashion of this site? Thanks.

      • 3749
      • 24,544 Posts
      MODx would be perfect for creating a site like the one in the link (and it would be a nightmare in WordPress, IMO).

      One key question is whether, unlike the one in the link, the site needs a fully tricked-out blog. That’s easy in WordPress and doable (but not so easy) in MODx.



        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 121
        • 36 Posts
        You could set the body ID to pull through the page name (or template variable, TV). So, events page would have:

        <body id="events">


        And using a little css you could give each page a specific colour.

        body#events {background:#ff0000}


        Easy peasy. The bloggin part, as said, is a bit trickier than wordpress (but certainly do-able).
          • 3749
          • 24,544 Posts
          As 4hero writes, it’s very easy to do that in MODx, even when using a single Template for the whole site. There are a number of ways to do it.

          Another one would be to create a mini CSS file for each page style and use a Template Variable on each page to specify the path to one to be used for that page. Or the CSS could go in separate chunks and be pulled in with @CHUNK in a Template Variable. Or a snippet could check the value of a Template Variable and insert the correct CSS, either directly, or from files. smiley
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 16782
            • 7 Posts
            Thanks for the help, if MODx can accomodate that then this will be the cms I use. It sounds like there are some things to learn to implement those pages.

            He doesn’t need blogging with comments, he just needs to change info and media on pages, it’s all info going out one-way except for sales.
              • 3749
              • 24,544 Posts
              Quote from: lbruce at Oct 22, 2009, 10:48 AM

              Thanks for the help, if MODx can accomodate that then this will be the cms I use. It sounds like there are some things to learn to implement those pages.
              If you have any trouble, ask in the Forums and we can give you more explicit instructions. smiley


              He doesn’t need blogging with comments, he just needs to change info and media on pages, it’s all info going out one-way except for sales.
              That’s fairly straightforward unless you need to archive them. Just put every event or blog post on its own page. It’s easy to set future publication dates for each one if you need that.
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting