<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>typo3.schloebe.de &#187; unterseiten auslesen</title>
	<atom:link href="http://typo3.schloebe.de/tag/unterseiten-auslesen/feed/" rel="self" type="application/rss+xml" />
	<link>http://typo3.schloebe.de</link>
	<description>TYPO3, TypoScript, Erweiterungen, Tipps</description>
	<lastBuildDate>Sat, 13 Aug 2011 18:18:12 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Inhalt nur anzeigen wenn Spalte nicht leer</title>
		<link>http://typo3.schloebe.de/typoscript/inhalt-nur-anzeigen-wenn-spalte-nicht-leer/</link>
		<comments>http://typo3.schloebe.de/typoscript/inhalt-nur-anzeigen-wenn-spalte-nicht-leer/#comments</comments>
		<pubDate>Sun, 26 Aug 2007 20:54:41 +0000</pubDate>
		<dc:creator>Oliver Schlöbe</dc:creator>
				<category><![CDATA[TypoScript]]></category>
		<category><![CDATA[inhalt]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[spalte]]></category>
		<category><![CDATA[typo3]]></category>
		<category><![CDATA[unterseiten auslesen]]></category>
		<category><![CDATA[wrap]]></category>

		<guid isPermaLink="false">http://typo3.schloebe.de/typoscript/inhalt-nur-anzeigen-wenn-spalte-nicht-leer/</guid>
		<description><![CDATA[Manchmal kann es notwendig sein, dass Inhalte nur angezeigt und gewrappt werden sollen, wenn sich auch Inhalte in der Spalte befinden. Mit den folgenden TypoScripts werden die Inhalte der rechten Spalte ausgelesen, sofern diese nicht leer ist. 1 2 3 4 5 marks.RECHTERINHALT &#60; styles.content.getRight marks.RECHTERINHALT.stdWrap &#123; wrap = &#60;div&#62;&#124;&#60;/div&#62; required = 1 &#125; Alternativ [...]]]></description>
			<content:encoded><![CDATA[<p>Manchmal kann es notwendig sein, dass Inhalte nur angezeigt und gewrappt werden sollen, wenn sich auch Inhalte in der Spalte befinden. Mit den folgenden TypoScripts werden die Inhalte der rechten Spalte ausgelesen, sofern diese nicht leer ist. <span id="more-14"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">marks.<span style="color: #006600;">RECHTERINHALT</span> <span style="color: #66cc66;">&lt;</span> styles.<span style="color: #006600;">content</span>.<span style="color: #006600;">getRight</span>
marks.<span style="color: #006600;">RECHTERINHALT</span>.<span style="color: #006600;">stdWrap</span> <span style="color: #66cc66;">&#123;</span>
  wrap = <span style="color: #66cc66;">&lt;</span>div<span style="color: #66cc66;">&gt;|&lt;/</span>div<span style="color: #66cc66;">&gt;</span>
  required = <span style="color: #cc66cc;">1</span> 
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>Alternativ hiermit:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">marks.<span style="color: #006600;">RECHTERINHALT</span> <span style="color: #66cc66;">&lt;</span> styles.<span style="color: #006600;">content</span>.<span style="color: #006600;">getRight</span>
marks.<span style="color: #006600;">RECHTERINHALT</span>.<span style="color: #006600;">stdWrap</span> <span style="color: #66cc66;">&#123;</span>
  wrap = <span style="color: #66cc66;">&lt;</span>div<span style="color: #66cc66;">&gt;|&lt;/</span>div<span style="color: #66cc66;">&gt;</span>
  <span style="color: #b1b100;">if</span>.<span style="color: #006600;">isTrue</span>.<span style="color: #006600;">numRows</span> <span style="color: #66cc66;">&lt;</span> styles.<span style="color: #006600;">content</span>.<span style="color: #006600;">getRight</span>
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://typo3.schloebe.de/typoscript/inhalt-nur-anzeigen-wenn-spalte-nicht-leer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Jumpmen&#252; (Dropdown)</title>
		<link>http://typo3.schloebe.de/typoscript/javascript-jumpmenue-dropdown/</link>
		<comments>http://typo3.schloebe.de/typoscript/javascript-jumpmenue-dropdown/#comments</comments>
		<pubDate>Sun, 26 Aug 2007 20:08:52 +0000</pubDate>
		<dc:creator>Oliver Schlöbe</dc:creator>
				<category><![CDATA[TypoScript]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[menü]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[typo3]]></category>
		<category><![CDATA[unterseiten auslesen]]></category>

		<guid isPermaLink="false">http://typo3.schloebe.de/typoscript/javascript-jumpmenue-dropdown/</guid>
		<description><![CDATA[Folgendes TypoScript-Snippet erstellt eines jener JavaScript-Jumpmen&#252;s, die wie eine Art Sitemap funktionieren, jedoch als Dropdown-Men&#252;. Mit Klick auf eine der Seiten springt man automatisch auf die gew&#228;hlte Seite. Folgend das TypoScript. Anzupassende Variablen folgen danach. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [...]]]></description>
			<content:encoded><![CDATA[<p>Folgendes TypoScript-Snippet erstellt eines jener JavaScript-Jumpmen&#252;s, die wie eine Art Sitemap funktionieren, jedoch als Dropdown-Men&#252;. Mit Klick auf eine der Seiten springt man automatisch auf die gew&#228;hlte Seite.</p>
<p>Folgend das TypoScript. Anzupassende Variablen folgen danach. <span id="more-12"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">marks.<span style="color: #006600;">DROPDOWN_NAVI</span> = COA
  marks.<span style="color: #006600;">DROPDOWN_NAVI</span> <span style="color: #66cc66;">&#123;</span>
  <span style="color: #cc66cc;">10</span> = HMENU
  <span style="color: #cc66cc;">10</span> <span style="color: #66cc66;">&#123;</span>
     special = directory
     special.<span style="color: #006600;">value</span> = <span style="color: #cc66cc;">1</span>
     wrap = <span style="color: #66cc66;">&lt;</span>div<span style="color: #66cc66;">&gt;&lt;</span>select <span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">&quot;dropdown_navi&quot;</span> <span style="color: #000000; font-weight: bold;">class</span>=<span style="color: #ff0000;">&quot;quickjump&quot;</span> <span style="color: #0066CC;">size</span>=<span style="color: #ff0000;">&quot;1&quot;</span> onChange=<span style="color: #ff0000;">&quot;document.location.href='index.php?id=' + this.value&quot;</span><span style="color: #66cc66;">&gt;</span> <span style="color: #66cc66;">|</span> <span style="color: #66cc66;">&lt;/</span>select<span style="color: #66cc66;">&gt;&lt;/</span>div<span style="color: #66cc66;">&gt;</span>
&nbsp;
     <span style="color: #cc66cc;">1</span> = TMENU
     <span style="color: #cc66cc;">1</span> <span style="color: #66cc66;">&#123;</span>
       expAll = <span style="color: #cc66cc;">1</span>
       noBlur = <span style="color: #cc66cc;">1</span>
       NO <span style="color: #66cc66;">&#123;</span>
         stdWrap.<span style="color: #006600;">dataWrap</span> = <span style="color: #66cc66;">&lt;</span>option value=<span style="color: #ff0000;">&quot;{field:uid}&quot;</span><span style="color: #66cc66;">&gt;</span>
         allWrap = <span style="color: #66cc66;">|</span> <span style="color: #66cc66;">&lt;/</span>option<span style="color: #66cc66;">&gt;</span>
         doNotLinkIt = <span style="color: #cc66cc;">1</span>
       <span style="color: #66cc66;">&#125;</span>
       CUR = <span style="color: #cc66cc;">1</span>
       CUR <span style="color: #66cc66;">&#123;</span>
         stdWrap.<span style="color: #006600;">dataWrap</span> = <span style="color: #66cc66;">&lt;</span>option value=<span style="color: #ff0000;">&quot;{field:uid}&quot;</span> selected=<span style="color: #ff0000;">&quot;selected&quot;</span><span style="color: #66cc66;">&gt;</span>
         allWrap = <span style="color: #66cc66;">|</span> <span style="color: #66cc66;">&lt;/</span>option<span style="color: #66cc66;">&gt;</span>
         doNotLinkIt = <span style="color: #cc66cc;">1</span>
       <span style="color: #66cc66;">&#125;</span>
     <span style="color: #66cc66;">&#125;</span>
  <span style="color: #66cc66;">&#125;</span>
  <span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>Hier die einzige anzupassende Variable.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>6
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">special.<span style="color: #006600;">value</span> = <span style="color: #cc66cc;">1</span></pre></td></tr></table></div>

<p>Hier wird die ID der Seite eingetragen, deren Unterseiten im Dropdown angezeigt werden sollen.</p>
<p><strong>UPDATE 26.08.2007:</strong></p>
<p>Viel einfacher geht es auch. <img src='http://typo3.schloebe.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">marks.<span style="color: #006600;">DROPDOWN_NAVI</span> = HMENU
marks.<span style="color: #006600;">DROPDOWN_NAVI</span> <span style="color: #66cc66;">&#123;</span>
  special = directory
  special.<span style="color: #006600;">value</span> = <span style="color: #cc66cc;">1</span>
  <span style="color: #cc66cc;">1</span> = JSMENU
  <span style="color: #cc66cc;">1</span>.<span style="color: #0066CC;">target</span> = _blank
  <span style="color: #cc66cc;">1</span>.<span style="color: #006600;">firstLabelGeneral</span> = Sprung zu Seite
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>4
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">special.<span style="color: #006600;">value</span> = <span style="color: #cc66cc;">1</span></pre></td></tr></table></div>

<p>Hier wird die ID der Seite eingetragen, deren Unterseiten im Dropdown angezeigt werden sollen.</p>
]]></content:encoded>
			<wfw:commentRss>http://typo3.schloebe.de/typoscript/javascript-jumpmenue-dropdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inhalte aus (Unter-)Seiten einer Elternseite auslesen</title>
		<link>http://typo3.schloebe.de/typoscript/inhalte-aus-unter-seiten-einer-elternseite-auslesen/</link>
		<comments>http://typo3.schloebe.de/typoscript/inhalte-aus-unter-seiten-einer-elternseite-auslesen/#comments</comments>
		<pubDate>Sun, 22 Jul 2007 20:47:49 +0000</pubDate>
		<dc:creator>Oliver Schlöbe</dc:creator>
				<category><![CDATA[TypoScript]]></category>
		<category><![CDATA[pidinlist]]></category>
		<category><![CDATA[register]]></category>
		<category><![CDATA[typo3]]></category>
		<category><![CDATA[unterseiten auslesen]]></category>

		<guid isPermaLink="false">http://typo3.schloebe.de/typoscript/inhalte-aus-unter-seiten-einer-elternseite-auslesen/</guid>
		<description><![CDATA[Wer schon einmal die Inhalte aus allen Unterseiten eines Dokumentenbaumes holen wollte, f&#252;r den mochte sich ein Problem offenbaren, wie denn die Daten aus den Seitenelementen ausgelesen werden. Hier ein Codeschnipsel, mit dem ich dies erreicht habe. Auf wichtige Variablen gehe ich nach dem Listing ein: 1 2 3 4 5 6 7 8 9 [...]]]></description>
			<content:encoded><![CDATA[<p>Wer schon einmal die Inhalte aus allen Unterseiten eines Dokumentenbaumes holen wollte, f&#252;r den mochte sich ein Problem offenbaren, wie denn die Daten aus den Seitenelementen ausgelesen werden. Hier ein Codeschnipsel, mit dem ich dies erreicht habe.</p>
<p>Auf wichtige Variablen gehe ich nach dem Listing ein: <span id="more-6"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">temp.20 = CONTENT
temp.20 <span style="color: #66cc66;">&#123;</span>
  table = pages
  select <span style="color: #66cc66;">&#123;</span>
   pidInList = <span style="color: #cc66cc;">100</span>
   orderBy = sorting
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  renderObj = COA_INT
  renderObj <span style="color: #66cc66;">&#123;</span>
    <span style="color: #cc66cc;">10</span> = <span style="color: #0066CC;">TEXT</span>
    <span style="color: #cc66cc;">10</span>.<span style="color: #006600;">field</span> = title
    <span style="color: #cc66cc;">10</span>.<span style="color: #006600;">wrap</span> = <span style="color: #66cc66;">|</span>
    <span style="color: #cc66cc;">20</span> = LOAD_REGISTER
    <span style="color: #cc66cc;">20</span> <span style="color: #66cc66;">&#123;</span>
      meinRegister.<span style="color: #006600;">cObject</span> = <span style="color: #0066CC;">TEXT</span>
      meinRegister.<span style="color: #006600;">cObject</span>.<span style="color: #006600;">field</span> = uid
    <span style="color: #66cc66;">&#125;</span>
&nbsp;
  <span style="color: #cc66cc;">50</span> = COA
  <span style="color: #cc66cc;">50</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">###########</span>
    <span style="color: #cc66cc;">20</span> = CONTENT
    <span style="color: #cc66cc;">20</span> <span style="color: #66cc66;">&#123;</span>
    table = tt_content
    select <span style="color: #66cc66;">&#123;</span>
      pidInList.<span style="color: #0066CC;">data</span> = register:meinRegister
      where = colPos=<span style="color: #cc66cc;">0</span>
      <span style="color: #66cc66;">&#125;</span>
    <span style="color: #66cc66;">&#125;</span>
    <span style="color: #808080; font-style: italic;">###########</span>
  <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
...
&nbsp;
<span style="color: #006600;">marks</span>.<span style="color: #006600;">INHALTE_UNTERSEITEN</span> <span style="color: #66cc66;">&lt;</span> temp.20</pre></td></tr></table></div>

<p>Nun einige kleine Erl&#228;uterungen&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>5
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">pidInList = <span style="color: #cc66cc;">100</span></pre></td></tr></table></div>

<p>Dies ist die ID jener Seite, aus deren Inhalte der Unterseiten der Code die Ausgabe generiert.</p>
<p>Das war&#8217;s. <img src='http://typo3.schloebe.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Wichtig ist hierbei nur die Verwendung von LOAD_REGISTER.</p>
<p>Fragen bitte in die Comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://typo3.schloebe.de/typoscript/inhalte-aus-unter-seiten-einer-elternseite-auslesen/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

