<?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=828&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=828</link>
		<description><![CDATA[Die aktuellsten Beiträge in CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?.]]></description>
		<lastBuildDate>Wed, 18 May 2011 10:10:51 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7502#p7502</link>
			<description><![CDATA[<p>Ahhh habs herrausgefunde mit {$item-&gt;datei-&gt;value} gehts. </p><p>Danke für eure Hilfe <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/smile.png" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (dalton)]]></author>
			<pubDate>Wed, 18 May 2011 10:10:51 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7502#p7502</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7501#p7501</link>
			<description><![CDATA[<p>Jetzt kommt:</p><div class="codebox"><pre class="vscroll"><code>ctlmm_field object: (
    level = pdfs,
    type = file,
    name = datei,
    value = ctlmm_file object (file= uploads/tableau/pdf/pdf_holder.pdf),
    options = ,
    fileobject = ctlmm_file object (file= uploads/tableau/pdf/pdf_holder.pdf),
    params = Array
(
    [mandatory] =&gt; 1
    [indexed] =&gt; 
    [allowedext] =&gt; pdf
    [startdir] =&gt; uploads/tableau/pdf
)
,
    function GetDate($format),
    function Thumbnail(),
    function Label(),
    function getItems($activeonly=true),
    function getItem($activeonly=true),
    function setValue($value),
    function parseFloat($floatString),
    function setParam($param,$value),
    function setParams($params),
    function setOptions($options),
    function getSaveValue(),
    function isIndexed(),
    function getHiddenInput($value=false, $search=false),
    function Lang($string),
    function TableHeader($column_index, $force_numeric=false),
    function getDataType(),
    function cleanInput($value),
    function validate($value),
    function getOptionsArray($db=false),
    function getInput($search=&quot;&quot;, $value=false, $addtext=&quot;&quot;),
    (private) form_mode = ,
    (private) prefix = ,
    (private) module = CMSMS Module object,
    (private) modid = mda04e        
)

ctlmm_field object: (
    level = pdfs,
    type = file,
    name = datei,
    value = ctlmm_file object (file= uploads/tableau/pdf/pdf_holder.pdf),
    options = ,
    fileobject = ctlmm_file object (file= uploads/tableau/pdf/pdf_holder.pdf),
    params = Array
(
    [mandatory] =&gt; 1
    [indexed] =&gt; 
    [allowedext] =&gt; pdf
    [startdir] =&gt; uploads/tableau/pdf
)
,
    function GetDate($format),
    function Thumbnail(),
    function Label(),
    function getItems($activeonly=true),
    function getItem($activeonly=true),
    function setValue($value),
    function parseFloat($floatString),
    function setParam($param,$value),
    function setParams($params),
    function setOptions($options),
    function getSaveValue(),
    function isIndexed(),
    function getHiddenInput($value=false, $search=false),
    function Lang($string),
    function TableHeader($column_index, $force_numeric=false),
    function getDataType(),
    function cleanInput($value),
    function validate($value),
    function getOptionsArray($db=false),
    function getInput($search=&quot;&quot;, $value=false, $addtext=&quot;&quot;),
    (private) form_mode = ,
    (private) prefix = ,
    (private) module = CMSMS Module object,
    (private) modid = mda04e        
)</code></pre></div><p>Nur wie krieg ich jetzt &quot;uploads/tableau/pdf/pdf_holder.pdf&quot; als smarty da raus?</p>]]></description>
			<author><![CDATA[dummy@example.com (dalton)]]></author>
			<pubDate>Wed, 18 May 2011 10:02:39 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7501#p7501</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7499#p7499</link>
			<description><![CDATA[<p>Ich liebe Module, die bewährte Smarty-Mechanismen außer Kraft setzen <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/sad.png" alt="sad" /> .</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Wed, 18 May 2011 09:53:11 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7499#p7499</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7497#p7497</link>
			<description><![CDATA[<p>Auf keinen Fall &lt;pre&gt;{items|print_r}&lt;/pre&gt; machen!<br />Steht auch so in der Hilfe.</p><p>Sondern: $item-&gt;printObject() oder $item-&gt;datei-&gt;printObject() usw...<br />Steht auch so in der Hilfe deines Moduls.</p>]]></description>
			<author><![CDATA[dummy@example.com (Klenkes)]]></author>
			<pubDate>Wed, 18 May 2011 09:50:05 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7497#p7497</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7496#p7496</link>
			<description><![CDATA[<p>Hmm, die wird lt. forge immer noch als Beta ausgewiesen.</p><p>Wo genau hast du das o.G. eingefügt?</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Wed, 18 May 2011 09:40:35 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7496#p7496</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7494#p7494</link>
			<description><![CDATA[<p>CTLModuleMaker&#160; &#160; 2.0.3</p>]]></description>
			<author><![CDATA[dummy@example.com (dalton)]]></author>
			<pubDate>Wed, 18 May 2011 09:33:32 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7494#p7494</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7491#p7491</link>
			<description><![CDATA[<p>Welche Modulversion verwendest du?</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Wed, 18 May 2011 09:10:51 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7491#p7491</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7489#p7489</link>
			<description><![CDATA[<p>Leider geht das mit dem Modul nicht sobald ich eins von diesen 2 im Template eingebe ladet es unendlich viel Code und stürtz ab.</p>]]></description>
			<author><![CDATA[dummy@example.com (dalton)]]></author>
			<pubDate>Wed, 18 May 2011 09:08:42 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7489#p7489</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7487#p7487</link>
			<description><![CDATA[<p>Check mal via </p><div class="codebox"><pre><code>{get_template_vars} </code></pre></div><p>und </p><div class="codebox"><pre><code>&lt;pre&gt;{items|print_r}&lt;/pre&gt;</code></pre></div><p> was das Modul da überhaupt so liefert.</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Wed, 18 May 2011 08:56:47 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7487#p7487</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7480#p7480</link>
			<description><![CDATA[<p>Leider funktioniert das nicht... es gibt nichts aus!</p>]]></description>
			<author><![CDATA[dummy@example.com (dalton)]]></author>
			<pubDate>Wed, 18 May 2011 08:25:01 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7480#p7480</guid>
		</item>
		<item>
			<title><![CDATA[Re: CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7471#p7471</link>
			<description><![CDATA[<p>Hallo </p><p>Wenn dein Dateifeld &quot;datei&quot; heißt, dann kannst du hiermit die URL dafür ausgeben: </p><div class="codebox"><pre><code>{$item-&gt;datei-&gt;url}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (kris29)]]></author>
			<pubDate>Wed, 18 May 2011 06:42:56 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7471#p7471</guid>
		</item>
		<item>
			<title><![CDATA[CTLModuleMaker Datei Feld wird direkt als URL + Name angezeigt?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7458#p7458</link>
			<description><![CDATA[<p>Hallo</p><p>ich habe ein Module mit CTLModuleMaker erstellt.</p><p>In diesem Module hab ich ein Dateifeld um PDF Dateien hochzuladen und dann auf der Webseite auszugeben.</p><p>Jetzt gibt es die möglichkeit das Dateifeld mit {$item-&gt;datei} auszulesen in dieser Varibale ist die URL und auch der Name des PDF enthalten also z.B.</p><p>pdf-test.pdf und der &lt;a href=&quot;uploads/pdf-test.pdf&quot;&gt;&lt;/a&gt; ist direkt hinterlegt. </p><p>Also schlussendlich steht nur &quot;pdf-test.pdf&quot; auf der Webseite und wen man draufklickt öffnet sich das PDF.</p><p>Nur jetzt will ich aber das ich dem PDF ein eigenen Name angeben kann und es nicht automatisch den Namen vom PDF nimmt.</p><p>Für das bräuchte ich ja nur die jeweilige URL des Feldes ohne PDF Namen aber wie komm ich zu dieser?</p><p>Dies steht noch bei den vorhanden Variablen die ich eingeben kann:</p><div class="codebox"><pre><code>For all file fields, the file object is available through $item-&gt;fieldname-&gt;fileobject

    $file-&gt;url [relative url]
    $file-&gt;load_file_info() [populates the following variables]
    $file-&gt;extension
    $file-&gt;size [size in bytes]
    $file-&gt;size_wformat [formated size]
    $file-&gt;imagesize [&quot;widthxheight&quot; - for images only]
    $file-&gt;width [for images only]
    $file-&gt;height [for images only]
    $file-&gt;filemtime [last modified, unix time]
    $file-&gt;modified [last modified, formated time]
    $file-&gt;thumbnail()
    $file-&gt;get_thumb_url()
    $file-&gt;display(&quot;title or alt&quot;)</code></pre></div><p>Weis jemand wie ich zu der URL des Dateifeldes komme?</p>]]></description>
			<author><![CDATA[dummy@example.com (dalton)]]></author>
			<pubDate>Tue, 17 May 2011 15:33:39 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=7458#p7458</guid>
		</item>
	</channel>
</rss>
