We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14569
    • 2 Posts
    Hi guys,

    I was only introduced to ModX last week and must say I’m impressed with the flexibility.
    I have converted my template already, and have constructed a dynamic menu with Wayfinder.

    Now, in my content section I need a flexible tool for adding new items.
    I have been googling the issue without much luck, perhaps using the wrong words.
    So to explain what I need, I’m just going to post an example of the HTML I need automated:
    <article> 
    	<header> 
    		<h3>Streetname 42</h3>  
    		</header> 
    			<img src="http://link" /> 
    			<div class="flatinfo">			
    			<h4>Location</h4> 
    			<ul class="list-style-none"> 
    				<li>Area: Some place</li> 
    				<li>City: Some city</li> 
    				<li>Postbus: 9999</li> 
    			</ul> 
    			</div> 
    			<div class="flatinfo">					
    				<h4>Pricelist</h4> 
    				<ul> 
    				<li>750</li> 
    				<li>750</li> 
    				<li>450</li> 
    			</ul> 
    			</div> 
    			<div class="moreinfo"> 
    				<a href="#">More Information ></a> 
    			</div> 
    			<hr /> 
    </article> 


    So, essentially I just need a tool (or solution) that enables the user of the website I am creating to go to a form, fill out the variable fields and hit enter, then publish the site and this will show on the frontend neatly.

    I hope this explains in detail what I need to do - if you have any questions, please do ask.
    I appreciate your help!
      • 14951
      • 151 Posts
      I’d take a peak at this post http://modxcms.com/forums/index.php/topic,54204.msg318818.html#msg318818. It seems there’s already an active discussion going on regarding this topic.
        • 3749
        • 24,544 Posts
        Note that that solution is only for MODx Revolution.

        In Evolution, eForm and eForm2DB could do it, or you could modify the NewsPublisher snippet to do what you want.
          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
          • 16278
          • 928 Posts
          If you’re using Evo, you might find PubKit suits your needs.

          I’m actually in the middle of updating the Pogwatch site for version 0.7.1 right now, so the content there will be changing in the course of today, and the new version will be emerging in the forum thread and be submitted to the Extras soon.
          laugh KP
            • 3749
            • 24,544 Posts
            Sorry, I should have mentioned PubKit. It may be the best option.
              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
              • 4971
              • 964 Posts
              I think you just need Template Variables...
              create a template variable for each of the data items you
              need the client/customer to enter and then your customer
              just goes to the manager, fills the TVs like it was a form
              and when s/he saves the "form" it will appear in the front.

              You may need to customize the manager a bit and the difficulty
              of this will depend if you are using Evo or Revo.. but it is
              doable...
                Website: www.mercologia.com
                MODX Revo Tutorials:  www.modxperience.com

                MODX Professional Partner
                • 14569
                • 2 Posts
                Thanks for your suggestion guys, I will test out the different solutions mentioned above and see which one works best!