We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54118
    • 2 Posts
    Hello smiley
    I'm new in modx development,and I want to learn theme development, but can't find any theme development tutorials out there.
    If you guys have any suggestions for me, I would be thankful. I read the modx guide and tried out to do some dynamic stuff using tag syntax.
    Now i'm experementing with pdoTools, because I heard that is a great option for development.
    Before modx I was using and developing things in Wordpess, but after some research I found that modx is the better solution for me.
      • 17301
      • 932 Posts
      Bobsguides is a great resource and he has a great book available that covers more than everything you'll ever need.

      I started putting together a rough video tutorial on setting up a basic site but never fully completed it but it should still get you started:
      https://www.youtube.com/watch?v=MonNK0kfDUc&list=PLpjguCQTJVFwpWGqCDsoprzZ_fmLvN6vY

        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 54118
        • 2 Posts
        Quote from: lkfranklin at Mar 16, 2018, 10:01 AM
        Bobsguides is a great resource and he has a great book available that covers more than everything you'll ever need.

        I started putting together a rough video tutorial on setting up a basic site but never fully completed it but it should still get you started:
        https://www.youtube.com/watch?v=MonNK0kfDUc&list=PLpjguCQTJVFwpWGqCDsoprzZ_fmLvN6vY



        Thanks for the answer LK smiley
        I will watch your video series.
        Basically I have my own static template that contains a home page, about,contact,blog and portfolio page. I made it in Wordpress as a theme, and know I want to make it in modx.
        [ed. note: liber94 last edited this post 8 years, 7 months ago.]
          • 3749
          • 24,544 Posts
          Basically, in MODX you would put the parts of that theme that go on every page in a MODX Template, and then put the page-specific content of each page into the Resource Content field of individual resources that all use your template. You'd have five resources with these pagetitles: home, about, contact, blog, and portfolio. The blog and portfolio pages would probably have child pages as well. The Wayfinder extra creates menus automatically based on the structure of the Resources tree in the MODX Manager. It can be used in your template to create a complete menu for the site, and/or on individual pages like the portfolio page to create a different menu for the page's children.

          I use Articles for my blog, but many people think it's outdated.

          You can then (optionally) move some of the blocks of HTML code in the Template into chunks (things like the header and footer) and replace them in the Template with chunk tags which will pull the content of the chunks into the page:

          [[$chunkName]]
            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