We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8214
    • 28 Posts
    hail2skins:

    Those text editors are all a bit buggy. That is what is inserting or changing your code when you save.

    If you know the code yourself then disable all editors, then you will not get your code changing like that.

    I learned the code because of these damn editors that change your stuff without giving you any control or ability to stop them. After I finished bashing my head against a brick wall, of course. Deleted them and will never use an editor again. I am no expert but that’s my advice.

    You can follow it now or after your face is all bloody ;-)
      • 11654
      • 7 Posts
      Great replies and appreciated.

      I’ve been selecting "none" and NOT using the TinyMCE but then whenever I change a letter in the main content with TinyMCE it happens.

      I’m having a buddy maintain the content so I do not want him going into the code. Bad juju. I’ll figure something out with that minor stuff.
        • 8214
        • 28 Posts
        I had to delete the editor completely from a wordpress site I had. Otherwise it still affected code.
          • 1169
          • 312 Posts
          Here is my solution

               <div id="content">
                  <div class="wrapper">
                    {{Column1}}
          
                    {{Colum2}}
          
                    {{Colum3}}
          
                  </div>
                </div>
          


          Create CHUNK Column1
          <div class="col-1">
                      <h3>News</h3>
                      <ul class="list1 p2">
                        <li><img src="assets/templates/mytemplates/base2/images/1page-img1.jpg" alt="" />
                          <h4><a href="#">November 4, 2009</a></h4>
                          <p class="zoom">At vero eos et accusamus et iusto odio dignissimos quidem rerum facui  praesentium.</p>
                        </li>
                        <li><img src="assets/templates/mytemplates/base2/images/1page-img2.jpg" alt="" />
                          <h4><a href="#">November 1, 2009</a></h4>
                          <p class="zoom">Voluptatum deleniti atque corrupti quos dolores et quidem rerum facilis est et expedita distincti.</p>
                        </li>
                        <li><img src="assets/templates/mytemplates/base2/images/1page-img3.jpg" alt="" />
                          <h4><a href="#">October 23, 2009</a></h4>
                          <p class="zoom">Sint occaecati cupiditate non provi- dent, similique animi, id est laborum et dolorum fuga. Et harum sunt in culpa qui officia.</p>
                        </li>
                      </ul>
                      <div class="wrapper"><a href="#" class="link1"><em><b>News Archive<span>News Archive</span></b></em></a></div>
                    </div>
          


          Create CHUNK Column2

                    <div class="col-2">
                      <h3>Welcome!</h3>
                      <p class="p1">IT World is a free websites template created by Templates.com team. This website template is optimized for 1024X768 screen resolution. It is also XHTML & CSS valid.</p>
                      <p class="p1">The website template goes with two packages – with PSD source files and without them. PSD source files are available for free for the registered members of Templates.com. The basic package (without PSD is available for anyone without registration).</p>
                      <p class="p1">This website template has several pages: <a href="home.html">Home</a>, <a href="about-us.html">About Us</a>, <a href="services.html">Services</a>, <a href="support.html">Support</a>, <a href="contact-us.html">Contact Us</a> (note that contact us form – doesn’t work), <a href="sitemap.html">Site Map</a>.</p>
                      <div class="wrapper"><a href="#" class="link1"><em><b>Read More<span>Read More</span></b></em></a></div>
                    </div>
          


          Create CHUNK Column3

                    <div class="col-3">
                      <h3>Articles</h3>
                      <ul class="list1 p2">
                        <li><img src="assets/templates/mytemplates/base2/images/icon4.jpg" alt="" />
                          <h4><a href="#">Welcome To our Company</a></h4>
                          <p class="zoom">If you are looking for perfect IT services for your business, you will find them here!</p>
                        </li>
                        <li><img src="assets/templates/mytemplates/base2/images/icon5.jpg" alt="" />
                          <h4><a href="#">Our services</a></h4>
                          <p class="zoom">The complete information regarding our services you will find on the "Service" page.</p>
                        </li>
                        <li><img src="assets/templates/mytemplates/base2/images/icon6.jpg" alt="" />
                          <h4><a href="#">About "IT World"</a></h4>
                          <p class="zoom">Free 1028X768 Optimized Website Template from Templates.com! We hope that you will like this template and then use for your websites.</p>
                        </li>
                      </ul>
                      <div class="wrapper"><a href="#" class="link1"><em><b>News Archive<span>News Archive</span></b></em></a></div>
                    </div>
          
          


          All should still work as before.

          Then change Colum2 CHUNK to

          [*#content*]
          


          You can now place your content in page and create other pages with content.

          Hope this all makes sense.
            DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31