<?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=2429&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / [GELÖST] Module bequem mittels UDT aufrufen?]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=2429</link>
		<description><![CDATA[Die aktuellsten Beiträge in [GELÖST] Module bequem mittels UDT aufrufen?.]]></description>
		<lastBuildDate>Thu, 16 Aug 2012 11:28:01 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [GELÖST] Module bequem mittels UDT aufrufen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20356#p20356</link>
			<description><![CDATA[<p>hatte irgendwie probleme das als plugin zu speichern. lass es jetzt als UDT laufen und das geht:</p><div class="codebox"><pre><code>$action = isset($params[&#039;action&#039;]) ? $params[&#039;action&#039;] : &#039;detail&#039;;
$returnid = isset($params[&#039;returnid&#039;]) ? $params[&#039;returnid&#039;] : cms_utils::get_current_pageid();
$id = isset($params[&#039;id&#039;]) ? $params[&#039;id&#039;] : &#039;cntnt01&#039;;
unset($params[&#039;action&#039;]);
unset($params[&#039;returnid&#039;]);
return cms_utils::get_module(&#039;ListIt2&#039;)-&gt;DoAction($action, $id, $params, $returnid);</code></pre></div><p>danke</p><p>rufe das jetzt so auf {translator item=&quot;produkt-des-monats&quot;}<br />der parameter &quot;action&quot; ist auch entfallen. eigentlich ne bequeme lösung</p>]]></description>
			<author><![CDATA[dummy@example.com (nicmare)]]></author>
			<pubDate>Thu, 16 Aug 2012 11:28:01 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20356#p20356</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Module bequem mittels UDT aufrufen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20353#p20353</link>
			<description><![CDATA[<p>Welchen Alias?</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Thu, 16 Aug 2012 09:54:47 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20353#p20353</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Module bequem mittels UDT aufrufen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20341#p20341</link>
			<description><![CDATA[<p>so dann also? </p><div class="codebox"><pre><code>function smarty_function_Translator ($params, &amp;$template) {
    $action   = isset($params[&#039;action&#039;])   ? $params[&#039;action&#039;]   : &#039;detail&#039;;
    $returnid = isset($params[&#039;returnid&#039;]) ? $params[&#039;returnid&#039;] : cms_utils::get_current_pageid();
    $id       = isset($params[&#039;id&#039;])       ? $params[&#039;id&#039;]       : &#039;cntnt01&#039;;

    unset($params[&#039;action&#039;]);
    unset($params[&#039;returnid&#039;]);

    return cms_utils::get_module(&#039;ListIt2CloneTranslator&#039;)-&gt;DoAction($action, $id, $params, $returnid);
}</code></pre></div><p>Aufruf: {Translator item=&quot;alias&quot;}</p><p>Aber wie übergebe ich ncoh den alias?</p>]]></description>
			<author><![CDATA[dummy@example.com (nicmare)]]></author>
			<pubDate>Wed, 15 Aug 2012 16:41:25 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20341#p20341</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Module bequem mittels UDT aufrufen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20338#p20338</link>
			<description><![CDATA[<p>Meine Idee wäre diese hier:</p><div class="codebox"><pre><code>function smarty_function_[short module name here] ($params, &amp;$template) {
    $action   = isset($params[&#039;action&#039;])   ? $params[&#039;action&#039;]   : &#039;default&#039;;
    $returnid = isset($params[&#039;returnid&#039;]) ? $params[&#039;returnid&#039;] : cms_utils::get_current_pageid();
    $id       = isset($params[&#039;id&#039;])       ? $params[&#039;id&#039;]       : &#039;cntnt01&#039;;

    unset($params[&#039;action&#039;]);
    unset($params[&#039;returnid&#039;]);

    return cms_utils::get_module(&#039;Long module name here&#039;)-&gt;DoAction($action, $id, $params, $returnid);
}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Wed, 15 Aug 2012 15:38:37 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20338#p20338</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Module bequem mittels UDT aufrufen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20325#p20325</link>
			<description><![CDATA[<p>gute frage... ein plug-in zu schreiben ist ja jetzt nicht so schwierig, aber wie man aus einem plug-in heraus ein modul aufruft ist mir auch noch nicht ganz klar...</p>]]></description>
			<author><![CDATA[dummy@example.com (leerraum)]]></author>
			<pubDate>Wed, 15 Aug 2012 13:48:24 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20325#p20325</guid>
		</item>
		<item>
			<title><![CDATA[[GELÖST] Module bequem mittels UDT aufrufen?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20324#p20324</link>
			<description><![CDATA[<p>Das Problem ist dass manche Module relativ lange Namen haben. Wenn man sie vielfach verwenden möchte, muss man aufpassen dass man sich nicht vertippt und sich auch gut erinnern wie man das modul nochmal aufruft. Neulich ist mir das mit nem ListIt Klon aufgefallen names ListIt2CloneTranslator.<br />Ruft man also so auf: {ListIt2CloneTranslator action=&quot;detail&quot; item=&quot;alias&quot;}</p><p>Also nen ziemlich problematischer Name. Kann man jetzt nen UDT oder Plugin anlegen dass alle Funktionen 1zu1 durchgibt? </p><p>Damit man das Modul dann so aufrufen kann {Translator action=&quot;detail&quot; item=&quot;alias&quot;} oder wie könnte das funktionieren?</p>]]></description>
			<author><![CDATA[dummy@example.com (nicmare)]]></author>
			<pubDate>Wed, 15 Aug 2012 13:02:11 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=20324#p20324</guid>
		</item>
	</channel>
</rss>
