We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • That sounds like a mod_security issue. Can you save a page with no template and no content, just the name and alias?
      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
      • 41757
      • 4 Posts
      Yes, I can save a page in the manager with no template assigned and a name in the "Resource Alias" field and no content.

      Dont know what this means though wink

      Luckily this is on localhost using MAMP and not a live site (yet).
        • 41757
        • 4 Posts
        FURL´s was the culprit!

        But is this a known bug of some sort? How does one use FURL´s properly then?
        • Check the server requirements, and compare to the host, and check the .htaccess file closely. One character wrong or out of place will throw the whole thing into a tailspin.

          http://rtfm.modx.com/display/revolution20/Server+Requirements
            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
          • Ah, sorry; I thought you meant that you got the error when you tried to save the resource.

            Rename or copy the ht.access file to .htaccess, and if you have your MODx installed in a subdirectory (such as htdocs/revo230/) edit its RewriteBase line:

            RewriteEngine On
            RewriteBase /revo230
            


            Then enable Friendly URLs in the System Settings.

            For all you Mac users, this is a very handy little dashboard widget for showing/hiding hidden files. http://www.apple.com/downloads/dashboard/developer/hiddenfiles.html
              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
              • 41757
              • 4 Posts
              THX for the tip sottwell! smiley
                • 41958
                • 65 Posts

                may I ask an advice?
                I am a beginner to modx and after reading a bunch of tuts. I becam somewhat lost in them.
                May I ask what method would be best for a small comany website, particularly for the portfolio section.
                In that I would like to have sub categories like webdesign, print desing etc. Each would have the completed projects in them (with some text and photos for each) one after another. But only one photo displaying (shadowbox).
                Now I have all this working already but with a pure php +html form and no cms.
                What I would like is to be able to recreate this so that it would be easier to maintain with modx.
                How would I go about doing this?
                Is there a way I can manage for example the portfolio part with ease with modx?

                Many thanks
                  • 4172
                  • 5,888 Posts
                  you could create a Resource-tree like that:

                  -portfolio
                  --webdesign
                  ---project1
                  ---project2
                  ---project3
                  --print design
                  ---project1
                  ---project2
                  ---project3

                  for some projectimages for each project, you can use a MIGX-TV on your project-resources

                  If you have hundrets or more projects and the resource-tree will get to big, its possible to hide all projects from tree and manage them by a MIGXdb-TV
                  on the category-Resources.
                  Or it would also be possible to manage the project-resources by the articles-addon.

                  Third option with more work involved would be custom-tables for projects and a CMP (custom manager page) to manage them.
                  Also with this option MIGXdb can help to create the CMP.

                  The easiest and fastest way to develop is the first option. (Just create Resources in the Resource-tree)
                  Not a big deal to switch later to the other options.














                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 41958
                    • 65 Posts
                    Hi,
                    thank you for your suggestions.
                    I think I will consider latter 2 solutions. What do you think which one of those two would be more ideal? MIGX-TV or articles-addon? After researching MIGX, I think it sounds very interesting. Am I understand it correctly that I can create a custom CMP (custom manager page) for the back end with MIGX to input data (text, photo etc) and for the front end I could have for example these to show up?

                    here is my portfolio item section I would like to recreate via modx:
                    <li class="project">
                    <h2>some text</h2>
                    <div class="proj-content">
                    <div class="url"><a href="http://something.com">www.something.com</a></div><!--end url-->
                    <p>some text that talks about the site dsdkfj ksdlj fsdfj ksdjsdfsdfjsdfsdsdsd.</p>
                    </p>
                    <div class="proj-box">

                    <div class="slides">
                    <div class="slide-nrs">1 of 2</div>
                    <a href="img/portfolio/something1.png" title="something web site" rel="shadowbox[something]">
                    <img src="img/portfolio/something0.png" alt="something web site" width="589" height="400" /></a>
                    <a href="img/portfolio/something2.png" class="structural" title="something web site" rel="shadowbox[something]">something web site</a>
                    <ul>
                    <li>Design</li>
                    <li>CMS</li>
                    <li>CSS/(X)HTML</li>
                    <li>Programming</li>
                    </ul>

                    </div><!--end slides-->
                    </div><!--end proj-box-->

                    </div><!--end project content-->
                    </li><!--end project--> [ed. note: openstep last edited this post 11 years, 5 months ago.]
                      • 42544
                      • 7 Posts
                      I already create the new CMP.
                      with MIGX.

                      How to write the code on Snippet to show the content from table's field on MySQL?

                      Thank you.
                        Web developer at Socket9. Bangkok, Thailand.