Results 1 to 2 of 2

Thread: Gallery Thumbnails

  1. #1
    New user
    Join Date
    03-06-11.
    Posts
    1

    Default Gallery Thumbnails

    Hi,

    ich new to Contao and very new to the catalog modul, but after a short testrun i think this is the best extension that contao have.

    Can someone help me with edit the template for the catalog reader, i want to show only one thumbnail on reader page and when i click the thumbnail the lightbox gallery shold open with all images in the gallery.


    Original code from my template:
    Code:
    		<?php if($entry['data']['cat_galerie']['value']): ?>
    		
    		<div class="field cat_galerie">
    			<div class="label">
    				<a href="" onclick="return:false;" title="Galerie">
    					<?php echo $entry['data']['cat_galerie']['label']; ?>
    				</a>
    			</div>
    			<div class="value"><?php echo $entry['data']['cat_galerie']['value']; ?></div>
    			<div class="clear"></div>
    I found some codepices in the german catalog manual but that code is just a hint and not working.

    May someone already did this and can show me how to do that?

    Thanks

    PS: sorry for my english

  2. #2
    User MacKP's Avatar
    Join Date
    06-19-09.
    Location
    Duisburg (Germany)
    Posts
    211

    Default Re: Gallery Thumbnails

    Hi common,
    a little bit to late.. sorry for that and only in German.. but the code should be understandable ;-)

    http://de.contaowiki.org/Catalog_Templa ... anden_sind

    regards
    Mediendepot Ruhr
    For real-time chat the (inofficial) Chatroom in IRC:
    -> irc.freenode.net #contao | irc.freenode.net #contao.de

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •