<?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=2803&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / [GELÖST] CGBlog setzt lang_locale zurück]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=2803</link>
		<description><![CDATA[Die aktuellsten Beiträge in [GELÖST] CGBlog setzt lang_locale zurück.]]></description>
		<lastBuildDate>Sat, 22 Dec 2012 04:15:19 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [GELÖST] CGBlog setzt lang_locale zurück]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=23027#p23027</link>
			<description><![CDATA[<p>Schön, dass wir drüber gesprochen haben&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/tongue.png" alt="tongue" /> ...</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Sat, 22 Dec 2012 04:15:19 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=23027#p23027</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] CGBlog setzt lang_locale zurück]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=23017#p23017</link>
			<description><![CDATA[<p>oh mist... ich habs grade gesehen ... statt == hab ich = in einer if abfrage stehen... suuuuuper.</p>]]></description>
			<author><![CDATA[dummy@example.com (leerraum)]]></author>
			<pubDate>Fri, 21 Dec 2012 11:21:46 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=23017#p23017</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] CGBlog setzt lang_locale zurück]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=23016#p23016</link>
			<description><![CDATA[<p>ich hab mir jetzt einen workaround gebaut. anstelle der lang_locale such ich jetzt mittels der friendly_position nach dem obersten parent node der jeweiligen sprache</p><div class="codebox"><pre><code>{assign var=&#039;b_lang_locale&#039; value=$friendly_position|truncate:1:&#039;&#039;}</code></pre></div><p>ist das 1, dann ist&#039;s deutsch, ist es 2 dann ist es english, etc... ich wüsste aber trotzdem gerne, was da eigentlich schief läuft.</p>]]></description>
			<author><![CDATA[dummy@example.com (leerraum)]]></author>
			<pubDate>Fri, 21 Dec 2012 11:15:18 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=23016#p23016</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] CGBlog setzt lang_locale zurück]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=23008#p23008</link>
			<description><![CDATA[<p>so hier: </p><div class="codebox"><pre><code>{assign var=&#039;b_lang_locale&#039; value=$lang_locale}
			{if $b_lang_locale = &#039;de_DE&#039;}
			{CGBlog summarytemplate=&quot;shorts&quot; category=&quot;Aktuell DE&quot; number=&quot;4&quot; summarypage=&#039;aktuell&#039; detailpage=&#039;newsdetails&#039; }
			{else}
			{CGBlog summarytemplate=&quot;shorts&quot; category=&quot;Aktuell EN&quot; number=&quot;4&quot; summarypage=&#039;news&#039; detailpage=&#039;newsdetails-en&#039; }
			{/if}</code></pre></div><p>aus diesem template</p><div class="codebox"><pre class="vscroll"><code>{MleCMS action=&quot;init&quot;}{process_pagedata}&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; &gt;
&lt;head&gt;
&lt;title&gt;{sitename} - {title}&lt;/title&gt;
{metadata}
{cms_stylesheet}
&lt;!--[if IE]&gt;&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://xxxxxxxx.de/cmsms/iefixes.css&quot;/&gt;&lt;![endif]--&gt;
&lt;base href=&quot;http://xxxxxxxx.de/cmsms/&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&#039;background&#039;&gt;&lt;/div&gt;
&lt;div id=&quot;header&quot;&gt;
	&lt;div id=&quot;headerwrapper&quot;&gt;
	  &lt;div id=&quot;logo&quot;&gt;&lt;a href=&quot;index.php&quot;&gt;&lt;img src=&quot;assets/logo.png&quot; width=&quot;175&quot; height=&quot;38&quot; alt=&quot;xxxxxxxx&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
	  &lt;div id=&quot;language&quot;&gt;{MleCMS action=&quot;langs&quot;}&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;!--[if lt IE 7]&gt;&lt;p class=chromeframe&gt;{MleCMS name=&quot;snippet_chromeframe&quot;}&lt;/p&gt;&lt;![endif]--&gt;
&lt;div id=&quot;wrapper&quot;&gt;
	&lt;div id=&quot;left&quot;&gt;
		{assign var=&#039;b_lang_locale&#039; value=$lang_locale}
		&lt;div id=&quot;menu&quot;&gt;{*$b_lang_locale*}
			{menu template=&quot;main&quot; childrenof=$lang_parent lang=$b_lang_locale number_of_levels=2 start_page=$page_alias collapse=1 loadprops=0}{*$b_lang_locale*}
		&lt;/div&gt;
		&lt;div id=&quot;deco_image&quot;&gt;{*$b_lang_locale*}
			{content_module block=&quot;deco_image&quot; module=&quot;GBFilePicker&quot; dir=&quot;images/Menuspaltenbilder&quot; media_type=&quot;image&quot; upload=true scaling_width=290 label=&quot;Deko Bild&quot; assign=&quot;decoimage&quot;}
			{if $decoimage==&#039;&#039;}&lt;img src=&quot;/assets/news_deco_image.jpg&quot; width=&quot;290&quot; height=&quot;386&quot; alt=&quot;Decoimage&quot; /&gt;{else}&lt;img src=&quot;/cmsms/uploads/{$decoimage}&quot; alt=&quot;Decoimage&quot; /&gt;{/if}{*$b_lang_locale*}
		&lt;/div&gt;
		&lt;div id=&quot;shorts&quot;&gt;&lt;span id=&quot;shortheadline&quot;&gt;AKTUELLES&lt;/span&gt;&lt;br/&gt;
			{if $b_lang_locale = &#039;de_DE&#039;}
			{CGBlog summarytemplate=&quot;shorts&quot; category=&quot;Aktuell DE&quot; number=&quot;4&quot; summarypage=&#039;aktuell&#039; detailpage=&#039;newsdetails&#039; }
			{else}
			{CGBlog summarytemplate=&quot;shorts&quot; category=&quot;Aktuell EN&quot; number=&quot;4&quot; summarypage=&#039;news&#039; detailpage=&#039;newsdetails-en&#039; }
			{/if}
			
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div id=&quot;content&quot;&gt;
		&lt;div id=&quot;feature&quot;&gt;
			{if $b_lang_locale=&#039;de_DE&#039;}
			{CGBlog summarytemplate=&quot;feature&quot; category=&quot;Aktuell DE&quot; number=&quot;1&quot; summarypage=&#039;aktuell&#039; detailpage=&#039;newsdetails&#039; }
			{else}
			{CGBlog summarytemplate=&quot;feature&quot; category=&quot;Aktuell EN&quot; number=&quot;1&quot; summarypage=&#039;news&#039; detailpage=&#039;newsdetails-en&#039; }
			{/if}
			{content}
		&lt;/div&gt;
		&lt;div id=&quot;news&quot;&gt;
			{if $b_lang_locale=&#039;de_DE&#039;}
			{CGBlog summarytemplate=&quot;news&quot; category=&quot;Aktuell DE&quot; start=&quot;1&quot; summarypage=&#039;aktuell&#039; detailpage=&#039;newsdetails&#039; }
			{else}
			{CGBlog summarytemplate=&quot;news&quot; category=&quot;Aktuell EN&quot; start=&quot;1&quot; summarypage=&#039;news&#039; detailpage=&#039;newsdetails-en&#039;}
			{/if}
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;footer&quot;&gt;
	&lt;div id=&quot;footerwrapper&quot;&gt;
		&lt;div id=&quot;footermenu&quot;&gt;{if $b_lang_locale=&#039;de_DE&#039;}{menu template=&quot;footer&quot; childrenof=&#039;footer-de&#039; lang=$b_lang_locale number_of_levels=1 loadprops=0}{else}{menu template=&quot;footer&quot; lang=$b_lang_locale childrenof=&#039;footer-en&#039; number_of_levels=1}{/if}&lt;/div&gt;
		&lt;div id=&quot;copyright&quot;&gt;&amp;copy; xxxxxxxx 2012.  All rights reserved&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;</code></pre></div><p>das cgblog template &#039;shorts&#039; sieht so aus:</p><div class="codebox"><pre><code>{if isset($error)}{cgerror}{$error}{/cgerror}{/if}
{foreach from=$items item=entry}
	&lt;hr class=&quot;shorthr&quot; /&gt;
	&lt;div class=&quot;CGBlogSummary&quot;&gt;
	&lt;div class=&quot;CGBlogSummaryLink&quot;&gt;
	&lt;a href=&quot;{$entry-&gt;detail_url}&quot; title=&quot;{$entry-&gt;title|escape:htmlall}&quot;&gt;{$entry-&gt;title|escape}&lt;/a&gt;
	&lt;/div&gt;
	{if $entry-&gt;summary}
		&lt;div class=&quot;CGBlogSummarySummary&quot;&gt;
			{eval var=$entry-&gt;summary}
		&lt;/div&gt;
	{/if}

	&lt;a href=&quot;{$entry-&gt;detail_url}&quot; title=&quot;{$entry-&gt;title|escape:htmlall}&quot;&gt;&lt;strong&gt;{if $lang_locale ==&#039;de_DE&#039;}mehr{else}more{/if}&lt;/strong&gt;&lt;/a&gt;
	&lt;/div&gt;
{/foreach}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (leerraum)]]></author>
			<pubDate>Fri, 21 Dec 2012 08:26:21 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=23008#p23008</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] CGBlog setzt lang_locale zurück]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=22999#p22999</link>
			<description><![CDATA[<div class="quotebox"><cite>leerraum schrieb:</cite><blockquote><div><p>Wenn CGBlog aufgerufen wird,</p></div></blockquote></div><p>Und wie wird es aufgerufen?</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Fri, 21 Dec 2012 05:37:16 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=22999#p22999</guid>
		</item>
		<item>
			<title><![CDATA[[GELÖST] CGBlog setzt lang_locale zurück]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=22990#p22990</link>
			<description><![CDATA[<p>Hi,</p><p>ich habe eine zweisprachige Seite, deutsch/english, auf der CGBlog läuft. Wenn CGBlog aufgerufen wird, setzt es auf der englischen Seite die lang_locale zurück auf de_DE obwohl eigentlich en_US sein sollte. Im Template habe ich es soweit tracken können, dass es tatsächlich erst nach dem Aufruf von CGBlog passiert. An dem Zusammenfassungs-Template von CGBlog liegt es auch nicht. Dort wird nicht auf die lang_locale zugegriffen. Selbst ein Backup der Variablen in einer anderen Variable vor dem Aufruf von CGBlog hat nix gebracht, da die assignte Variable ebenfall zurück springt. </p><p>Ich finde das irgendwie grenzwertigst. Hat irgendjemand eine Idee, wie ich das Problem beheben kann?</p><p>Danke<br />leerraum</p><p>1.11.1 und 1.9.8</p>]]></description>
			<author><![CDATA[dummy@example.com (leerraum)]]></author>
			<pubDate>Thu, 20 Dec 2012 17:56:31 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=22990#p22990</guid>
		</item>
	</channel>
</rss>
