(no commit message)
authorAnja <aleichsenring@ab-softlab.de>
Wed, 29 May 2013 09:37:33 +0000 (02:37 -0700)
committerAnja <aleichsenring@ab-softlab.de>
Wed, 29 May 2013 09:37:33 +0000 (02:37 -0700)
gistfile1.txt

index 24b7969fcbecd4d19554257dff0e7fee74654df3..d1800600ad02dc2139d5ffae93314ca784c80d92 100644 (file)
@@ -1,6 +1,6 @@
 SQL:
 images int(11) unsigned DEFAULT '0',
-
+=======================================================
 TCA
 ....
 'images' => array(
@@ -61,9 +61,8 @@ TCA
        ),
 ),
 ...
-
+============================================================================
 Model:
-
 /**
  * images to use in the gallery
  *
@@ -103,9 +102,8 @@ public function getImages() {
        }
        return $this->images;
 }
-
+==============================================================================
 Fluid View (this is a Partial, providing all images with a link to open it in a lightbox, classic clickenlarge):
-
 <f:for each="{images}" as="image" >
        <a href="{f:uri.image(src:image.uid,treatIdAsReference:1)}" class="lightbox" rel="gallery">
                <f:image src="{image.uid}" alt="" width='101' height="67" treatIdAsReference="1"/>