<?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=3649&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / [GELÖST] Parent abfragen]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=3649</link>
		<description><![CDATA[Die aktuellsten Beiträge in [GELÖST] Parent abfragen.]]></description>
		<lastBuildDate>Sun, 16 Mar 2014 20:49:21 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=30147#p30147</link>
			<description><![CDATA[<p>Problem wurde hier gelöst - <a href="http://forum.cmsmadesimple.de/viewtopic.php?id=3675" rel="nofollow">Link</a></p>]]></description>
			<author><![CDATA[dummy@example.com (brandy)]]></author>
			<pubDate>Sun, 16 Mar 2014 20:49:21 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=30147#p30147</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29167#p29167</link>
			<description><![CDATA[<p>Sorry&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" /> </p><p>Naja, es sollten die Parents, die &quot;Kinder&quot; haben und nach unten aufklappen, nicht klickbar sein.</p><p>Ich hab mir dann gedacht, die Sache ist mit href=&quot;#&quot; gegessen, jedoch verlinkt dieser immer auf die index.php und die Startseite wird angezeigt. Er müsste bei Klick einfach auf der Seite bleiben die gerade angezeigt wird.</p>]]></description>
			<author><![CDATA[dummy@example.com (brandy)]]></author>
			<pubDate>Thu, 02 Jan 2014 14:51:26 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29167#p29167</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29159#p29159</link>
			<description><![CDATA[<p>Wenn ich ehrlich bin, erschließt sich mir nicht wirklich, was genau du beabsichtigst bzw wie es funktionieren soll&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/yikes.png" alt="yikes" />.</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Thu, 02 Jan 2014 10:51:06 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29159#p29159</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29155#p29155</link>
			<description><![CDATA[<p>Ich habs jetzt mal so gelöst, dass die Top-Buttons als Weiterleitungs-Link auf &quot;#&quot; verlinken.<br />Das ist halt ein wenig ungut, da somit immer die Startseite geladen wird - gibts da eine einfache Möglichkeit, dass der Link auf die aktuell angezeigte Seite zeigt?</p>]]></description>
			<author><![CDATA[dummy@example.com (brandy)]]></author>
			<pubDate>Wed, 01 Jan 2014 17:38:37 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29155#p29155</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29064#p29064</link>
			<description><![CDATA[<p>Und was hindert dich daran, dies an passender Stelle in dein Menü-Template einzubauen?</p><div class="codebox"><pre><code>{if $node-&gt;parent == true}
&lt;span&gt;{$node-&gt;menutext}&lt;/span&gt;
{/if}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Wed, 18 Dec 2013 20:42:11 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29064#p29064</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29052#p29052</link>
			<description><![CDATA[<p>Naja aktuell ist es eine Seite - sollte aber keine sein.<br />Da ich bei meiner Seite mit Foundation arbeite, hab ich mir gedacht es wär das einfachste den Link einfach auf &quot;#&quot; zu setzen.</p><p>Ich könnte es natürlich mit Abschnittsüberschriften machen, jedoch passt das dann mit meinem Menütemplate nicht überein:</p><div class="codebox"><pre class="vscroll"><code>{* CSS classes used in this template:
#menuwrapper - The id for the &lt;div&gt; that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the &lt;ul&gt;
.menuparent - The class for each &lt;li&gt; that has children.
.menuactive - The class for each &lt;li&gt; that is active or is a parent (on any level) of a child that is active. *}

{assign var=&#039;number_of_levels&#039; value=10000}
{if isset($menuparams.number_of_levels)}
  {assign var=&#039;number_of_levels&#039; value=$menuparams.number_of_levels}
{/if}

{if $count &gt; 0}
&lt;nav class=&quot;top-bar&quot;&gt;
  &lt;ul class=&quot;title-area&quot;&gt;
    &lt;li class=&quot;name&quot;&gt;&lt;/li&gt;
    &lt;li class=&quot;toggle-topbar menu-icon&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Menu&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;

&lt;section class=&quot;top-bar-section&quot;&gt;
&lt;ul class=&quot;left&quot;&gt;
{foreach from=$nodelist item=node}
{if $node-&gt;depth &gt; $node-&gt;prevdepth}
{repeat string=&#039;&lt;ul class=&quot;dropdown&quot;&gt;&#039; times=$node-&gt;depth-$node-&gt;prevdepth}
{elseif $node-&gt;depth &lt; $node-&gt;prevdepth}
{repeat string=&#039;&lt;/li&gt;&lt;/ul&gt;&#039; times=$node-&gt;prevdepth-$node-&gt;depth}
&lt;/li&gt;
{elseif $node-&gt;index &gt; 0}&lt;/li&gt;
{/if}

{if $node-&gt;parent == true or $node-&gt;current == true}
  {assign var=&#039;classes&#039; value=&#039;menuactive active&#039;}
  {if $node-&gt;parent == true}
    {assign var=&#039;classes&#039; value=&#039;menuactive menuparent has-dropdown&#039;}
  {/if}
  {if $node-&gt;children_exist == true and $node-&gt;depth &lt; $number_of_levels}
    {assign var=&#039;classes&#039; value=$classes|cat:&#039; parent has-dropdown&#039;}
  {/if}
  &lt;li class=&quot;{$classes}&quot;&gt;&lt;a class=&quot;{$classes}&quot; 
{elseif $node-&gt;type == &#039;sectionheader&#039; and $node-&gt;haschildren == true}
  &lt;li class=&quot;menuparent dropdown&quot;&gt;&lt;a class=&quot;menuparent&quot;&gt;&lt;span class=&quot;sectionheader&quot;&gt;{$node-&gt;menutext}&lt;/span&gt;&lt;/a&gt;
{elseif $node-&gt;type == &#039;sectionheader&#039;}
  &lt;li&gt;&lt;a &gt;&lt;span class=&quot;sectionheader&quot;&gt;{$node-&gt;menutext}&lt;/span&gt;&lt;/a&gt;
{elseif $node-&gt;type == &#039;separator&#039;}
  &lt;li style=&quot;list-style-type: none;&quot; class=&quot;divider&quot;&gt; &lt;hr class=&quot;menu_separator&quot; /&gt;
{elseif $node-&gt;children_exist == true and $node-&gt;depth &lt; $number_of_levels and $node-&gt;type != &#039;sectionheader&#039; and $node-&gt;type != &#039;separator&#039;}
  &lt;li class=&quot;menuparent has-dropdown&quot;&gt;&lt;a class=&quot;menuparent&quot; 
{else}
  &lt;li&gt;
  &lt;a 
{/if}

{if ($node-&gt;type != &#039;sectionheader&#039; and $node-&gt;type != &#039;separator&#039;) or $node-&gt;parent == true or $node-&gt;current == true }
 {if $node-&gt;target}target=&quot;{$node-&gt;target}&quot; {/if}
href=&quot;{$node-&gt;url}&quot;&gt;&lt;span&gt;{$node-&gt;menutext}&lt;/span&gt;&lt;/a&gt;
{/if}

{/foreach}
{repeat string=&#039;&lt;/li&gt;&lt;/ul&gt;&#039; times=$node-&gt;depth-1}
&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;
&lt;/nav&gt;
&lt;div class=&quot;clearb&quot;&gt;&lt;/div&gt;
&lt;!--&lt;/div&gt;--&gt;
{/if}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (brandy)]]></author>
			<pubDate>Wed, 18 Dec 2013 12:16:02 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29052#p29052</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29051#p29051</link>
			<description><![CDATA[<p>Ist parent keine eigene Seite? Oder soll diese nur nicht verlinkt werden?</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Wed, 18 Dec 2013 10:49:43 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29051#p29051</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29050#p29050</link>
			<description><![CDATA[<p>Ich hab schon probiert, den Parent aus der Funktion rauszunehmen und darunter eine eigene Abfrage zu machen, falles es ein Parent ist, dass er mir dann keinen Link setzt - ich möchte die oberste Ebene einfach nicht auf eine Seite verlinkt haben!</p>]]></description>
			<author><![CDATA[dummy@example.com (brandy)]]></author>
			<pubDate>Wed, 18 Dec 2013 10:44:34 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29050#p29050</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29043#p29043</link>
			<description><![CDATA[<p>Klar - parent-Abfrage ist drinnen.<br />Da will ich aber eine eigene haben, die mir abfragt ob es ein parent ist - ist es so, soll er mir statt &quot;{$node-&gt;target}&quot; eine Raute &quot;#&quot; ausgeben!</p>]]></description>
			<author><![CDATA[dummy@example.com (brandy)]]></author>
			<pubDate>Tue, 17 Dec 2013 20:04:22 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29043#p29043</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29036#p29036</link>
			<description><![CDATA[<p>Die parent Abfrage ist in dem Snippet ja schon drin <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" />.</p><p>Die target Geschichte hat damit nix zu tun. Dort wird lediglich abgefragt, ob ein Ziel angegeben wurde, und wenn ja, dann ausgegeben</p><p><a href="http://www.w3schools.com/tags/att_a_target.asp" rel="nofollow">http://www.w3schools.com/tags/att_a_target.asp</a></p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Tue, 17 Dec 2013 15:16:12 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29036#p29036</guid>
		</item>
		<item>
			<title><![CDATA[[GELÖST] Parent abfragen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29035#p29035</link>
			<description><![CDATA[<p>Hallo!</p><p>Ich hab hier einen Code-Ausschnitt aus meinem Menütemplate kopiert:</p><div class="codebox"><pre><code>{if ($node-&gt;type != &#039;sectionheader&#039; and $node-&gt;type != &#039;separator&#039;) or $node-&gt;parent == true or $node-&gt;current == true }
 {if $node-&gt;target}target=&quot;{$node-&gt;target}&quot; {/if}
href=&quot;{$node-&gt;url}&quot;&gt;&lt;span&gt;{$node-&gt;menutext}&lt;/span&gt;&lt;/a&gt;
{/if}</code></pre></div><p>Ich möchte das ganze darauf ummünzen, dass ich abfragen kann ob es ein parent ist, denn dann soll er als Link href=&quot;#&quot; verwenden.<br />Ich habs jetzt schon versucht, werde aber aus der zweiten if, wo das mit dem target passiert nicht schlau?<br />Für was ist das drinnen?</p>]]></description>
			<author><![CDATA[dummy@example.com (brandy)]]></author>
			<pubDate>Tue, 17 Dec 2013 14:19:31 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=29035#p29035</guid>
		</item>
	</channel>
</rss>
