We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20349 ☆ A M B ☆
    • 453 Posts
    Ok I admit the Subject title is a bit funny smiley

    But here it goes...


    I want do display the following structure via Ditto (or maybe better solution Wayfinder?)
    <ul id="portfolio">
    	<li class="websites">
    		<a href="#" title="#" rel="popup"><img src="img/1.jpg" alt="" height="" width="" /></a>
    	</li>
    	<li class="banners">
    		<a href="img/2.jpg" title="2" rel="popup"><img src="img/2.jpg" alt="" height="" width="" /></a>
    	</li>
    	<li class="logos">
    		<a href="img/3.jpg" title="3" rel="popup"><img src="img/3.jpg" alt="" height="" width="" /></a>
    	</li>
    	
    </ul>


    The point is that I have 3 documents (websites, banners, logos) and I want to create only 1 ditto template that would dynamically put class as the pagetitle of parent folder.

    - websites
    |- some site 1
    |- some site 2
    |- some site 3

    - banners
    |- some banner

    - logos
    |- some logo



    I hope you understand smiley
      BASE - Web Design Studio
      MODX Ambassador

      Website