We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52349
    • 41 Posts
    So I did the MIGx and the good news is I didn't break it this time.
    I am trying to figure out how to make more fields for the chunk, as the image has more action going on than just an image and a description. the chunk now looks like below along with the form fields and grid.I am going to go ahead a warn I am a noob attempting this and it sort of works. I have the fields in the migx template variable. Yay one win, but not output. I suspect it is the fields. Be gentle lol:

    CHUNK:
    
      <section class="row contentRowPad">
            <div class="container">
                <div class="row">
                    <div class="col-sm-3 product">
                        <div class="productInner row m0">
                            <div class="row m0 imgHov">
                                <img src="[[+image]]" alt="">
                                <div class="row m0 hovArea">
                                   
                                    <div class="row m0 proType"><a href="#">[[+title]]</a></div>
                                    
                                    <div class="row m0 proPrice"><i class="fa fa-usd"></i>[[+description]]</div>
                                </div>
                            </div>
                            <div class="row m0 proName"><a href="[[+link]]">[[+description]]</a></div>
                            <div class="row m0 proBuyBtn">
                                 
                            </div>
                        </div>
                    </div>
            
                </div>
            </div>
        </section>
    
    FORM TABS:
    [
    {"caption":"Image", "fields":[
        {"field":"image","caption":"Image","inputTVtype":"image"}
    ]},
    {"caption":"Brand", "fields": [
        {"field":"title","caption":"Brand", "inputTVtype":"text"}
    ]},
    {"caption":"Price", "fields": [
        {"field":"description","caption":"Price","inputTVtype":"text"}
    ]},
    {"caption":"Model", "fields": [
    {"field":"description","caption":"model","inputTVtype":"text"}
    ]},
    {"caption":"Page Link", "fields": [
    {"field":"description","caption":"link","inputTVtype":"resourseList"}
    ]}
    
    ] 
    
    GRID: (I tried to develop more on this, but lead me to the conclusion its the fields I am totally ignorant on.)
    [
    {"header": "Title", "width": "50", "sortable": "true", "dataIndex": "title"},
    {"header": "Image", "width": "50", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage"}
    ]
    

    This question has been answered by lkfranklin. See the first response.

    • discuss.answer
      • 17301
      • 932 Posts
      You can continue to add fields into the JSON under each field or continue to create a new tab as you are doing already.

      [
      	{"caption":"General", "fields":[
      	    {"field":"image","caption":"Image","inputTVtype":"image"}
      	    {"field":"additionalField","caption":"This is an aditional field"}
      	    {"field":"additionalField2","caption":"This is an aditional field too"}
      	]}
      ] 


      The fieldname will be the placeholder so in the above example if I wanted to output the second field it would be [[+additionalField]]. It looks like you've named a lot of your fields description so that would be conflicting.
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 52349
        • 41 Posts
        This is why I love the MODX community. Thank You again. Worked like a charm!!!
          • 52349
          • 41 Posts
          It is working accept when viewing on site its not stacking in columns of 3 they just go down the page not in rows.

          http://svmwebsite.com/ms/index.php?id=5
            • 52349
            • 41 Posts
            I figured it out. Again thank you so much
              • 17301
              • 932 Posts
              No problem! Can you mark the thread as answered please.

              Thanks,
                ■ email: [email protected] | ■ website: https://alienbuild.uk

                The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.