<?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=2627&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / [GELÖST] Wie kann ich dieses All-Device-Menü in CMSMS verwenden?!]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=2627</link>
		<description><![CDATA[Die aktuellsten Beiträge in [GELÖST] Wie kann ich dieses All-Device-Menü in CMSMS verwenden?!.]]></description>
		<lastBuildDate>Fri, 26 Oct 2012 15:40:03 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [GELÖST] Wie kann ich dieses All-Device-Menü in CMSMS verwenden?!]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21695#p21695</link>
			<description><![CDATA[<p>Hallo NaN,</p><p>vielen Dank für die schnelle Lösung. Jetzt funktioniert es.<br />Ich wünsche Dir ein schönes Wochenende.</p><p>Gruss<br />Kai</p>]]></description>
			<author><![CDATA[dummy@example.com (Hawkai)]]></author>
			<pubDate>Fri, 26 Oct 2012 15:40:03 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21695#p21695</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Wie kann ich dieses All-Device-Menü in CMSMS verwenden?!]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21693#p21693</link>
			<description><![CDATA[<p>Indem Du Dein Menü-Template entsprechend aufbaust.<br />D.h. z.B. Du gehst die foreach-Schleife zum Erstellen der einzelnen Links doppelt durch.<br />Einmal für die Links und darunter nochmal für die Select-Liste.<br />Hier mal ein Beispiel am Template simple_navigation.tpl:</p><div class="codebox"><pre class="vscroll"><code>{* CSS classes used in this template:
.activeparent - The top level parent when a child is the active/current page
li.active0n h3 - n is the depth/level of the node. To style the active page for each level separately. The active page is not clickable.
.clearfix - Used for the unclickable h3 to use the entire width of the li, just like the anchors. See the Tools stylesheet in the default CMSMS installation.
li.sectionheader h3 - To style section header
li.separator - To style the ruler for the separator *} 

{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;ul&gt;
{foreach from=$nodelist item=node}
{if $node-&gt;depth &gt; $node-&gt;prevdepth}
{repeat string=&quot;&lt;ul&gt;&quot; times=$node-&gt;depth-$node-&gt;prevdepth}
{elseif $node-&gt;depth &lt; $node-&gt;prevdepth}
{repeat string=&quot;&lt;/li&gt;&lt;/ul&gt;&quot; 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&#039;}
  {if $node-&gt;parent == true}
    {assign var=&#039;classes&#039; value=&#039;menuactive menuparent&#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&#039;}
  {/if}
  &lt;li class=&quot;{$classes}&quot;&gt;&lt;a class=&quot;{$classes}&quot; href=&quot;{$node-&gt;url}&quot;&gt;&lt;span&gt;{$node-&gt;menutext}&lt;/span&gt;&lt;/a&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;parent&quot;&gt;&lt;a class=&quot;parent&quot; href=&quot;{$node-&gt;url}&quot;&gt;&lt;span&gt;{$node-&gt;menutext}&lt;/span&gt;&lt;/a&gt;

{elseif $node-&gt;current == true}
&lt;li class=&quot;currentpage&quot;&gt;&lt;h3&gt;&lt;span&gt;{$node-&gt;menutext}&lt;/span&gt;&lt;/h3&gt;

{elseif $node-&gt;type == &#039;sectionheader&#039;}
&lt;li class=&quot;sectionheader&quot;&gt;&lt;span&gt;{$node-&gt;menutext}&lt;/span&gt;

{elseif $node-&gt;type == &#039;separator&#039;}
&lt;li class=&quot;separator&quot; style=&quot;list-style-type: none;&quot;&gt; &lt;hr /&gt;

{else}
&lt;li&gt;&lt;a href=&quot;{$node-&gt;url}&quot;&gt;&lt;span&gt;{$node-&gt;menutext}&lt;/span&gt;&lt;/a&gt;

{/if}

{/foreach}
{repeat string=&quot;&lt;/li&gt;&lt;/ul&gt;&quot; times=$node-&gt;depth-1}&lt;/li&gt;
&lt;/ul&gt;

{* Dropdown *}

&lt;select&gt;
{foreach from=$nodelist item=node}
&lt;option{if $node-&gt;current} selected=&quot;selected&quot;{/if} value=&quot;{$node-&gt;url}&quot;&gt;{repeat string=&quot;&amp;nbsp;-&amp;nbsp;&quot; times=$node-&gt;depth-1}{$node-&gt;menutext}&lt;/option&gt;
{/foreach}
&lt;/select&gt;

{/if}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Fri, 26 Oct 2012 15:01:34 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21693#p21693</guid>
		</item>
		<item>
			<title><![CDATA[[GELÖST] Wie kann ich dieses All-Device-Menü in CMSMS verwenden?!]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21692#p21692</link>
			<description><![CDATA[<p>Hallo Zusammen,</p><p>ich erstelle gerade eine Website mit CMS Made Simple Version 1.11.2.1. <br />Für diese Site habe ich eine sehr flexible 960Grid Vorlage gefunden, die ein Script verwendet, <br />dass die Navigation unter einer width:600px zu einem Dropdownmenü &lt;select&gt; werden lässt. </p><p>Nun habe die Vorlage ins CMS Made Simple übertragen, jedoch schaffe ich es nicht das &lt;select&gt; mit dem Menü-Inhalt zu &quot;befüllen&quot;.</p><p>Ich die Vorlage hier hochgeladen, vielleicht kann mir jemand helfen.<br /><a href="http://forum.cmsmadesimple.de/img/members/3895/All-Device-Demo-2.zip" rel="nofollow">All-Device-Demo-2.zip</a></p><p>Über einen Tip würde ich mich sehr freuen. </p><p><em>(Ich bin kein Entwickler und habe nur begrenzte PHP- und Java-Script Kenntnisse.)</em></p><p>Gruss<br />Kai</p>]]></description>
			<author><![CDATA[dummy@example.com (Hawkai)]]></author>
			<pubDate>Fri, 26 Oct 2012 14:24:29 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21692#p21692</guid>
		</item>
	</channel>
</rss>
