We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21502
    • 16 Posts
    First, let me say that I really like MODx! I’ve been writing HTML & CSS for years, but have never found a CMS that was structured in a way that made sense to me. MODx is finally that CMS! Waaay better than Joomla or DNN. Now, on to my question...

    I’ve installed the sample site on my local machine and everything seems to run fine, except that when I create a new blog entry, the page refreshes with the modxcss template instead of the modxhost template. I can’t find a parameter anywhere that is causing this. Any ideas?

    Thanks,

    Jonathan
      • 4310
      • 2,310 Posts
      Inside the Manager try...
      Tools=>Configuration=>Site=>Default Template
      By default all new documents use the MOSxCSS template
        • 21502
        • 16 Posts
        Thanks! I knew there had to be a setting like that somewhere, I just couldn’t find it.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          There is a parameter to set the desired template for new documents
          # &template - name of template to use for news post
          You would add it to the NewsPublisher snippet tags.
          [!NewsPublisher? &folder=`2` &canpost=`Site Admins` &formtpl=`FormBlog` &footertpl=`Comments` &makefolder=`1` &rtcontent=`tvblogContent` &template=`templateName`!]
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org