<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Kommentare zu: Links zum Erzeugen anderer Contentelemente</title>
	<atom:link href="http://typo3blogger.de/links-zum-erzeugen-anderer-contentelemente/feed/" rel="self" type="application/rss+xml" />
	<link>http://typo3blogger.de/links-zum-erzeugen-anderer-contentelemente/</link>
	<description>TYPO3 News, Development &#38; Insider Infos</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:06:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Von: Sven Burkert</title>
		<link>http://typo3blogger.de/links-zum-erzeugen-anderer-contentelemente/comment-page-1/#comment-31800</link>
		<dc:creator>Sven Burkert</dc:creator>
		<pubDate>Fri, 08 Jan 2010 10:29:50 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=3852#comment-31800</guid>
		<description>Und was mach ich nun mit dem $params-Parameter? Das steht vermutlich in $output, wurde aber gekürzt, was? ;)

Hier nochmal als Funktion, mit gesonderter Behandlung, wenn es sich um einen Datensatz vom Typ &quot;page&quot; handelt:

&lt;pre&gt;
/**
 * Wraps an link around a string to edit / create a record.
 *
 * @param string $str: The String to be wrapped
 * @param string $table: Table name (tt_content, ...)
 * @param integer $id: uid of the record
 * @return string: Rendered link
 */
function wrapLinkToRecord($str, $table, $id) {
    global $BACK_PATH;

    if ($table == &#039;pages&#039;) {
        $onClickEvent = &#039;top.fsMod.recentIds[&quot;web&quot;] = &#039; . $id . &#039;;top.goToModule(&quot;web_layout&quot;, 1);&#039;;
    } else {
        $onClickEvent = t3lib_BEfunc::editOnClick(
            &#039;&amp;edit[&#039; . $table . &#039;][&#039; . $id . &#039;]=edit&#039;,
            $BACK_PATH
        );
    }
    return &#039;&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&#039; . $str . &#039;&lt;/a&gt;&#039;;
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Und was mach ich nun mit dem $params-Parameter? Das steht vermutlich in $output, wurde aber gekürzt, was? <img src='http://typo3blogger.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Hier nochmal als Funktion, mit gesonderter Behandlung, wenn es sich um einen Datensatz vom Typ &#8220;page&#8221; handelt:</p>
<pre>
/**
 * Wraps an link around a string to edit / create a record.
 *
 * @param string $str: The String to be wrapped
 * @param string $table: Table name (tt_content, ...)
 * @param integer $id: uid of the record
 * @return string: Rendered link
 */
function wrapLinkToRecord($str, $table, $id) {
    global $BACK_PATH;

    if ($table == 'pages') {
        $onClickEvent = 'top.fsMod.recentIds["web"] = ' . $id . ';top.goToModule("web_layout", 1);';
    } else {
        $onClickEvent = t3lib_BEfunc::editOnClick(
            '&amp;edit[' . $table . '][' . $id . ']=edit',
            $BACK_PATH
        );
    }
    return '<a href="#" rel="nofollow">' . $str . '</a>';
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Sven Burkert</title>
		<link>http://typo3blogger.de/links-zum-erzeugen-anderer-contentelemente/comment-page-1/#comment-31799</link>
		<dc:creator>Sven Burkert</dc:creator>
		<pubDate>Fri, 08 Jan 2010 10:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=3852#comment-31799</guid>
		<description>$params = &#039;&amp;edit[page][111]=new&#039;;
soll wohl
$params = &#039;&amp;edit[pages][111]=new&#039;;
heissen, oder?</description>
		<content:encoded><![CDATA[<p>$params = &#8216;&amp;edit[page][111]=new&#8217;;<br />
soll wohl<br />
$params = &#8216;&amp;edit[pages][111]=new&#8217;;<br />
heissen, oder?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Matthias Stübner</title>
		<link>http://typo3blogger.de/links-zum-erzeugen-anderer-contentelemente/comment-page-1/#comment-31798</link>
		<dc:creator>Matthias Stübner</dc:creator>
		<pubDate>Fri, 08 Jan 2010 09:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=3852#comment-31798</guid>
		<description>... man stelle sich vor, man wolle den Benutzern des BE-Moduls die Möglichkeit geben, mit einem Klick auf einen Link ein ContentElement (evtl. mit vorbelegten Feldern) zu erstellen....

Aufgeklärt? ;-)</description>
		<content:encoded><![CDATA[<p>&#8230; man stelle sich vor, man wolle den Benutzern des BE-Moduls die Möglichkeit geben, mit einem Klick auf einen Link ein ContentElement (evtl. mit vorbelegten Feldern) zu erstellen&#8230;.</p>
<p>Aufgeklärt? <img src='http://typo3blogger.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Bernhard Berger</title>
		<link>http://typo3blogger.de/links-zum-erzeugen-anderer-contentelemente/comment-page-1/#comment-31796</link>
		<dc:creator>Bernhard Berger</dc:creator>
		<pubDate>Fri, 08 Jan 2010 09:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=3852#comment-31796</guid>
		<description>@Alex - denke ja.</description>
		<content:encoded><![CDATA[<p>@Alex &#8211; denke ja.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Bernhard Berger</title>
		<link>http://typo3blogger.de/links-zum-erzeugen-anderer-contentelemente/comment-page-1/#comment-31795</link>
		<dc:creator>Bernhard Berger</dc:creator>
		<pubDate>Fri, 08 Jan 2010 09:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=3852#comment-31795</guid>
		<description>Irgendwie steh ich auf der Leitung bzw. schrammt der Hintergrund dieser Links an mir Vorbei. Bitte um weitere Aufklärung :)</description>
		<content:encoded><![CDATA[<p>Irgendwie steh ich auf der Leitung bzw. schrammt der Hintergrund dieser Links an mir Vorbei. Bitte um weitere Aufklärung <img src='http://typo3blogger.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Alex Kellner</title>
		<link>http://typo3blogger.de/links-zum-erzeugen-anderer-contentelemente/comment-page-1/#comment-31794</link>
		<dc:creator>Alex Kellner</dc:creator>
		<pubDate>Fri, 08 Jan 2010 08:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=3852#comment-31794</guid>
		<description>Es geht hier ums Backend nehme ich an?</description>
		<content:encoded><![CDATA[<p>Es geht hier ums Backend nehme ich an?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

