<?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=1637&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / [GELÖST] CompanyDirectory: Template für hcard]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=1637</link>
		<description><![CDATA[Die aktuellsten Beiträge in [GELÖST] CompanyDirectory: Template für hcard.]]></description>
		<lastBuildDate>Wed, 23 May 2012 19:04:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [GELÖST] CompanyDirectory: Template für hcard]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=18737#p18737</link>
			<description><![CDATA[<p>Hallo cyberman,<br />gibt es auch eine Möglichkeit, direkt das Value eines CustomField in einer If-Anweisung im Zusammenfassungtemplate zu verwenden? So in der Art ...</p><div class="codebox"><pre><code>{if $entry-&gt;Kundentyp == &#039;Premium&#039;}
Name: &lt;a href=&quot;{$entry-&gt;detail_url}&quot;&gt;{$entry-&gt;company_name}&lt;/a&gt;&lt;br /&gt;
{else}
Name: {$entry-&gt;company_name}&lt;br /&gt;
{/if}</code></pre></div><p>In diesem Beispiel ist &quot;Kundentyp&quot; das CustomField und nur die Entries mit &quot;Premium&quot; im Value sollen einen Link bekommen. Nur klappt das irgendwie nicht ...?!</p><p>Gruß, Peter</p>]]></description>
			<author><![CDATA[dummy@example.com (2Cee.de)]]></author>
			<pubDate>Wed, 23 May 2012 19:04:04 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=18737#p18737</guid>
		</item>
		<item>
			<title><![CDATA[[GELÖST] CompanyDirectory: Template für hcard]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=14148#p14148</link>
			<description><![CDATA[<p>Mit einer kleinen Änderung am Detail-Template können die Moduldaten auch im <a href="http://microformats.org/wiki/hCard" rel="nofollow">hcard</a> und im <a href="http://microformats.org/wiki/microformats-2" rel="nofollow">microformat-2 hcard</a> Format ausgegeben werden:</p><div class="codebox"><pre class="vscroll"><code>&lt;div class=&quot;CompanyDirectoryItem vcard h-card&quot;&gt;
 
Name: &lt;span class=&quot;fn org p-name p-org&quot;&gt;{$entry-&gt;company_name}&lt;/span&gt;&lt;br /&gt;
 
{if $entry-&gt;address ne &#039;&#039;}
Adresse: &lt;span class=&quot;adr p-adr h-adr&quot;&gt;{$entry-&gt;address}&lt;/span&gt;&lt;br /&gt;
{/if}
 
{if $entry-&gt;telephone ne &#039;&#039;}
Telefon: &lt;span class=&quot;tel p-tel&quot;&gt;{$entry-&gt;telephone}&lt;/span&gt;&lt;br /&gt;
{/if}
 
{if $entry-&gt;fax ne &#039;&#039;}
&lt;span class=&quot;tel p-tel&quot;&gt;&lt;span class=&quot;type&quot;&gt;Fax&lt;/span&gt;: 
&lt;span class=&quot;value&quot;&gt;{$entry-&gt;fax}&lt;/span&gt;
{/if}
 
{if $entry-&gt;contact_email ne &#039;&#039;}
Kontakt-Email: 
&lt;a class=&quot;email u-email&quot; href=&quot;mailto:{$entry-&gt;contact_email}&quot;&gt;{$entry-&gt;contact_email}&lt;/a&gt;&lt;br /&gt;
{/if}
 
{if $entry-&gt;website ne &#039;&#039;}
Webseite: &lt;a class=&quot;url u-url&quot; href=&quot;{$entry-&gt;website}&quot;&gt;{$entry-&gt;website}&lt;/a&gt;&lt;br /&gt;
{/if}
 
{if $entry-&gt;details ne &#039;&#039;}
Details:&lt;br /&gt;
&lt;span class=&quot;note p-note&quot;&gt;{$entry-&gt;details}&lt;/span&gt;&lt;br /&gt;
{/if}
 
{if $entry-&gt;picture_location ne &#039;&#039;}
Bild: &lt;img class=&quot;photo u-photo&quot; src=&quot;{$entry-&gt;picture_path}&quot; /&gt;&lt;br /&gt;
{/if}
 
{if $entry-&gt;logo_location ne &#039;&#039;}
Logo: &lt;img class=&quot;logo u-logo&quot; src=&quot;{$entry-&gt;logo_path}&quot; /&gt;&lt;br /&gt;
{/if}
 
{if isset($entry-&gt;fields) }
  {foreach from=$entry-&gt;fields key=&#039;field_name&#039; item=customfield}
    {$customfield-&gt;name}: {$customfield-&gt;value}&lt;br /&gt;
  {/foreach}
{/if}
 
{if $categorytext ne &#039;&#039;}
Kategorien: {$categorytext}&lt;br /&gt;
{/if}
 
&lt;/div&gt;</code></pre></div><p>Quelle: <a href="http://microformats.org/wiki/cmsms-companydirectory" rel="nofollow">http://microformats.org/wiki/cmsms-companydirectory</a></p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Sun, 18 Dec 2011 18:42:12 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=14148#p14148</guid>
		</item>
	</channel>
</rss>
