We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37258
    • 34 Posts
    I'm building a portfolio website, I have successfully built individual sections using Migx and getresources and am now in the process of building an overview page which pulls in a cover image from each gallery. getResources grabs the info & Ive used JQuery to provide some interaction.

    What I'm finding is that my overview page, pulls in the information from MigX but it doesn't render it on the page, its there in the source code and JQuery has positioned the elements but thats as far as it goes and I can't understand why 'nothings happening'

    My getResources call looks like this:

    [[!getResources? 
      &showHidden=`1` 
      &showUnpublished=`1` 
      &includeContent=`1` 
      &includeTVs=`1` 
      &processTVs=`1` 
      &sortby=`menuindex` 
      &sortdir=`ASC` 
      &tpl=`spaces` 
      &depth=`1` 
      &limit=`14`  
      &tvPrefix=`` ]]
    


    The spaces template looks like this:

    [[!getImageList? 
      &tvname=`portfolioSlides`
      &tpl=`slides`
      &docid=`[[+id]]`
    ]]
    


    slides template looks like this:

    <li class="item">
        <figure>
             <div class="view">
                <img src="[[+image]]" alt="[[+name]]"/>
             </div>
           <figcaption>
                <p><span>[[+name]]</span></p>
                <p><span>[[+location]]</span></p>
                <p><span>[[+type]]</span></p>
                <p><span>[[+text]]</span></p>
         </figcaption>
    </figure>
    </li>
    


    All the information is pulled in correctly and the source matches perfectly with what the Jquery requires but nothing is rendered!

    This is one of the Child pages - all working as expected:
    http://preview.compressionartifacts.co.uk/mh/index.php?id=7

    This is the Parent page, where the info is being pulled back but not rendered:
    http://preview.compressionartifacts.co.uk/mh/index.php?id=3

    I must be missing something, as disabling the css shows the page content. If someone could point out where I'm going wrong I'd be eternally grateful!
      • 22840
      • 1,572 Posts
      Firstly you need an opening and closing ul to contain your li's

      You also have opacity: 0; on line 72 of portfolio.css, removing that shows the content
        • 37258
        • 34 Posts
        Thank you Paul for the fresh pair of eyes, I feel a bit like I've been looking at the wood for so long I lost sight of the tree's!

        Quote from: paulp at Sep 27, 2013, 04:12 AM
        Firstly you need an opening and closing ul to contain your li's

        You also have opacity: 0; on line 72 of portfolio.css, removing that shows the content
          • 22840
          • 1,572 Posts
          We've all been there, glad it's working now wink