<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=4170&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=4170</link>
		<description><![CDATA[Die aktuellsten Beiträge in Gallery: Alle Thumbs aus Untergalerie anzeigen.]]></description>
		<lastBuildDate>Tue, 18 Nov 2014 20:07:21 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33026#p33026</link>
			<description><![CDATA[<p>Habe eine unsaubere Lösung auf Smarty-Basis gefunden. Die übergeordnete Galerie heisst hierbei &quot;galerie&quot;. Das Gallery-Modul-Template &quot;gallerytree&quot; muss dabei wie folgt aussehen:</p><div class="codebox"><pre><code>[== smarty ==]
{foreach from=$images item=image name=img}{$image-&gt;filename}{/foreach}</code></pre></div><p>Dann auf der Seite oder im Layout-Template folgendes aufrufen und dann funzt es.</p><div class="codebox"><pre><code>[== smarty ==]
{capture name=&#039;galleries&#039; assign=&#039;gal&#039;}{Gallery dir=&#039;galerie&#039; action=&#039;gallerytree&#039;}{/capture}
{assign var=&quot;galArray&quot; value=&quot;/&quot;|explode:$gal}
{foreach name=&#039;feGal&#039; from=$galArray item=&#039;g&#039;}
{if $g != &#039;galerie&#039;}{if $g != &#039;&#039;}
{assign var=galPath value=&#039;galerie/&#039;}
{assign var=galPathFin value=$galPath|cat:$g}
{Gallery dir=$galPathFin template=&#039;Fancybox&#039;}
{/if}{/if}
{/foreach}</code></pre></div><p>Seltsamerweise konnte ich die beiden If-Abfragen nicht mit and kombinieren. Dann blieb die Ausgabe immer leer. Genauso wenig konnte ich die foreach iteration abfragen. Ebenfalls leere Ausgabe. Naja, ist ein Workaround, um das Gallery Modul mit dieser Funktion via Smarty zu ergänzen.</p>]]></description>
			<author><![CDATA[dummy@example.com (antiheld2000)]]></author>
			<pubDate>Tue, 18 Nov 2014 20:07:21 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=33026#p33026</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32989#p32989</link>
			<description><![CDATA[<p>Hast recht. Geht nicht. Habe es gerade probiert. Die Untergalerien müssen direkt aufgerufen werden, wenn sie nicht als Ordner gelistet werden sollen. Da müsste man wohl zu härteren Maßnahmen greifen.</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Thu, 13 Nov 2014 14:43:44 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32989#p32989</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32988#p32988</link>
			<description><![CDATA[<p>Leider auch nicht... mein Code sieht nun wie folgt aus:</p><div class="codebox"><pre><code>&lt;div class=&quot;gallery&quot;&gt;
{foreach from=$images item=image}
	&lt;div class=&quot;img&quot;&gt;
	{if $image-&gt;isdir}
		&lt;a href=&quot;{$image-&gt;file}&quot; title=&quot;{$image-&gt;titlename}&quot;&gt;&lt;img src=&quot;{$image-&gt;thumb|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; alt=&quot;{$image-&gt;titlename}&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
		{$image-&gt;titlename}
	{else}
   &lt;a class=&quot;group&quot; href=&quot;{$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; title=&quot;{$image-&gt;titlename} - {$image-&gt;comment}&quot; rel=&quot;gallery-{$galleryid}&quot;&gt;&lt;img src=&quot;{$image-&gt;thumb|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; alt=&quot;{$image-&gt;titlename}&quot; /&gt;&lt;/a&gt;
	{/if}
	&lt;/div&gt;
{/foreach}
&lt;div class=&quot;galleryclear&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (sweettigerpunk)]]></author>
			<pubDate>Thu, 13 Nov 2014 13:51:32 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32988#p32988</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32987#p32987</link>
			<description><![CDATA[<p>Funktioniert das?</p><div class="codebox"><pre><code>[== smarty, html ==]
	{if $image-&gt;isdir}
		 &lt;a href=&quot;{$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; title=&quot;{$image-&gt;titlename}&quot; class=&quot;thickbox&quot; rel=&quot;gallery&quot;&gt;&lt;img src=&quot;{$image-&gt;thumb|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; alt=&quot;{$image-&gt;titlename}&quot; /&gt;&lt;/a&gt;
	{else}
   &lt;a href=&quot;{$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; title=&quot;{$image-&gt;titlename}&quot; class=&quot;thickbox&quot; rel=&quot;gallery&quot;&gt;&lt;img src=&quot;{$image-&gt;thumb|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; alt=&quot;{$image-&gt;titlename}&quot; /&gt;&lt;/a&gt;
	{/if}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Thu, 13 Nov 2014 13:49:14 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32987#p32987</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32986#p32986</link>
			<description><![CDATA[<p>Das klappt leider nicht... gibt mir dennoch nur das von der übergeordneten Gallery aus...</p>]]></description>
			<author><![CDATA[dummy@example.com (sweettigerpunk)]]></author>
			<pubDate>Thu, 13 Nov 2014 13:37:22 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32986#p32986</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32985#p32985</link>
			<description><![CDATA[<p>Ich habe leider nur ein altes Template zu Hand. Dort steht irgnedwo</p><div class="codebox"><pre><code>[== smarty, html ==]
{if $image-&gt;isdir}
		&lt;a href=&quot;{$image-&gt;file}&quot; title=&quot;{$image-&gt;titlename}&quot;&gt;&lt;img src=&quot;{$image-&gt;thumb|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; alt=&quot;{$image-&gt;titlename}&quot; /&gt;&lt;/a&gt;
{else}
   &lt;a class=&quot;group&quot; href=&quot;{$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; title=&quot;{$image-&gt;titlename}&quot; rel=&quot;gallery&quot;&gt;&lt;img src=&quot;{$image-&gt;thumb|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; alt=&quot;{$image-&gt;titlename}&quot; /&gt;&lt;/a&gt;
	{/if}</code></pre></div><p>Diese Bedingung mal im Template entfernen und gleich die die Bildausgabe starten. Also</p><div class="codebox"><pre><code>[== smarty, html ==]
  &lt;a class=&quot;group&quot; href=&quot;{$image-&gt;file|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; title=&quot;{$image-&gt;titlename}&quot; rel=&quot;gallery&quot;&gt;&lt;img src=&quot;{$image-&gt;thumb|escape:&#039;url&#039;|replace:&#039;%2F&#039;:&#039;/&#039;}&quot; alt=&quot;{$image-&gt;titlename}&quot; /&gt;&lt;/a&gt;</code></pre></div><p>Aber vorher das alte Template speichern. Ich weiß nicht, ob es funktioniert. Ist nur ein Schnellschuss. AUf jeden Fall würde ich die Lösung im Template suchen.</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Thu, 13 Nov 2014 13:33:29 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32985#p32985</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32984#p32984</link>
			<description><![CDATA[<p>Hi antibart...</p><p>Der Kunde is dazu ähm... nicht kompetent... es muss automatisch funktionieren, sodass er nur die Galerien selber anlegen muss...</p><p>Gruss sweettigerpunk</p>]]></description>
			<author><![CDATA[dummy@example.com (sweettigerpunk)]]></author>
			<pubDate>Thu, 13 Nov 2014 13:23:43 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32984#p32984</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32983#p32983</link>
			<description><![CDATA[<p>&quot;Den Link auf die übergeordnete Galerie verbergen:&quot; aktivieren.</p><p>Und die Galerien direkt aufrufen:</p><p>{Gallery dir=&#039;untergalerie1&#039;}</p><p>Wozu brauchst du denn Untergalerien, wenn du sie sowieso alle einzeln ausgeben möchtest?</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Thu, 13 Nov 2014 13:20:38 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32983#p32983</guid>
		</item>
		<item>
			<title><![CDATA[Gallery: Alle Thumbs aus Untergalerie anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32982#p32982</link>
			<description><![CDATA[<p>Hallo,</p><p>Gibt es irgendwie die Möglichkeit wenn man Untergalerien hat, nicht die Ordner sondern direkt die Inhalte anzeigen zu lassen?</p><p>ZB:<br />Struktur:</p><p>{Gallery dir=&#039;galerie&#039;}<br />{Gallery dir=&#039;galerie/untergalerie1&#039;}<br />{Gallery dir=&#039;galerie/untergalerie2&#039;} ...</p><p>Wenn ich jetzt {Gallery dir=&#039;galerie&#039;} einbinde zeigt er mir 1 Bild + die Folder der beiden anderen Galerien... dort möchte ich dann aber den Namen der Galerie und die Thumbs direkt angezeigt bekommen...</p><p>Kann mir da jemand helfen?</p><p>Danke und Gruss sweettigerpunk</p><p>PS: CMS Made Simple™ 1.11.11 “San Cristobal”<br />&#160; &#160; &#160;Gallery&#160; &#160; 1.6.1</p>]]></description>
			<author><![CDATA[dummy@example.com (sweettigerpunk)]]></author>
			<pubDate>Thu, 13 Nov 2014 13:01:09 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32982#p32982</guid>
		</item>
	</channel>
</rss>
