We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47286
    • 1 Posts
    Hi Modx community.
    I am speculating whether to change my current CMS to this one. I've really liked the CMS I'm using but I've made virtually no progress in around 5 years. Admittedly I've only just really got serious about using it but I still feel I could have made much more progress using something like this.

    So here's my current site that I would be converting into modx.
    http://www.etchmo.com

    I have several requirements and basically I'm looking for some pointers. I used the modx cloud trial and it was easy enough but I got a bit stumped at the point of adding a blog, that kind of thing.


    1. Must support dynamic images; If you look on the homepage I have a large image slider, then the portfolio page a different image is output. These images are from the same file and cached outputs so saves me bandwidth, etc. Is there a similar system I can use with modx? Plugin or otherwise. Also if you click on a portfolio entry, the same images are attached in a slider. Basically I don't want to be uploading tons and tons of the same image or wasting time resizing/cropping them. Whilst also having them linked to specific entries. The homepage slider updates automatically, linked to 'Latest Work' posts while not being directly in that line. It's easy, nice, saves me time uploading new ones every time.

    2. Blog functionality obviously. See current blog at http://www.etchmo.com/journal. It currently runs of a CKEditor based thing but has images attached to entries if I needed it, the same way as the portfolio.

    3. Video support. Don't know if this would be native but I'd like to support video posts... Ideally a lot better than mine currently does. If I can make a setup like http://www.polygon.com, that's great for future projects.

    4. The following requirements are for another future project:

    5. Forum; this would be for a different project. I've noticed the Discuss plugin (this!). Looks great. Would it be possible to filter news posts off this? Like a glorified blog. Maybe even have a separate 'blog format' on the main site as well, using the forum entries. Standard Portal really. How flexible is discuss?

    6. Loops. Obviously any navigation system, comment or blog system has this. So it can. But how difficult would it be to implement the same functionality into a slider or masonry framework? This is linked to 2 really.

    7. Users. User pages. User submissions. Comments and sign in with social media big plus.

    8. If I install modx on my own server, will the package manager still work the same? That's a pretty cool feature. Also in this scenario, how difficult is updating?

    Either way I will be installing modx on my own server and trying it out. Anyone who can point me to tutorials or related resources/threads would be a massive help. [ed. note: etchmo last edited this post 10 years ago.]
      • 30585
      • 833 Posts
      @etchmo, you should definitely give MODX Revolution a try. If you spend sometime with it, you'd love how easy life turns out to be.

      Let's look into your requirements and see how you can easily meet them with MODX:

      1. Must support dynamic images. If you look on the homepage I have a large image slider...
      This is super easy and you can approach it a tons of different ways. The easiest solution would be any existing extra/addon like Slideshow Manager CMP. With a few clicks, you'll be on your way to Nirvana.

      But the beauty of MODX is that you can completely control your input and output. You don't need to be enslaved by an extra/addon to get the results you want. If you can spare 5 minutes or so, you should absolutely try MIGX (a killer addon that you should add to your toolset). There's a video tutorial on how to setup an image gallery using MIGX. You'd follow the exact same steps for your Image Slider.

      In your case, I would create 3 Template Variables: HomeSlider, HomeSliderTitle, HomeSliderImage. HomeSlider being the main Template Variable used by MIGX (as described in the video) that you'd attach to your home page template.

      The content of the form tab (of your HomeSlider TV ) (Step 2.1 Form Tabs) could look like this:
      [
      {"caption":"Info", "fields": [
          {"field":"title","caption":"Title","inputTV":"HomeSliderTitle"}
      ]},
      {"caption":"Image", "fields":[
          {"field":"image","caption":"Image","inputTV":"HomeSliderImage"}
      ]}
      ] 
      


      Once you've installed MIGX and set it up in the back-end as shown in the video and discussed in the MIGX documentation (link above), you can use the following steps for your front-end set-up:

      To display your slideshow:
      <div id="slider">
        <div class="royalSlider rsDefault">
          [[!getImageList?
          &tvname=`HomeSlider`
          &tpl=`HomeSliderTpl`]]
        </div>
      </div>
      

      In your HomeSliderTpl chunk, paste the following code:
      <img title="[[+title]]" class="rsImg" src="[[+image]]" />

      And voila! Now you can edit, add, reorder or delete your slideshow images with just a few clicks.

      If the slideshow images don't change often, you can skip MIGX and SlideShow Manager CMP altogether. You can simply put the content of your slider in a chunk or in a Template Variable (with the input field set to text area). That's another way MODX gives you the freedom to tailor your site however you see fit.

      2. Blog functionality
      You can use Articles for this. The Editor to use is your choice. I prefer TinyMCE, as it's more up to date and you can customize it in system settings. For a blog-friendly TinyMCE look, I keep the setting_tiny.custom_buttons2 system setting empty and use the following key for the setting_tiny.custom_buttons1 setting:
      bold,italic,underline,separator,hr,separator,pastetext,pasteword,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,separator,image,modxlink,unlink,separator,code,separator,styleselect,formatselect

      If you value hardwork, you should definitely try Redakcor. It's a premium addon developed by a few very smart MODX community members.

      3. Video support
      A video is just another type of content. What you can do with text (as far content management), you can do with Video or audio for that matter.
      Articles and GridClassKey are perfectly appropriate for this.

      If all your videos are stored on YouTube, you can store the YouTube URL on a Template Variable and use an embed code like this:

      On the child video page: (www.mysite.com/videoblog/4/20/2014/myvideo.html)
      <iframe width="640" height="360" src="[[*YouTubeURL]]" frameborder="0" allowfullscreen></iframe>

      or when retrieved via Articles on another page, like the blog listing page (www.mysite.com/videoblog/)
      <iframe width="640" height="360" src="[[+tv.YouTubeURL]]" frameborder="0" allowfullscreen></iframe>


      4. Forum
      As you well noted, Discuss takes care of this. I'll let the community address the sub questions.

      5. Loops
      Can you clarify your question?

      6. User Management
      MODX handles user management extremely well. So well that it might seem a bit intimidating at first. I recommend Login to make yourself at home with the phylosophy of user management à la MODX. You should also read about Permissions in MODX Revolution to get an even better understanding.

      As far social Media integration, I believe there are a few addons for this. Just search the forums or the addon repository. Again, like everything MODX, you can do this your own way if you're comfortable playing with APIs and SDKs. You can create your own snippets, etc. The official docs are very rich in this regard.

      7. If I install MODX on my own server, will the package manager still work the same?
      Absolutely! Usually if you're able to install MODX on your server without a glitch, the package manager will also work without glitch. If it doesn't, it's usually a matter of making sure all basic requirements are met.

      Finally,

      MODX is a blank canvas for your creative vision. Power anything today—from responsive HTML5 websites to a mobile CMS for native iOS or Android apps—and whatever comes next. MODX fits your needs without compromise … not the other way around.

      --www.jasoncoward.com

      That quote sums up what MODX really is.

      I Hope this helps and welcome aboard! [ed. note: treigh last edited this post 10 years ago.]
        A MODx Fanatic
      • ^^^ What treigh said, all except this:

        In your case, I would create 3 Template Variables: HomeSlider, HomeSliderTitle, HomeSliderImage. HomeSlider being the main Template Variable used by MIGX (as described in the video) that you'd attach to your home page template.

        The content of the form tab (of your HomeSlider TV ) (Step 2.1 Form Tabs) could look like this:

        [
        {"caption":"Info", "fields": [
            {"field":"title","caption":"Title","inputTV":"HomeSliderTitle"}
        ]},
        {"caption":"Image", "fields":[
            {"field":"image","caption":"Image","inputTV":"HomeSliderImage"}
        ]}
        ]

        You actually do not need to create template variables for the title and image (still need the MIGX TV, but not the other two). Now you can use inputTVtype for most general tvs in MIGX (tvs without custom inputs). So your code for the form tab would look like this instead.

        [
        {"caption":"Info", "fields": [
            {"field":"title","caption":"Title","inputTVtype":"text"}
        ]},
        {"caption":"Image", "fields":[
            {"field":"image","caption":"Image","inputTVtype":"image"}
        ]}
        ]
          Frogabog- MODX Websites in Portland Oregon
          "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
          Having server issues? These guys have MODX Hosting perfected - SkyToaster
          • 24414
          • 45 Posts
          Quote from: frogabog at Apr 21, 2014, 06:02 PM
          You actually do not need to create template variables for the title and image (still need the MIGX TV, but not the other two).

          You are right in not using a TV for the text input, however you do have the advantage of using Media Sources when you create an image TV. That will stop users being able to traverse too much of the file system, and in turn reduce difficulties arising from the variety of locations available and the likelihood of putting things in odd places.
            • 4172
            • 5,888 Posts
            however you do have the advantage of using Media Sources

            Also this is possible without creating an extra TV.
            Its possible to setup a global mediasource for the MIGX-TV or another mediasource for each field.
            Best done by using the MIGX-configurator-CMP to set up the TV-configuration (form and grid-columns)
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 24414
              • 45 Posts
              Excellent! Nice to be able to reduce the profusion of TVs we can end up with at times.

              I think I have a bit of housekeeping to do!
                • 30585
                • 833 Posts
                Thanks folks.
                  A MODx Fanatic