<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://en.contaowiki.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://en.contaowiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hschottm</id>
		<title>Contao Community Documentation - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://en.contaowiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hschottm"/>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Special:Contributions/Hschottm"/>
		<updated>2026-06-01T20:23:31Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgWarning</id>
		<title>Template:MsgWarning</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgWarning"/>
				<updated>2010-09-12T12:05:12Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgWarning --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#9F6000;background-color:#FEEFB3;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 25px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgWarning.png|alt=&amp;quot;Warning&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgWarning --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates a warning messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgWarning | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgSuccess</id>
		<title>Template:MsgSuccess</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgSuccess"/>
				<updated>2010-09-12T12:05:02Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgSuccess --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#4F8A10;background-color:#DFF2BF;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 25px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgSuccess.png|alt=&amp;quot;Success&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgSuccess --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates a success messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgSuccess | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgImportant</id>
		<title>Template:MsgImportant</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgImportant"/>
				<updated>2010-09-12T12:04:51Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgImportant --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#D8000C;background-color:#FFBABA;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 25px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgImportant.png|alt=&amp;quot;Important&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgImportant --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates an important messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgImportant | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgError</id>
		<title>Template:MsgError</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgError"/>
				<updated>2010-09-12T12:04:40Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgError --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#D8000C;background-color:#FFBABA;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 25px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgError.png|alt=&amp;quot;Error&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgError --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates an error messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgError | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgInfo</id>
		<title>Template:MsgInfo</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgInfo"/>
				<updated>2010-09-12T12:03:40Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#00529B;background-color:#BDE5F8;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 25px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgInfo.png|alt=&amp;quot;Information&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates a information messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgInfo | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgError</id>
		<title>Template:MsgError</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgError"/>
				<updated>2010-09-12T12:01:58Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgError --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#D8000C;background-color:#FFBABA;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgError.png|alt=&amp;quot;Error&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgError --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates an error messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgError | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgError</id>
		<title>Template:MsgError</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgError"/>
				<updated>2010-09-12T12:01:49Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with '&amp;lt;!-- begin msgError --&amp;gt; &amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#D8000C;background-color…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgError --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#D8000C;background-color:#FFBABA;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Bild:msgError.png|alt=&amp;quot;Error&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgError --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates an error messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgError | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgSuccess</id>
		<title>Template:MsgSuccess</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgSuccess"/>
				<updated>2010-09-12T12:00:40Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgSuccess --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#4F8A10;background-color:#DFF2BF;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgSuccess.png|alt=&amp;quot;Success&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgSuccess --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates a success messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgSuccess | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgImportant</id>
		<title>Template:MsgImportant</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgImportant"/>
				<updated>2010-09-12T12:00:11Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with '&amp;lt;!-- begin msgImportant --&amp;gt; &amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#D8000C;background-c…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgImportant --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#D8000C;background-color:#FFBABA;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgImportant.png|alt=&amp;quot;Important&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgImportant --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates an important messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgImportant | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgSuccess</id>
		<title>Template:MsgSuccess</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgSuccess"/>
				<updated>2010-09-12T11:58:56Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with '&amp;lt;!-- begin msgSuccess --&amp;gt; &amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#4F8A10;background-col…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgSuccess --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#4F8A10;background-color:#DFF2BF;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgSuccess.png|alt=&amp;quot;Success&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgSuccess --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Vorlagen]]&lt;br /&gt;
This template creates a success messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgSuccess | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgWarning</id>
		<title>Template:MsgWarning</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgWarning"/>
				<updated>2010-09-12T11:56:51Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with '&amp;lt;!-- begin msgWarning --&amp;gt; &amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#9F6000;background-col…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgWarning --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#9F6000;background-color:#FEEFB3;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgWarning.png|alt=&amp;quot;Warning&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgWarning --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates a warning messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgWarning | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgInfo</id>
		<title>Template:MsgInfo</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgInfo"/>
				<updated>2010-09-12T11:55:47Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#00529B;background-color:#BDE5F8;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgInfo.png|alt=&amp;quot;Information&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
This template creates a information messagebox.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgInfo | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgInfo</id>
		<title>Template:MsgInfo</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgInfo"/>
				<updated>2010-09-12T11:55:13Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#00529B;background-color:#BDE5F8;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgInfo.png|alt=&amp;quot;Information&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
Diese Vorlage ermöglicht es, einen Warnhinweis zu definieren.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgInfo | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgInfo</id>
		<title>Template:MsgInfo</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgInfo"/>
				<updated>2010-09-12T11:55:04Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#00529B;background-color:#BDE5F8;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgInfo.png|alt=&amp;quot;Information&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Vorlagen]]&lt;br /&gt;
Diese Vorlage ermöglicht es, einen Warnhinweis zu definieren.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgInfo | The text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgInfo</id>
		<title>Template:MsgInfo</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgInfo"/>
				<updated>2010-09-12T11:54:51Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#00529B;background-color:#BDE5F8;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Image:msgInfo.png|alt=&amp;quot;Information&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Vorlagen]]&lt;br /&gt;
Diese Vorlage ermöglicht es, einen Warnhinweis zu definieren.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgInfo | Der Text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgInfo</id>
		<title>Template:MsgInfo</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgInfo"/>
				<updated>2010-09-12T11:54:30Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#00529B;background-color:#BDE5F8;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Bild:MsgInfo.png|alt=&amp;quot;Information&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Vorlagen]]&lt;br /&gt;
Diese Vorlage ermöglicht es, einen Warnhinweis zu definieren.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgInfo | Der Text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Template:MsgInfo</id>
		<title>Template:MsgInfo</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Template:MsgInfo"/>
				<updated>2010-09-12T11:54:19Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with '&amp;lt;!-- begin msgInfo --&amp;gt; &amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#00529B;background-color:…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- begin msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:10px 0;display:block;clear:both;float:left;overflow:hidden;position:relative;width:100%;border:1px solid;color:#00529B;background-color:#BDE5F8;&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;div style=&amp;quot;float:left;left:100px;position:relative;width:200%;&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;div style=&amp;quot;float:right;padding-bottom:1em;position:relative;right:80px;width:50%;&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div style=&amp;quot;display:block;margin:10px 15px 0px 50px;overflow:hidden;position:relative;right:100%;&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{{1}}}|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer pretium augue nec sapien ullamcorper a lacinia nunc fermentum. Sed sit amet vestibulum arcu. Vestibulum ultrices semper placerat. Cras quis eros sapien. Mauris suscipit metus eget eros mattis rhoncus at non nulla. Pellentesque justo odio, tempor vel lacinia non, dictum et ante. Aliquam erat volutpat. Fusce interdum neque at libero aliquet eu mollis odio lobortis. Praesent ut nulla sem. Nullam vitae tortor ac ipsum tempus bibendum.}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;display:block;float:left;position:relative;right:95px;width:80px;padding:10px 0;&amp;quot;&amp;gt;[[Bild:msgInfo.png|alt=&amp;quot;Information&amp;quot;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- end msgInfo --&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category: Vorlagen]]&lt;br /&gt;
Diese Vorlage ermöglicht es, einen Warnhinweis zu definieren.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{msgInfo | Der Text}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:MsgWarning.png</id>
		<title>File:MsgWarning.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:MsgWarning.png"/>
				<updated>2010-09-12T11:53:58Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:MsgSuccess.png</id>
		<title>File:MsgSuccess.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:MsgSuccess.png"/>
				<updated>2010-09-12T11:53:48Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:MsgInfo.png</id>
		<title>File:MsgInfo.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:MsgInfo.png"/>
				<updated>2010-09-12T11:53:39Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:MsgImportant.png</id>
		<title>File:MsgImportant.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:MsgImportant.png"/>
				<updated>2010-09-12T11:53:24Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:MsgError.png</id>
		<title>File:MsgError.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:MsgError.png"/>
				<updated>2010-09-12T11:53:15Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tabindex</id>
		<title>Tabindex</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tabindex"/>
				<updated>2010-09-12T11:50:46Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Add the tabindex attribute to your form elements to set an activation order.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.0.0&lt;br /&gt;
| Version=2.9.0 - 2.9.1&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tabindex.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== tabindex ==&lt;br /&gt;
&lt;br /&gt;
tabindex adds the tabindex HTML attribute to most of your form elements. By filling in unique numeric indexes between 1 and 32767 you can set an activation order for your elements when a user tries to navigate through the form using the TAB key.&lt;br /&gt;
&lt;br /&gt;
[[File:tabindex.png|Additional numeric input field to set the Tab activation order for a form element in the Contao form generator|center|frame]]&lt;br /&gt;
&lt;br /&gt;
{{msgInfo|Please note that you may not enter duplicate tabindex values per web page. You can test your individual tab index values by pressing the Tab key in the associated frontend form. The form elements will be activated depending on indexes in incremental order.}}&lt;br /&gt;
&lt;br /&gt;
The tabindex attribute is very useful for multicolumn forms.&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:45, 12 September 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:Tabindex.png</id>
		<title>File:Tabindex.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:Tabindex.png"/>
				<updated>2010-09-12T11:45:40Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tabindex</id>
		<title>Tabindex</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tabindex"/>
				<updated>2010-09-12T11:45:18Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with 'Category:Extensions  Add the tabindex attribute to your form elements to set an activation order.  {{ExtInfo | Dev=Helmut Schottmüller (hschottm) | DevSite…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Add the tabindex attribute to your form elements to set an activation order.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.0.0&lt;br /&gt;
| Version=2.9.0 - 2.9.1&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tabindex.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== tabindex ==&lt;br /&gt;
&lt;br /&gt;
tabindex adds the tabindex HTML attribute to most of your form elements. By filling in unique numeric indexes between 1 and 32767 you can set an activation order for your elements when a user tries to navigate through the form using the TAB key.&lt;br /&gt;
&lt;br /&gt;
[[Datei:tabindex.png|Zusätzliches Eingabefeld für die Tabulator-Reihenfolge für ein Formularelement im Contao Formulargenerator|center|frame]]&lt;br /&gt;
&lt;br /&gt;
Pro angezeigter Webseite dürfen keine doppelten Werte für die Tabulator-Reihenfolge verwendet werden. Testen lässt sich die Vergabe der Tabulator-Reihenfolge einfach durch das Drücken der Tabulator-Taste in einem Frontend-Formular mit gesetzten Werten für die Reihenfolge. Die Felder werden in aufsteigender Reihenfolge der vergebenen Indizes aktiviert.&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:45, 12 September 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/MultiTextWizard</id>
		<title>MultiTextWizard</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/MultiTextWizard"/>
				<updated>2010-09-11T09:53:24Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
A widget to add multiple text fields per row.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.1.0&lt;br /&gt;
| Version=2.9.0 - 2.9.1&lt;br /&gt;
| TLVersion=2.7.0 - 2.8.4&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/MultiTextWizard.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== MultiTextWizard (Multiple text fields in a row) ==&lt;br /&gt;
MultiTextWizard is a Contao widget to enter multiple text fields in a row inside a backend form. The number of text fields per row and an optional array containing column headings could be used as parameters for this widget.&lt;br /&gt;
&lt;br /&gt;
[[File:multitextwizard_en.png|center|frame|Output of a MultitextWizard element with two columns in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
=== Embedding MultiTextWizard in backend forms since version 1.1.0 (recommended) ===&lt;br /&gt;
&lt;br /&gt;
Embedding MultiTextWizard is quite easy. You just need a single eval parameter to define the MultiText matrix with headings and content checks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source type=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'authors' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['authors'],&lt;br /&gt;
    'inputType' =&amp;gt; 'multitextWizard',&lt;br /&gt;
    'eval'      =&amp;gt; array&lt;br /&gt;
      (&lt;br /&gt;
        'style'=&amp;gt;'width:100%;',&lt;br /&gt;
        'columns' =&amp;gt; array&lt;br /&gt;
          (&lt;br /&gt;
            array&lt;br /&gt;
            (&lt;br /&gt;
              'name' =&amp;gt; 'firstname', // optional&lt;br /&gt;
              'label' =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['firstname'],&lt;br /&gt;
              'mandatory' =&amp;gt; false, // optional&lt;br /&gt;
            ),&lt;br /&gt;
            array&lt;br /&gt;
            (&lt;br /&gt;
              'name' =&amp;gt; 'lastname',  // optional&lt;br /&gt;
              'label' =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['lastname'],&lt;br /&gt;
              'mandatory' =&amp;gt; true, // optional&lt;br /&gt;
              'rgxp' =&amp;gt; 'alpha', // optional&lt;br /&gt;
            )&lt;br /&gt;
          )&lt;br /&gt;
       )&lt;br /&gt;
  ),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This means you can add an optional identifier (''name''), a heading (''label''), an optional mandatory check (''mandatory''), and an optional regular expression for a content check (''rgxp'') for each single column. If you define the optional values ''mandatory'' and ''rgxp'' in the default way inside the parent layer of the DCA container's eval array, these settings will be used for all columns as a default. An additional definition in the  ''columns'' array overwrites the global settings of the DCA container.&lt;br /&gt;
&lt;br /&gt;
By defining individual mandatory fields and checks for each column the use receives individual feedback as well if an error occurs. Every column will be marked individually as a mandatory column if the mandatory setting is activated. Error messages will occur under each conflicting input field and show a detailed error message for this exact field:&lt;br /&gt;
&lt;br /&gt;
[[File:multitextwizard_error_en.png|center|frame|Error messages of a MultiTextWizard element]]&lt;br /&gt;
&lt;br /&gt;
=== Embedding MultiTextWizard in backend forms before version 1.1.0 ===&lt;br /&gt;
&lt;br /&gt;
Embedding MultiTextWizard is pretty simple. The number of columns is given by the required parameter columns. If you need column headings you can use the optional parameter labels which should contain an array of n = columns elements. These elements will be used as column headings.&lt;br /&gt;
&lt;br /&gt;
See the following example how to embed MultiTextWizard inside a Contao data container field array:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source type=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'authors' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['authors'],&lt;br /&gt;
    'inputType' =&amp;gt; 'multitextWizard',&lt;br /&gt;
    'eval'      =&amp;gt; array&lt;br /&gt;
      (&lt;br /&gt;
        'mandatory' =&amp;gt; false, &lt;br /&gt;
        'doNotSaveEmpty'=&amp;gt;true, &lt;br /&gt;
        'style'=&amp;gt;'width:142px;', &lt;br /&gt;
        'columns' =&amp;gt; 2, &lt;br /&gt;
        'labels' =&amp;gt; array&lt;br /&gt;
          (&lt;br /&gt;
            &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['firstname'], &lt;br /&gt;
            &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['lastname']&lt;br /&gt;
          )&lt;br /&gt;
       )&lt;br /&gt;
  ),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 11:23, 1 September 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-09-11T09:52:51Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.4&lt;br /&gt;
| Version=2.9.0 - 2.9.1&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[tags_oxygen.css]]'' and ''[[tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[File:heading_tags_only_en.png|center|frame|Checkbox 'Show with tags only' in the heading content element]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Tag object lists ====&lt;br /&gt;
The frontend module '''Tag object lists''' can create lists of content elements filtered by given tags. The available object types are the three content element types ''Page'', ''Article'', and ''Content element''. The '''Object type''' is the element that will be shown and linked in the generated list if a tag exists, e.g. an object type '''Pages''' creates a list URL's to Contao pages, an object type '''Articles''' shows links to Contao articles.&lt;br /&gt;
&lt;br /&gt;
The '''Tag source''' defines which tag sources are used to generate the list. If you choose ''tl_article'' for example, only article tags will be considered.&lt;br /&gt;
&lt;br /&gt;
The '''Pages''' selection is used to define a root page for the available content element links. Only links to this page its subpages will be considered for the list.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
* Object type: Pages&lt;br /&gt;
* Tag source: tl_article&lt;br /&gt;
* Pages: Website root&lt;br /&gt;
&lt;br /&gt;
This creates a list of links to pages that is created from article tags. Only links to the selected website will be considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:tag_object_list_en.png|center|frame|Tag object list settings]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Textwizard</id>
		<title>Textwizard</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Textwizard"/>
				<updated>2010-09-11T09:51:11Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Enhanced list wizard widget.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.1.0&lt;br /&gt;
| Version=2.9.0 - 2.9.1&lt;br /&gt;
| TLVersion=2.7.0 - 2.8.4&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/textwizard.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== textwizard widget (list input) ==&lt;br /&gt;
&lt;br /&gt;
textwizard is an enhanced list wizard widget. It allows you to edit a list of text entries in a backend form. Additional to Contao's list wizard it automatically selects the content of a new or duplicated entry and it adds a 'new' button to add a new empty entry in the list.&lt;br /&gt;
&lt;br /&gt;
[[File:textwizard.png|Usage of textwizard in a Contao backend form|center|frame]]&lt;br /&gt;
&lt;br /&gt;
=== embedding textwizard into backend forms ===&lt;br /&gt;
&lt;br /&gt;
Embedding textwizard in backend forms works exactly like embedding a list wizard. The following example shows an embedded textwizard inside the field array of a Contao data container:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'scale' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'      =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_survey_scale']['scale'],&lt;br /&gt;
    'exclude'    =&amp;gt; true,&lt;br /&gt;
    'inputType'  =&amp;gt; 'textwizard',&lt;br /&gt;
    'eval'       =&amp;gt; array('allowHtml'=&amp;gt;true, 'mandatory' =&amp;gt; true)&lt;br /&gt;
  )&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 11:03, 11 September 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Textwizard</id>
		<title>Textwizard</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Textwizard"/>
				<updated>2010-09-11T09:03:59Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with 'Category:Extensions  Enhanced list wizard widget.  {{ExtInfo | Dev=Helmut Schottmüller (hschottm) | DevSite=http://www.aurealis.de | ExtVersion=1.1.0 | Ver…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Enhanced list wizard widget.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.1.0&lt;br /&gt;
| Version=2.7.0&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/textwizard.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== textwizard widget (list input) ==&lt;br /&gt;
&lt;br /&gt;
textwizard is an enhanced list wizard widget. It allows you to edit a list of text entries in a backend form. Additional to Contao's list wizard it automatically selects the content of a new or duplicated entry and it adds a 'new' button to add a new empty entry in the list.&lt;br /&gt;
&lt;br /&gt;
[[File:textwizard.png|Usage of textwizard in a Contao backend form|center|frame]]&lt;br /&gt;
&lt;br /&gt;
=== embedding textwizard into backend forms ===&lt;br /&gt;
&lt;br /&gt;
Embedding textwizard in backend forms works exactly like embedding a list wizard. The following example shows an embedded textwizard inside the field array of a Contao data container:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'scale' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'      =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_survey_scale']['scale'],&lt;br /&gt;
    'exclude'    =&amp;gt; true,&lt;br /&gt;
    'inputType'  =&amp;gt; 'textwizard',&lt;br /&gt;
    'eval'       =&amp;gt; array('allowHtml'=&amp;gt;true, 'mandatory' =&amp;gt; true)&lt;br /&gt;
  )&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 11:03, 11 September 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:Textwizard.png</id>
		<title>File:Textwizard.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:Textwizard.png"/>
				<updated>2010-09-11T09:02:40Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:Multitextwizard_en.png</id>
		<title>File:Multitextwizard en.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:Multitextwizard_en.png"/>
				<updated>2010-09-01T09:42:09Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: uploaded a new version of &amp;quot;File:Multitextwizard en.png&amp;quot;:&amp;amp;#32;Output of a MultitextWizard element with two columns in the Contao backend&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Output of a MultitextWizard element with two columns in the Contao backend&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:Multitextwizard_error_en.png</id>
		<title>File:Multitextwizard error en.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:Multitextwizard_error_en.png"/>
				<updated>2010-09-01T09:40:03Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Error messages of a MultiTextWizard element&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Error messages of a MultiTextWizard element&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:Multitextwizard_en.png</id>
		<title>File:Multitextwizard en.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:Multitextwizard_en.png"/>
				<updated>2010-09-01T09:36:58Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Output of a MultitextWizard element with two columns in the Contao backend&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Output of a MultitextWizard element with two columns in the Contao backend&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/MultiTextWizard</id>
		<title>MultiTextWizard</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/MultiTextWizard"/>
				<updated>2010-09-01T09:36:31Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
A widget to add multiple text fields per row.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.1.0&lt;br /&gt;
| Version=from 2.7&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/MultiTextWizard.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== MultiTextWizard (Multiple text fields in a row) ==&lt;br /&gt;
MultiTextWizard is a Contao widget to enter multiple text fields in a row inside a backend form. The number of text fields per row and an optional array containing column headings could be used as parameters for this widget.&lt;br /&gt;
&lt;br /&gt;
[[File:multitextwizard_en.png|center|frame|Output of a MultitextWizard element with two columns in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
=== Embedding MultiTextWizard in backend forms since version 1.1.0 (recommended) ===&lt;br /&gt;
&lt;br /&gt;
Embedding MultiTextWizard is quite easy. You just need a single eval parameter to define the MultiText matrix with headings and content checks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source type=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'authors' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['authors'],&lt;br /&gt;
    'inputType' =&amp;gt; 'multitextWizard',&lt;br /&gt;
    'eval'      =&amp;gt; array&lt;br /&gt;
      (&lt;br /&gt;
        'style'=&amp;gt;'width:100%;',&lt;br /&gt;
        'columns' =&amp;gt; array&lt;br /&gt;
          (&lt;br /&gt;
            array&lt;br /&gt;
            (&lt;br /&gt;
              'name' =&amp;gt; 'firstname', // optional&lt;br /&gt;
              'label' =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['firstname'],&lt;br /&gt;
              'mandatory' =&amp;gt; false, // optional&lt;br /&gt;
            ),&lt;br /&gt;
            array&lt;br /&gt;
            (&lt;br /&gt;
              'name' =&amp;gt; 'lastname',  // optional&lt;br /&gt;
              'label' =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['lastname'],&lt;br /&gt;
              'mandatory' =&amp;gt; true, // optional&lt;br /&gt;
              'rgxp' =&amp;gt; 'alpha', // optional&lt;br /&gt;
            )&lt;br /&gt;
          )&lt;br /&gt;
       )&lt;br /&gt;
  ),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This means you can add an optional identifier (''name''), a heading (''label''), an optional mandatory check (''mandatory''), and an optional regular expression for a content check (''rgxp'') for each single column. If you define the optional values ''mandatory'' and ''rgxp'' in the default way inside the parent layer of the DCA container's eval array, these settings will be used for all columns as a default. An additional definition in the  ''columns'' array overwrites the global settings of the DCA container.&lt;br /&gt;
&lt;br /&gt;
By defining individual mandatory fields and checks for each column the use receives individual feedback as well if an error occurs. Every column will be marked individually as a mandatory column if the mandatory setting is activated. Error messages will occur under each conflicting input field and show a detailed error message for this exact field:&lt;br /&gt;
&lt;br /&gt;
[[File:multitextwizard_error_en.png|center|frame|Error messages of a MultiTextWizard element]]&lt;br /&gt;
&lt;br /&gt;
=== Embedding MultiTextWizard in backend forms before version 1.1.0 ===&lt;br /&gt;
&lt;br /&gt;
Embedding MultiTextWizard is pretty simple. The number of columns is given by the required parameter columns. If you need column headings you can use the optional parameter labels which should contain an array of n = columns elements. These elements will be used as column headings.&lt;br /&gt;
&lt;br /&gt;
See the following example how to embed MultiTextWizard inside a Contao data container field array:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source type=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'authors' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['authors'],&lt;br /&gt;
    'inputType' =&amp;gt; 'multitextWizard',&lt;br /&gt;
    'eval'      =&amp;gt; array&lt;br /&gt;
      (&lt;br /&gt;
        'mandatory' =&amp;gt; false, &lt;br /&gt;
        'doNotSaveEmpty'=&amp;gt;true, &lt;br /&gt;
        'style'=&amp;gt;'width:142px;', &lt;br /&gt;
        'columns' =&amp;gt; 2, &lt;br /&gt;
        'labels' =&amp;gt; array&lt;br /&gt;
          (&lt;br /&gt;
            &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['firstname'], &lt;br /&gt;
            &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['lastname']&lt;br /&gt;
          )&lt;br /&gt;
       )&lt;br /&gt;
  ),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 11:23, 1 September 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/MultiTextWizard</id>
		<title>MultiTextWizard</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/MultiTextWizard"/>
				<updated>2010-09-01T09:35:56Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Auszeichnungen zum Kategorisieren von Elementen.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.1.0&lt;br /&gt;
| Version=from 2.7&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/MultiTextWizard.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== MultiTextWizard (Multiple text fields in a row) ==&lt;br /&gt;
MultiTextWizard is a Contao widget to enter multiple text fields in a row inside a backend form. The number of text fields per row and an optional array containing column headings could be used as parameters for this widget.&lt;br /&gt;
&lt;br /&gt;
[[File:multitextwizard_en.png|center|frame|Output of a MultitextWizard element with two columns in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
=== Embedding MultiTextWizard in backend forms since version 1.1.0 (recommended) ===&lt;br /&gt;
&lt;br /&gt;
Embedding MultiTextWizard is quite easy. You just need a single eval parameter to define the MultiText matrix with headings and content checks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source type=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'authors' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['authors'],&lt;br /&gt;
    'inputType' =&amp;gt; 'multitextWizard',&lt;br /&gt;
    'eval'      =&amp;gt; array&lt;br /&gt;
      (&lt;br /&gt;
        'style'=&amp;gt;'width:100%;',&lt;br /&gt;
        'columns' =&amp;gt; array&lt;br /&gt;
          (&lt;br /&gt;
            array&lt;br /&gt;
            (&lt;br /&gt;
              'name' =&amp;gt; 'firstname', // optional&lt;br /&gt;
              'label' =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['firstname'],&lt;br /&gt;
              'mandatory' =&amp;gt; false, // optional&lt;br /&gt;
            ),&lt;br /&gt;
            array&lt;br /&gt;
            (&lt;br /&gt;
              'name' =&amp;gt; 'lastname',  // optional&lt;br /&gt;
              'label' =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['lastname'],&lt;br /&gt;
              'mandatory' =&amp;gt; true, // optional&lt;br /&gt;
              'rgxp' =&amp;gt; 'alpha', // optional&lt;br /&gt;
            )&lt;br /&gt;
          )&lt;br /&gt;
       )&lt;br /&gt;
  ),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This means you can add an optional identifier (''name''), a heading (''label''), an optional mandatory check (''mandatory''), and an optional regular expression for a content check (''rgxp'') for each single column. If you define the optional values ''mandatory'' and ''rgxp'' in the default way inside the parent layer of the DCA container's eval array, these settings will be used for all columns as a default. An additional definition in the  ''columns'' array overwrites the global settings of the DCA container.&lt;br /&gt;
&lt;br /&gt;
By defining individual mandatory fields and checks for each column the use receives individual feedback as well if an error occurs. Every column will be marked individually as a mandatory column if the mandatory setting is activated. Error messages will occur under each conflicting input field and show a detailed error message for this exact field:&lt;br /&gt;
&lt;br /&gt;
[[File:multitextwizard_error_en.png|center|frame|Error messages of a MultiTextWizard element]]&lt;br /&gt;
&lt;br /&gt;
=== Embedding MultiTextWizard in backend forms before version 1.1.0 ===&lt;br /&gt;
&lt;br /&gt;
Embedding MultiTextWizard is pretty simple. The number of columns is given by the required parameter columns. If you need column headings you can use the optional parameter labels which should contain an array of n = columns elements. These elements will be used as column headings.&lt;br /&gt;
&lt;br /&gt;
See the following example how to embed MultiTextWizard inside a Contao data container field array:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source type=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'authors' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['authors'],&lt;br /&gt;
    'inputType' =&amp;gt; 'multitextWizard',&lt;br /&gt;
    'eval'      =&amp;gt; array&lt;br /&gt;
      (&lt;br /&gt;
        'mandatory' =&amp;gt; false, &lt;br /&gt;
        'doNotSaveEmpty'=&amp;gt;true, &lt;br /&gt;
        'style'=&amp;gt;'width:142px;', &lt;br /&gt;
        'columns' =&amp;gt; 2, &lt;br /&gt;
        'labels' =&amp;gt; array&lt;br /&gt;
          (&lt;br /&gt;
            &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['firstname'], &lt;br /&gt;
            &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['lastname']&lt;br /&gt;
          )&lt;br /&gt;
       )&lt;br /&gt;
  ),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 11:23, 1 September 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/MultiTextWizard</id>
		<title>MultiTextWizard</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/MultiTextWizard"/>
				<updated>2010-09-01T09:23:53Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with 'Kategorie:Extensions  Auszeichnungen zum Kategorisieren von Elementen.  {{ExtInfo | Dev=Helmut Schottmüller (hschottm) | DevSite=http://www.aurealis.de | E…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Kategorie:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Auszeichnungen zum Kategorisieren von Elementen.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.1.0&lt;br /&gt;
| Version=ab 2.7&lt;br /&gt;
| ERLink=http://www.contao.org/erweiterungsliste/view/MultiTextWizard.de.html&lt;br /&gt;
| DonateLink=http://aurealis.de/spenden.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== MultiTextWizard (Mehrere Textfelder pro Zeile) ==&lt;br /&gt;
MultiTextWizard ist ein Contao Widget zur Eingabe von mehren Textfeldern pro Zeile innerhalb eines Backend-Formulars. Die Anzahl der Textfelder pro Zeile und ein optionales Array mit den Spaltenüberschriften können als Parameter für dieses Widget verwendet werden.&lt;br /&gt;
&lt;br /&gt;
[[Datei:multitextwizard.png|center|frame|Ausgabe einer MultitextWizard-Eingabe mit zwei Spalten im Contao Backend]]&lt;br /&gt;
&lt;br /&gt;
=== Einbinden von MultiTextWizard in Backend-Formulare ab Version 1.1.0 (empfohlen) ===&lt;br /&gt;
&lt;br /&gt;
Die Einbindung von MultiTextWizard ist denkbar einfach. Über einen einzigen eval-Parameter kann die Multitext-Matrix mit Überschriften und Überprüfungen eingegeben werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source type=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'authors' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['authors'],&lt;br /&gt;
    'inputType' =&amp;gt; 'multitextWizard',&lt;br /&gt;
    'eval'      =&amp;gt; array&lt;br /&gt;
      (&lt;br /&gt;
        'style'=&amp;gt;'width:100%;',&lt;br /&gt;
        'columns' =&amp;gt; array&lt;br /&gt;
          (&lt;br /&gt;
            array&lt;br /&gt;
            (&lt;br /&gt;
              'name' =&amp;gt; 'firstname', // optional&lt;br /&gt;
              'label' =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['firstname'],&lt;br /&gt;
              'mandatory' =&amp;gt; false, // optional&lt;br /&gt;
            ),&lt;br /&gt;
            array&lt;br /&gt;
            (&lt;br /&gt;
              'name' =&amp;gt; 'lastname',  // optional&lt;br /&gt;
              'label' =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['lastname'],&lt;br /&gt;
              'mandatory' =&amp;gt; true, // optional&lt;br /&gt;
              'rgxp' =&amp;gt; 'alpha', // optional&lt;br /&gt;
            )&lt;br /&gt;
          )&lt;br /&gt;
       )&lt;br /&gt;
  ),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
d.h. es können pro Spalte ein optionaler Bezeichner (''name''), eine Spaltenüberschrift (''label''), eine optionale Angabe als Pflichtfeld (''mandatory'') und ein optionaler regulärer Ausdruck zur Überprüfung des Inhaltes (''rgxp'') angegeben werden. Falls die optionalen Angaben ''mandatory'' und ''rgxp'' herkömmlich im eval-Array des DCA-Containers definiert sind, werden diese für alle Spalten übernommen. Eine Definition im ''columns'' Array überschreibt die globalen Einstellungen des DCA-Containers.&lt;br /&gt;
&lt;br /&gt;
Durch die individuelle Vergabe von Pflichtfeldern und Prüfungen für einzelne Spalten fallen jetzt auch die Fehlermeldungen für ein MultiTextWizard Element detaillierter aus. Einerseits werden bei Pflichtspalten die einzelnen Spalten in der Spaltenüberschrift gekennzeichnet, außerdem wird unter jedem fehlerhaften Eingabefeld eine entsprechende Fehlermeldung angezeigt:&lt;br /&gt;
&lt;br /&gt;
[[Datei:multitextwizard_error.png|center|frame|Fehlermeldungen eines MultiTextWizard Elements]]&lt;br /&gt;
&lt;br /&gt;
=== Einbinden von MultiTextWizard in Backend-Formulare vor Version 1.1.0 ===&lt;br /&gt;
&lt;br /&gt;
Die Einbindung von MultiTextWizard ist denkbar einfach. Die Anzahl der verfügbaren Spalten lässt sich über den Parameter columns angeben. Optional kann über den Parameter labels ein Array mit columns Elementen angegeben werden, dessen Inhalte dann als Spaltenüberschriften interpretiert und ausgegeben werden.&lt;br /&gt;
&lt;br /&gt;
Das folgende Beispiel illustriert die Einbindung von MultiTextWizard innerhalb eines field-Arrays in einem Contao Datacontainer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source type=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'fields' =&amp;gt; array&lt;br /&gt;
(&lt;br /&gt;
  'authors' =&amp;gt; array&lt;br /&gt;
  (&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['authors'],&lt;br /&gt;
    'inputType' =&amp;gt; 'multitextWizard',&lt;br /&gt;
    'eval'      =&amp;gt; array&lt;br /&gt;
      (&lt;br /&gt;
        'mandatory' =&amp;gt; false, &lt;br /&gt;
        'doNotSaveEmpty'=&amp;gt;true, &lt;br /&gt;
        'style'=&amp;gt;'width:142px;', &lt;br /&gt;
        'columns' =&amp;gt; 2, &lt;br /&gt;
        'labels' =&amp;gt; array&lt;br /&gt;
          (&lt;br /&gt;
            &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['firstname'], &lt;br /&gt;
            &amp;amp;$GLOBALS['TL_LANG']['tl_literature']['lastname']&lt;br /&gt;
          )&lt;br /&gt;
       )&lt;br /&gt;
  ),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 11:23, 1 September 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags_oxygen.css</id>
		<title>Tags oxygen.css</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags_oxygen.css"/>
				<updated>2010-08-27T14:41:02Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with '&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt; /**  * Style sheet tags  */ ul.cloud { 	margin:0px; 	padding:0.5em 0em; 	text-align:justify; 	line-height:1.3em; 	clear:both!important; }  ul.cloud li { 	widt…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * Style sheet tags&lt;br /&gt;
 */&lt;br /&gt;
ul.cloud&lt;br /&gt;
{&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0.5em 0em;&lt;br /&gt;
	text-align:justify;&lt;br /&gt;
	line-height:1.3em;&lt;br /&gt;
	clear:both!important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li&lt;br /&gt;
{&lt;br /&gt;
	width:auto;&lt;br /&gt;
	position:static;&lt;br /&gt;
	float:none;&lt;br /&gt;
	display:inline;&lt;br /&gt;
	margin:0;&lt;br /&gt;
	padding:0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li a&lt;br /&gt;
{&lt;br /&gt;
	height:auto;&lt;br /&gt;
	position:static;&lt;br /&gt;
	float:none;&lt;br /&gt;
	display:inline;&lt;br /&gt;
	margin:0;&lt;br /&gt;
	padding:0px 4px;&lt;br /&gt;
	text-decoration:none;&lt;br /&gt;
	color:#0053b7;&lt;br /&gt;
	cursor:pointer;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li a span&lt;br /&gt;
{&lt;br /&gt;
	height:auto;&lt;br /&gt;
	position:static;&lt;br /&gt;
	float:none;&lt;br /&gt;
	display:inline;&lt;br /&gt;
	margin:0;&lt;br /&gt;
	padding:0;&lt;br /&gt;
	background:transparent;&lt;br /&gt;
	border:none!important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li a em&lt;br /&gt;
{&lt;br /&gt;
	display:none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size1 a&lt;br /&gt;
{&lt;br /&gt;
	font-size:100%;&lt;br /&gt;
	line-height:1.3em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size2 a&lt;br /&gt;
{&lt;br /&gt;
	font-size:100%;&lt;br /&gt;
	line-height:1.3em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size3 a&lt;br /&gt;
{&lt;br /&gt;
	font-size:120%;&lt;br /&gt;
	line-height:1.1em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size4 a&lt;br /&gt;
{&lt;br /&gt;
	font-weight:bold;&lt;br /&gt;
	font-size:120%;&lt;br /&gt;
	line-height:1.1em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size1 a&lt;br /&gt;
{&lt;br /&gt;
	color:#005fd3;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size2 a&lt;br /&gt;
{&lt;br /&gt;
	color:#0053b7;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size3 a&lt;br /&gt;
{&lt;br /&gt;
	color:#00459b;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size4 a&lt;br /&gt;
{&lt;br /&gt;
	color:#003679;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.isCurrentTag a span, ul.cloud li a:hover&lt;br /&gt;
{&lt;br /&gt;
	background-color:#005fd3;&lt;br /&gt;
	color:#fff!important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li a:hover span&lt;br /&gt;
{&lt;br /&gt;
	color:#fff!important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mod_tagcloud .toggle-button&lt;br /&gt;
{&lt;br /&gt;
	padding-left:20px;&lt;br /&gt;
	background-image:url(&amp;quot;tl_files/tags/del_sprite_arrows.gif&amp;quot;);&lt;br /&gt;
	background-repeat:no-repeat;&lt;br /&gt;
	background-position:3px -318px;&lt;br /&gt;
	background-color: transparent;&lt;br /&gt;
	cursor:pointer;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mod_tagcloud .yes&lt;br /&gt;
{&lt;br /&gt;
	padding-left:20px;&lt;br /&gt;
	background-image:url(&amp;quot;tl_files/tags/del_sprite_arrows.gif&amp;quot;);&lt;br /&gt;
	background-repeat:no-repeat;&lt;br /&gt;
	background-position:3px -359px;&lt;br /&gt;
	background-color: transparent;&lt;br /&gt;
	cursor:pointer;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mod_tagcloud .off&lt;br /&gt;
{&lt;br /&gt;
	padding-left:20px;&lt;br /&gt;
	background:none;&lt;br /&gt;
	cursor:default;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mod_tagcloud h3&lt;br /&gt;
{&lt;br /&gt;
	background-color:#e9e9e9;&lt;br /&gt;
	font-weight:bold;&lt;br /&gt;
	font-size:90%;&lt;br /&gt;
	color:#666666;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related&lt;br /&gt;
{&lt;br /&gt;
	width:100%;&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0px;&lt;br /&gt;
	list-style-type:none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li&lt;br /&gt;
{&lt;br /&gt;
	width:100%;&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0pt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li span.reltext&lt;br /&gt;
{&lt;br /&gt;
	width:48%;&lt;br /&gt;
	float:left;&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0% 0.5%;&lt;br /&gt;
	text-align:left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li span.relcount&lt;br /&gt;
{&lt;br /&gt;
	width:49%;&lt;br /&gt;
	float:left;&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0% 0.5%;&lt;br /&gt;
	text-align:right;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li a&lt;br /&gt;
{&lt;br /&gt;
	height:auto;&lt;br /&gt;
	position:static;&lt;br /&gt;
	float:none;&lt;br /&gt;
	display:inline;&lt;br /&gt;
	margin:0;&lt;br /&gt;
	padding:0;&lt;br /&gt;
	text-decoration:none;&lt;br /&gt;
	color:#0053b7;&lt;br /&gt;
	cursor:pointer;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li a:hover, ul.related li a:hover span&lt;br /&gt;
{&lt;br /&gt;
	color:#fff;&lt;br /&gt;
	background-color: #0053b7;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.tag-chain&lt;br /&gt;
{&lt;br /&gt;
        text-align:right;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li.tag-chain-item&lt;br /&gt;
{&lt;br /&gt;
        display:inline;&lt;br /&gt;
        margin:0px;&lt;br /&gt;
        padding:0px;&lt;br /&gt;
        list-style-type:none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li.tag-chain-item a&lt;br /&gt;
{&lt;br /&gt;
        padding:0.25em;&lt;br /&gt;
        background-color:#eee;&lt;br /&gt;
        text-decoration:none;&lt;br /&gt;
        color:#666;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li.tag-chain-item a:hover&lt;br /&gt;
{&lt;br /&gt;
        background-color:#666;&lt;br /&gt;
        text-decoration:none;&lt;br /&gt;
        color:#fff;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags_orange.css</id>
		<title>Tags orange.css</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags_orange.css"/>
				<updated>2010-08-27T14:40:01Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with '&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt;  /**  * Style sheet tags_orange  */ ul.cloud { 	margin:0px; 	padding:0.5em 0em; 	text-align:justify; 	line-height:1.3em; 	clear:both!important; }  ul.cloud li…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Style sheet tags_orange&lt;br /&gt;
 */&lt;br /&gt;
ul.cloud&lt;br /&gt;
{&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0.5em 0em;&lt;br /&gt;
	text-align:justify;&lt;br /&gt;
	line-height:1.3em;&lt;br /&gt;
	clear:both!important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li&lt;br /&gt;
{&lt;br /&gt;
	width:auto;&lt;br /&gt;
	position:static;&lt;br /&gt;
	float:none;&lt;br /&gt;
	display:inline;&lt;br /&gt;
	margin:0;&lt;br /&gt;
	padding:0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li a&lt;br /&gt;
{&lt;br /&gt;
	height:auto;&lt;br /&gt;
	position:static;&lt;br /&gt;
	float:none;&lt;br /&gt;
	display:inline;&lt;br /&gt;
	margin:0;&lt;br /&gt;
	padding:0px 4px;&lt;br /&gt;
	text-decoration:none;&lt;br /&gt;
	color:#f39a37;&lt;br /&gt;
	cursor:pointer;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li a span&lt;br /&gt;
{&lt;br /&gt;
	height:auto;&lt;br /&gt;
	position:static;&lt;br /&gt;
	float:none;&lt;br /&gt;
	display:inline;&lt;br /&gt;
	margin:0;&lt;br /&gt;
	padding:0;&lt;br /&gt;
	background:transparent;&lt;br /&gt;
	border:none!important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li a em&lt;br /&gt;
{&lt;br /&gt;
	display:none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size1&lt;br /&gt;
{&lt;br /&gt;
	font-size:100%;&lt;br /&gt;
	line-height:1.3em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size2&lt;br /&gt;
{&lt;br /&gt;
	font-size:100%;&lt;br /&gt;
	line-height:1.3em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size3&lt;br /&gt;
{&lt;br /&gt;
	font-size:120%;&lt;br /&gt;
	line-height:1.1em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size4&lt;br /&gt;
{&lt;br /&gt;
	font-weight:bold;&lt;br /&gt;
	font-size:120%;&lt;br /&gt;
	line-height:1.1em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size1 a&lt;br /&gt;
{&lt;br /&gt;
	color:#f39a37;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size2 a&lt;br /&gt;
{&lt;br /&gt;
	color:#CC812F;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size3 a&lt;br /&gt;
{&lt;br /&gt;
	color:#B27029;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.size4 a&lt;br /&gt;
{&lt;br /&gt;
	color:#996023;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li.isCurrentTag a span, ul.cloud li a:hover&lt;br /&gt;
{&lt;br /&gt;
	background-color:#f39a37;&lt;br /&gt;
	color:#fff!important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.cloud li a:hover span&lt;br /&gt;
{&lt;br /&gt;
	color:#fff!important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mod_tagcloud .toggle-button&lt;br /&gt;
{&lt;br /&gt;
	padding-left:20px;&lt;br /&gt;
	background-image:url(&amp;quot;tl_files/tags/del_sprite_arrows.gif&amp;quot;);&lt;br /&gt;
	background-repeat:no-repeat;&lt;br /&gt;
	background-position:3px -318px;&lt;br /&gt;
	background-color: transparent;&lt;br /&gt;
	cursor:pointer;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mod_tagcloud .yes&lt;br /&gt;
{&lt;br /&gt;
	padding-left:20px;&lt;br /&gt;
	background-image:url(&amp;quot;tl_files/tags/del_sprite_arrows.gif&amp;quot;);&lt;br /&gt;
	background-repeat:no-repeat;&lt;br /&gt;
	background-position:3px -359px;&lt;br /&gt;
	background-color: transparent;&lt;br /&gt;
	cursor:pointer;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mod_tagcloud .off&lt;br /&gt;
{&lt;br /&gt;
	padding-left:20px;&lt;br /&gt;
	background:none;&lt;br /&gt;
	cursor:default;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mod_tagcloud h3&lt;br /&gt;
{&lt;br /&gt;
	background-color:#e9e9e9;&lt;br /&gt;
	font-weight:bold;&lt;br /&gt;
	font-size:90%;&lt;br /&gt;
	color:#666666;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related&lt;br /&gt;
{&lt;br /&gt;
	width:100%;&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0px;&lt;br /&gt;
	list-style-type:none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li&lt;br /&gt;
{&lt;br /&gt;
	width:100%;&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0pt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li span.reltext&lt;br /&gt;
{&lt;br /&gt;
	width:48%;&lt;br /&gt;
	float:left;&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0% 0.5%;&lt;br /&gt;
	text-align:left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li span.relcount&lt;br /&gt;
{&lt;br /&gt;
	width:49%;&lt;br /&gt;
	float:left;&lt;br /&gt;
	margin:0px;&lt;br /&gt;
	padding:0% 0.5%;&lt;br /&gt;
	text-align:right;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li a&lt;br /&gt;
{&lt;br /&gt;
	height:auto;&lt;br /&gt;
	position:static;&lt;br /&gt;
	float:none;&lt;br /&gt;
	display:inline;&lt;br /&gt;
	margin:0;&lt;br /&gt;
	padding:0;&lt;br /&gt;
	text-decoration:none;&lt;br /&gt;
	color:#f39a37;&lt;br /&gt;
	cursor:pointer;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.related li a:hover, ul.related li a:hover span&lt;br /&gt;
{&lt;br /&gt;
	color:#fff;&lt;br /&gt;
	background-color: #f39a37;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.tag-chain&lt;br /&gt;
{&lt;br /&gt;
        text-align:right;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li.tag-chain-item&lt;br /&gt;
{&lt;br /&gt;
        display:inline;&lt;br /&gt;
        margin:0px;&lt;br /&gt;
        padding:0px;&lt;br /&gt;
        list-style-type:none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li.tag-chain-item a&lt;br /&gt;
{&lt;br /&gt;
        padding:0.25em;&lt;br /&gt;
        background-color:#eee;&lt;br /&gt;
        text-decoration:none;&lt;br /&gt;
        color:#666;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li.tag-chain-item a:hover&lt;br /&gt;
{&lt;br /&gt;
        background-color:#666;&lt;br /&gt;
        text-decoration:none;&lt;br /&gt;
        color:#fff;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:37:54Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.4&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[tags_oxygen.css]]'' and ''[[tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[File:heading_tags_only_en.png|center|frame|Checkbox 'Show with tags only' in the heading content element]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Tag object lists ====&lt;br /&gt;
The frontend module '''Tag object lists''' can create lists of content elements filtered by given tags. The available object types are the three content element types ''Page'', ''Article'', and ''Content element''. The '''Object type''' is the element that will be shown and linked in the generated list if a tag exists, e.g. an object type '''Pages''' creates a list URL's to Contao pages, an object type '''Articles''' shows links to Contao articles.&lt;br /&gt;
&lt;br /&gt;
The '''Tag source''' defines which tag sources are used to generate the list. If you choose ''tl_article'' for example, only article tags will be considered.&lt;br /&gt;
&lt;br /&gt;
The '''Pages''' selection is used to define a root page for the available content element links. Only links to this page its subpages will be considered for the list.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
* Object type: Pages&lt;br /&gt;
* Tag source: tl_article&lt;br /&gt;
* Pages: Website root&lt;br /&gt;
&lt;br /&gt;
This creates a list of links to pages that is created from article tags. Only links to the selected website will be considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:tag_object_list_en.png|center|frame|Tag object list settings]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/User:Hschottm</id>
		<title>User:Hschottm</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/User:Hschottm"/>
				<updated>2010-08-27T14:35:05Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Created page with ''''Nick:'''  * hschottm (auch im Contao Forum)  '''Real Name:'''  * Helmut Schottmüller  '''Work''':  * Self employed, CEO [http://www.touchbyte.de touchbyte GmbH], Own company …'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Nick:''' &lt;br /&gt;
* hschottm (auch im Contao Forum)&lt;br /&gt;
&lt;br /&gt;
'''Real Name:''' &lt;br /&gt;
* Helmut Schottmüller&lt;br /&gt;
&lt;br /&gt;
'''Work''': &lt;br /&gt;
* Self employed, CEO [http://www.touchbyte.de touchbyte GmbH], Own company [http://www.aurealis.de aurealis]&lt;br /&gt;
&lt;br /&gt;
'''Job description:''' &lt;br /&gt;
* Development of iPhone/iPod Touch/iPad apps, Java Enterprise software development (Apple WebObjects), Apple MacOS software development, Contao CMS&lt;br /&gt;
&lt;br /&gt;
'''Hobbies:'''&lt;br /&gt;
* Contao Open Source CMS Development&lt;br /&gt;
* Biking&lt;br /&gt;
* Cooking&lt;br /&gt;
&lt;br /&gt;
'''Web pages:'''&lt;br /&gt;
* [http://www.aurealis.de www.aurealis.de]&lt;br /&gt;
* [http://www.touchbyte.de www.touchbyte.de] &lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Blackmail's such an ugly word. I prefer extortion -- the &amp;quot;x&amp;quot; makes it sound cool.&amp;lt;br /&amp;gt;&lt;br /&gt;
-- Bender&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:32:32Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.4&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[File:heading_tags_only_en.png|center|frame|Checkbox 'Show with tags only' in the heading content element]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Tag object lists ====&lt;br /&gt;
The frontend module '''Tag object lists''' can create lists of content elements filtered by given tags. The available object types are the three content element types ''Page'', ''Article'', and ''Content element''. The '''Object type''' is the element that will be shown and linked in the generated list if a tag exists, e.g. an object type '''Pages''' creates a list URL's to Contao pages, an object type '''Articles''' shows links to Contao articles.&lt;br /&gt;
&lt;br /&gt;
The '''Tag source''' defines which tag sources are used to generate the list. If you choose ''tl_article'' for example, only article tags will be considered.&lt;br /&gt;
&lt;br /&gt;
The '''Pages''' selection is used to define a root page for the available content element links. Only links to this page its subpages will be considered for the list.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
* Object type: Pages&lt;br /&gt;
* Tag source: tl_article&lt;br /&gt;
* Pages: Website root&lt;br /&gt;
&lt;br /&gt;
This creates a list of links to pages that is created from article tags. Only links to the selected website will be considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:tag_object_list_en.png|center|frame|Tag object list settings]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:31:58Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Tag object lists */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[File:heading_tags_only_en.png|center|frame|Checkbox 'Show with tags only' in the heading content element]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Tag object lists ====&lt;br /&gt;
The frontend module '''Tag object lists''' can create lists of content elements filtered by given tags. The available object types are the three content element types ''Page'', ''Article'', and ''Content element''. The '''Object type''' is the element that will be shown and linked in the generated list if a tag exists, e.g. an object type '''Pages''' creates a list URL's to Contao pages, an object type '''Articles''' shows links to Contao articles.&lt;br /&gt;
&lt;br /&gt;
The '''Tag source''' defines which tag sources are used to generate the list. If you choose ''tl_article'' for example, only article tags will be considered.&lt;br /&gt;
&lt;br /&gt;
The '''Pages''' selection is used to define a root page for the available content element links. Only links to this page its subpages will be considered for the list.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
* Object type: Pages&lt;br /&gt;
* Tag source: tl_article&lt;br /&gt;
* Pages: Website root&lt;br /&gt;
&lt;br /&gt;
This creates a list of links to pages that is created from article tags. Only links to the selected website will be considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:tag_object_list_en.png|center|frame|Tag object list settings]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/File:Tag_object_list_en.png</id>
		<title>File:Tag object list en.png</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/File:Tag_object_list_en.png"/>
				<updated>2010-08-27T14:31:30Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: Tag object list module settings&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Tag object list module settings&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:30:59Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Auszeichnungsobjekte */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[File:heading_tags_only_en.png|center|frame|Checkbox 'Show with tags only' in the heading content element]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Tag object lists ====&lt;br /&gt;
The frontend module '''Tag object lists''' can create lists of content elements filtered by given tags. The available object types are the three content element types ''Page'', ''Article'', and ''Content element''. The '''Object type''' is the element that will be shown and linked in the generated list if a tag exists, e.g. an object type '''Pages''' creates a list URL's to Contao pages, an object type '''Articles''' shows links to Contao articles.&lt;br /&gt;
&lt;br /&gt;
The '''Tag source''' defines which tag sources are used to generate the list. If you choose ''tl_article'' for example, only article tags will be considered.&lt;br /&gt;
&lt;br /&gt;
The '''Pages''' selection is used to define a root page for the available content element links. Only links to this page its subpages will be considered for the list.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
* Object type: Pages&lt;br /&gt;
* Tag source: tl_article&lt;br /&gt;
* Pages: Website root&lt;br /&gt;
&lt;br /&gt;
This creates a list of links to pages that is created from article tags. Only links to the selected website will be considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsobjekte.png|center|frame|Einstellungen des Frontendmoduls Auszeichnungsobjekte]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:19:53Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Special settings for news modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[File:heading_tags_only_en.png|center|frame|Checkbox 'Show with tags only' in the heading content element]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Auszeichnungsobjekte ====&lt;br /&gt;
Mit dem Frontend-Modul Auszeichnungsobjekte kann eine Liste eines bestimmten Inhalts-Objekttyps angezeigt werden. Als '''Objekttyp''' stehen die drei Inhaltstypen ''Seiten'', ''Artikel'' oder ''Inhaltselemente'' zur Verfügung. Der Objekttyp ist das Element, das in der Liste verlinkt wird, wenn eine Auszeichnung existiert. Bei einem ausgewählten Objekttyp ''Seiten'' werden also Links auf Contao-Seiten angezeigt, bei einem Objekttyp Artikel werden Links auf Contao Artikel angezeigt etc.&lt;br /&gt;
&lt;br /&gt;
Die '''Einschränkung auf Datenquelle''' legt fest, welche Auszeichnungen in der Liste verarbeitet werden sollen. Wird hier z.B. tl_article gewählt, werden nur Artikelauszeichnungen berücksichtigt. Wird tl_content ausgewählt, werden nur Auszeichnungen von Inhaltselementen berücksichtigt.&lt;br /&gt;
&lt;br /&gt;
Über '''Seiten''' müssen Sie die Seite auswählen, die zur Erstellung der Objektliste verwendet werden soll. Wenn die Seite Unterseiten besitzt, so werden diese ebenfalls für die Generierung der Objektliste verwendet. Das heißt, es werden nur Auszeichnungen berücksichtigt, die für Inhalts-Objekte vergeben wurden, die sich auf der ausgewählten Seite oder deren Unterseiten befinden.&lt;br /&gt;
&lt;br /&gt;
'''Beispiel:'''&lt;br /&gt;
* Objekttyp: Seiten&lt;br /&gt;
* Einschränkung auf Datenquelle: tl_article&lt;br /&gt;
* Seiten: Startpunkt der aktuellen Website&lt;br /&gt;
&lt;br /&gt;
Für ausgewählte Auszeichnungen wird eine Liste von Links auf Seiten angezeigt, bei deren Artikel die Auszeichnungen vergeben wurden. Berücksichtigt werden alle Seiten der aktuellen Website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsobjekte.png|center|frame|Einstellungen des Frontendmoduls Auszeichnungsobjekte]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:19:02Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Content elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[File:heading_tags_only_en.png|center|frame|Checkbox 'Show with tags only' in the heading content element]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
[[Datei:tags_ignore.png|center|frame|Ignorieren von Auszeichnungen in den Nachrichtenmodulen]]&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Auszeichnungsobjekte ====&lt;br /&gt;
Mit dem Frontend-Modul Auszeichnungsobjekte kann eine Liste eines bestimmten Inhalts-Objekttyps angezeigt werden. Als '''Objekttyp''' stehen die drei Inhaltstypen ''Seiten'', ''Artikel'' oder ''Inhaltselemente'' zur Verfügung. Der Objekttyp ist das Element, das in der Liste verlinkt wird, wenn eine Auszeichnung existiert. Bei einem ausgewählten Objekttyp ''Seiten'' werden also Links auf Contao-Seiten angezeigt, bei einem Objekttyp Artikel werden Links auf Contao Artikel angezeigt etc.&lt;br /&gt;
&lt;br /&gt;
Die '''Einschränkung auf Datenquelle''' legt fest, welche Auszeichnungen in der Liste verarbeitet werden sollen. Wird hier z.B. tl_article gewählt, werden nur Artikelauszeichnungen berücksichtigt. Wird tl_content ausgewählt, werden nur Auszeichnungen von Inhaltselementen berücksichtigt.&lt;br /&gt;
&lt;br /&gt;
Über '''Seiten''' müssen Sie die Seite auswählen, die zur Erstellung der Objektliste verwendet werden soll. Wenn die Seite Unterseiten besitzt, so werden diese ebenfalls für die Generierung der Objektliste verwendet. Das heißt, es werden nur Auszeichnungen berücksichtigt, die für Inhalts-Objekte vergeben wurden, die sich auf der ausgewählten Seite oder deren Unterseiten befinden.&lt;br /&gt;
&lt;br /&gt;
'''Beispiel:'''&lt;br /&gt;
* Objekttyp: Seiten&lt;br /&gt;
* Einschränkung auf Datenquelle: tl_article&lt;br /&gt;
* Seiten: Startpunkt der aktuellen Website&lt;br /&gt;
&lt;br /&gt;
Für ausgewählte Auszeichnungen wird eine Liste von Links auf Seiten angezeigt, bei deren Artikel die Auszeichnungen vergeben wurden. Berücksichtigt werden alle Seiten der aktuellen Website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsobjekte.png|center|frame|Einstellungen des Frontendmoduls Auszeichnungsobjekte]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:17:32Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Content elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[File:heading_tags_only_en.png|center|frame|Auswahl 'Nur bei Auszeichnungen anzeigen' im Überschrift Inhaltselement]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
[[Datei:tags_ignore.png|center|frame|Ignorieren von Auszeichnungen in den Nachrichtenmodulen]]&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Auszeichnungsobjekte ====&lt;br /&gt;
Mit dem Frontend-Modul Auszeichnungsobjekte kann eine Liste eines bestimmten Inhalts-Objekttyps angezeigt werden. Als '''Objekttyp''' stehen die drei Inhaltstypen ''Seiten'', ''Artikel'' oder ''Inhaltselemente'' zur Verfügung. Der Objekttyp ist das Element, das in der Liste verlinkt wird, wenn eine Auszeichnung existiert. Bei einem ausgewählten Objekttyp ''Seiten'' werden also Links auf Contao-Seiten angezeigt, bei einem Objekttyp Artikel werden Links auf Contao Artikel angezeigt etc.&lt;br /&gt;
&lt;br /&gt;
Die '''Einschränkung auf Datenquelle''' legt fest, welche Auszeichnungen in der Liste verarbeitet werden sollen. Wird hier z.B. tl_article gewählt, werden nur Artikelauszeichnungen berücksichtigt. Wird tl_content ausgewählt, werden nur Auszeichnungen von Inhaltselementen berücksichtigt.&lt;br /&gt;
&lt;br /&gt;
Über '''Seiten''' müssen Sie die Seite auswählen, die zur Erstellung der Objektliste verwendet werden soll. Wenn die Seite Unterseiten besitzt, so werden diese ebenfalls für die Generierung der Objektliste verwendet. Das heißt, es werden nur Auszeichnungen berücksichtigt, die für Inhalts-Objekte vergeben wurden, die sich auf der ausgewählten Seite oder deren Unterseiten befinden.&lt;br /&gt;
&lt;br /&gt;
'''Beispiel:'''&lt;br /&gt;
* Objekttyp: Seiten&lt;br /&gt;
* Einschränkung auf Datenquelle: tl_article&lt;br /&gt;
* Seiten: Startpunkt der aktuellen Website&lt;br /&gt;
&lt;br /&gt;
Für ausgewählte Auszeichnungen wird eine Liste von Links auf Seiten angezeigt, bei deren Artikel die Auszeichnungen vergeben wurden. Berücksichtigt werden alle Seiten der aktuellen Website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsobjekte.png|center|frame|Einstellungen des Frontendmoduls Auszeichnungsobjekte]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:16:43Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Showing the assigned tags in the frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:news_entry_assigned_tags_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[Datei:heading_tags_only.png|center|frame|Auswahl 'Nur bei Auszeichnungen anzeigen' im Überschrift Inhaltselement]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
[[Datei:tags_ignore.png|center|frame|Ignorieren von Auszeichnungen in den Nachrichtenmodulen]]&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Auszeichnungsobjekte ====&lt;br /&gt;
Mit dem Frontend-Modul Auszeichnungsobjekte kann eine Liste eines bestimmten Inhalts-Objekttyps angezeigt werden. Als '''Objekttyp''' stehen die drei Inhaltstypen ''Seiten'', ''Artikel'' oder ''Inhaltselemente'' zur Verfügung. Der Objekttyp ist das Element, das in der Liste verlinkt wird, wenn eine Auszeichnung existiert. Bei einem ausgewählten Objekttyp ''Seiten'' werden also Links auf Contao-Seiten angezeigt, bei einem Objekttyp Artikel werden Links auf Contao Artikel angezeigt etc.&lt;br /&gt;
&lt;br /&gt;
Die '''Einschränkung auf Datenquelle''' legt fest, welche Auszeichnungen in der Liste verarbeitet werden sollen. Wird hier z.B. tl_article gewählt, werden nur Artikelauszeichnungen berücksichtigt. Wird tl_content ausgewählt, werden nur Auszeichnungen von Inhaltselementen berücksichtigt.&lt;br /&gt;
&lt;br /&gt;
Über '''Seiten''' müssen Sie die Seite auswählen, die zur Erstellung der Objektliste verwendet werden soll. Wenn die Seite Unterseiten besitzt, so werden diese ebenfalls für die Generierung der Objektliste verwendet. Das heißt, es werden nur Auszeichnungen berücksichtigt, die für Inhalts-Objekte vergeben wurden, die sich auf der ausgewählten Seite oder deren Unterseiten befinden.&lt;br /&gt;
&lt;br /&gt;
'''Beispiel:'''&lt;br /&gt;
* Objekttyp: Seiten&lt;br /&gt;
* Einschränkung auf Datenquelle: tl_article&lt;br /&gt;
* Seiten: Startpunkt der aktuellen Website&lt;br /&gt;
&lt;br /&gt;
Für ausgewählte Auszeichnungen wird eine Liste von Links auf Seiten angezeigt, bei deren Artikel die Auszeichnungen vergeben wurden. Berücksichtigt werden alle Seiten der aktuellen Website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsobjekte.png|center|frame|Einstellungen des Frontendmoduls Auszeichnungsobjekte]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:16:07Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Showing the assigned tags in the frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:auszeichnungsliste_en.png|center|frame|Additional tags at the bottom of a news list entry]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[Datei:heading_tags_only.png|center|frame|Auswahl 'Nur bei Auszeichnungen anzeigen' im Überschrift Inhaltselement]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
[[Datei:tags_ignore.png|center|frame|Ignorieren von Auszeichnungen in den Nachrichtenmodulen]]&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Auszeichnungsobjekte ====&lt;br /&gt;
Mit dem Frontend-Modul Auszeichnungsobjekte kann eine Liste eines bestimmten Inhalts-Objekttyps angezeigt werden. Als '''Objekttyp''' stehen die drei Inhaltstypen ''Seiten'', ''Artikel'' oder ''Inhaltselemente'' zur Verfügung. Der Objekttyp ist das Element, das in der Liste verlinkt wird, wenn eine Auszeichnung existiert. Bei einem ausgewählten Objekttyp ''Seiten'' werden also Links auf Contao-Seiten angezeigt, bei einem Objekttyp Artikel werden Links auf Contao Artikel angezeigt etc.&lt;br /&gt;
&lt;br /&gt;
Die '''Einschränkung auf Datenquelle''' legt fest, welche Auszeichnungen in der Liste verarbeitet werden sollen. Wird hier z.B. tl_article gewählt, werden nur Artikelauszeichnungen berücksichtigt. Wird tl_content ausgewählt, werden nur Auszeichnungen von Inhaltselementen berücksichtigt.&lt;br /&gt;
&lt;br /&gt;
Über '''Seiten''' müssen Sie die Seite auswählen, die zur Erstellung der Objektliste verwendet werden soll. Wenn die Seite Unterseiten besitzt, so werden diese ebenfalls für die Generierung der Objektliste verwendet. Das heißt, es werden nur Auszeichnungen berücksichtigt, die für Inhalts-Objekte vergeben wurden, die sich auf der ausgewählten Seite oder deren Unterseiten befinden.&lt;br /&gt;
&lt;br /&gt;
'''Beispiel:'''&lt;br /&gt;
* Objekttyp: Seiten&lt;br /&gt;
* Einschränkung auf Datenquelle: tl_article&lt;br /&gt;
* Seiten: Startpunkt der aktuellen Website&lt;br /&gt;
&lt;br /&gt;
Für ausgewählte Auszeichnungen wird eine Liste von Links auf Seiten angezeigt, bei deren Artikel die Auszeichnungen vergeben wurden. Berücksichtigt werden alle Seiten der aktuellen Website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsobjekte.png|center|frame|Einstellungen des Frontendmoduls Auszeichnungsobjekte]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:15:06Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Showing the assigned tags in the frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
An additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsliste.png|center|frame|Darstellung einer Nachricht mit zugehörigen Auszeichnungen]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[Datei:heading_tags_only.png|center|frame|Auswahl 'Nur bei Auszeichnungen anzeigen' im Überschrift Inhaltselement]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
[[Datei:tags_ignore.png|center|frame|Ignorieren von Auszeichnungen in den Nachrichtenmodulen]]&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Auszeichnungsobjekte ====&lt;br /&gt;
Mit dem Frontend-Modul Auszeichnungsobjekte kann eine Liste eines bestimmten Inhalts-Objekttyps angezeigt werden. Als '''Objekttyp''' stehen die drei Inhaltstypen ''Seiten'', ''Artikel'' oder ''Inhaltselemente'' zur Verfügung. Der Objekttyp ist das Element, das in der Liste verlinkt wird, wenn eine Auszeichnung existiert. Bei einem ausgewählten Objekttyp ''Seiten'' werden also Links auf Contao-Seiten angezeigt, bei einem Objekttyp Artikel werden Links auf Contao Artikel angezeigt etc.&lt;br /&gt;
&lt;br /&gt;
Die '''Einschränkung auf Datenquelle''' legt fest, welche Auszeichnungen in der Liste verarbeitet werden sollen. Wird hier z.B. tl_article gewählt, werden nur Artikelauszeichnungen berücksichtigt. Wird tl_content ausgewählt, werden nur Auszeichnungen von Inhaltselementen berücksichtigt.&lt;br /&gt;
&lt;br /&gt;
Über '''Seiten''' müssen Sie die Seite auswählen, die zur Erstellung der Objektliste verwendet werden soll. Wenn die Seite Unterseiten besitzt, so werden diese ebenfalls für die Generierung der Objektliste verwendet. Das heißt, es werden nur Auszeichnungen berücksichtigt, die für Inhalts-Objekte vergeben wurden, die sich auf der ausgewählten Seite oder deren Unterseiten befinden.&lt;br /&gt;
&lt;br /&gt;
'''Beispiel:'''&lt;br /&gt;
* Objekttyp: Seiten&lt;br /&gt;
* Einschränkung auf Datenquelle: tl_article&lt;br /&gt;
* Seiten: Startpunkt der aktuellen Website&lt;br /&gt;
&lt;br /&gt;
Für ausgewählte Auszeichnungen wird eine Liste von Links auf Seiten angezeigt, bei deren Artikel die Auszeichnungen vergeben wurden. Berücksichtigt werden alle Seiten der aktuellen Website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsobjekte.png|center|frame|Einstellungen des Frontendmoduls Auszeichnungsobjekte]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	<entry>
		<id>https://en.contaowiki.org/Tags</id>
		<title>Tags</title>
		<link rel="alternate" type="text/html" href="https://en.contaowiki.org/Tags"/>
				<updated>2010-08-27T14:14:34Z</updated>
		
		<summary type="html">&lt;p&gt;Hschottm: /* Showing the assigned tags in the frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Extensions]]&lt;br /&gt;
&lt;br /&gt;
Tags to categorize Contao elements.&lt;br /&gt;
&lt;br /&gt;
{{ExtInfo&lt;br /&gt;
| Dev=Helmut Schottmüller ([[User:hschottm|hschottm]])&lt;br /&gt;
| DevSite=http://www.aurealis.de&lt;br /&gt;
| ExtVersion=1.6.2&lt;br /&gt;
| Version=2.9+&lt;br /&gt;
| ERLink=http://www.contao.org/extension-list/view/tags.en.html&lt;br /&gt;
| DonateLink=http://aurealis.de/donate.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Module tags ==&lt;br /&gt;
&lt;br /&gt;
tags is a Contao extension that provides an architecture to tag any Contao element. It comes with a generalized database structure to save the tags and it can be used to visualize existing tags. tags also comes with ready-to-use tag support for Contao articles, news articles and calendar events.&lt;br /&gt;
&lt;br /&gt;
Developers may use the tags architecture to add tag support for their components as well. The module provides an input field widget for the actual data container and supports storing and retrieving of tags from the database. With JavaScript activated it is also possible to add and remove tags with a simple mouse click in the backend tag input field.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_backend_en.png|center|frame|tag input field in the Contao backend]]&lt;br /&gt;
&lt;br /&gt;
The screenshot shows that the HTML title attribute of the tag URL contains the name of the tag and the number of the tagged entities, e.g. Logging (2) means that the tag logging has been used two times for the selected object type (in this case news articles).&lt;br /&gt;
&lt;br /&gt;
Please note that you can only use one tag input field in a data container because the tag widget uses the data source of the parent data container.&lt;br /&gt;
&lt;br /&gt;
=== Hints for extension developers ===&lt;br /&gt;
&lt;br /&gt;
User who just want to use the tags extension can skip the following paragraph.&lt;br /&gt;
&lt;br /&gt;
==== Adding tag support for Contao data containers ====&lt;br /&gt;
&lt;br /&gt;
To add tag support in the Contao backend, you need to complete the following steps:&lt;br /&gt;
&lt;br /&gt;
# To show a tag input field, you must create a database field for the data container. You only need a small database field because the tags are saved in a separate table but you need the field to embedd the input field in the data container. All tags will be saved in the database table tl_tag which is provided by the tags extension.&lt;br /&gt;
# You need to embed the input field in the DCA configuration array of your module&lt;br /&gt;
&lt;br /&gt;
The database field can be created in ''config/database.sql'' of your module, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE `tl_literature` (&lt;br /&gt;
  `tags` char(1) NOT NULL default ''&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add the tag field to the DCA configuration array, you must integrate it in one of the palettes of the configuration array and add a field definition, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
'' Palettes&lt;br /&gt;
'palettes' =&amp;gt; array(&lt;br /&gt;
  'default' =&amp;gt; 'title,author,description,tags,content'&lt;br /&gt;
),&lt;br /&gt;
'' Fields&lt;br /&gt;
'fields' =&amp;gt; array(&lt;br /&gt;
  'tags' =&amp;gt; array(&lt;br /&gt;
    'label'     =&amp;gt; &amp;amp;$GLOBALS['TL_LANG']['MSC']['tags'],&lt;br /&gt;
    'inputType' =&amp;gt; 'tag'&lt;br /&gt;
  )&lt;br /&gt;
),&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tags extension already provides the language variable ''$GLOBALS['TL_LANG']['MSC']['tags']'' as a default identifier for tag fields. You may change this of course to another value.&lt;br /&gt;
&lt;br /&gt;
During the validation in the save process the tags module automatically saves the entered tags in the database table ''tl_tag''. For every tag it stores the ID of the actual data container (table field &amp;quot;id&amp;quot;), the name of the data container (table field &amp;quot;from_table&amp;quot;), and the tag value (table field &amp;quot;tag&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==== Options of the eval array of a tag widget ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; &lt;br /&gt;
! Key &lt;br /&gt;
! Value &lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| table || Source table ''string'' || Name of the source table of the tag data. Default is the name of the actual DCA data container. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| isTag || true/false ''boolean'' || If true (default) the tags will be saved in a separate tag table (tl_tags). If false, the content of the tag field will be saved in the associated database field of the data container. In this case you'll need more than a char(1) database field. &lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
| maxtags || Count ''integer'' || The maximum number of tags that should be shown above the input field. This may be helpful if you have a large number of tags. If the maximum number is lower than the number of all tags, the component takes the tags with the most selections first and hides tags which are used rarely. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Using tags in the Contao front end ===&lt;br /&gt;
The Contao module &amp;quot;Tag Cloud&amp;quot; is meant to present a tag cloud in the Contao front end. It generates an HTML list for a given set of tags (e.g. a data container). To present this list as a tag cloud, you'll have to define the associated CSS selectors in your site CSS file(s). tags already comes with two example style sheets ''[[Media:tags_oxygen.css]]'' and ''[[Media:tags_orange.css]]'' which can be found in the ''tl_files/tags'' directory of the installation package (or in the same directory of your Contao installation if you installed the module via the Contao extension repository). Please use these example files as basis of your own CSS definition because in some cases it matters that styles have to be defined invisible (e.g. for the &amp;quot;Top 10 tags&amp;quot; feature).&lt;br /&gt;
&lt;br /&gt;
[[File:tags_number_and_size_en.png|center|frame|Number and size settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The Number and size settings section lets you define some basic layout settings for the tag cloud. With the '''maximum number of tags''' you can limit the number of tags shown in the tag cloud. A value of 0 always shows all available tags, a value greater 0 only shows the most frequent tags according to the entered number. Please not that you should add a notice for your users if you don't show all available tags. The '''number of tag sizes''' limits the number of CSS class selectors for tag sizes. The default value of 4 generates 4 different CSS class styles for your tags (according to the occurrence of the tags): size1, size2, size3, and size4. If you change this number, you need to consider this in the definition of your CSS file. ''Use tag classname'' adds and additional CSS class for every tag that contains the name of the tag (blanks are replaced with an underscore). This allows you to individually style certain tags with your CSS file. The tag sports activities for example will get an additional CSS style sports_activity and can be changed to a huge size in your CSS file if you want to highlight this given tag.&lt;br /&gt;
&lt;br /&gt;
The '''Use tag classname''' checkbox adds an additional CSS class name for every tag which consists of the name of the tag (only whitespaces are converted to underscores). This gives you the opportunity to define individual CSS styles for selected tags.&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_template_settings_en.png|frame|center|Tag cloud template settings]]&lt;br /&gt;
&lt;br /&gt;
For the HTML code generation of the tag cloud you may choose a template from the '''Tag Cloud Template''' combo box. By default this is the ''mod_tagcloud'' template. You can create individual templates for your tag clouds if the templates start with ''mod_tagcloud'' e.g. ''mod_tagcloud_mine'' etc.&lt;br /&gt;
&lt;br /&gt;
'''Show related tags''' adds a list of related tags to the frontend if a tag is selected. This shows all tags and their frequency that are defined together with the selected tag. If you click on a related tag, the selection of the results will be narrowed to all database entries that contain the selected tag and the selected related tag. The related tags view only works if the tag cloud module is integrated in the destination page of the tag cloud hyperlinks. Typically you position your tag cloud in a column on the left or right side and the results in the main column of the page.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_additional_tag_lists_en.png|center|frame|Additional tag lists settings in the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
'''Top 10 Tags''' adds an additional tag cloud that contains only the 10 most frequently used tags. If you activate the Top 10 tags, you will see two additional selections:&lt;br /&gt;
&lt;br /&gt;
* '''Expand Top 10 Tags''': Check this box to expand the Top 10 Tags by default. This only works if JavaScript is enabled in the browser, otherwise the Top 10 Tags are expanded always.&lt;br /&gt;
* '''Expand All Tags''': Check this box to expand the main tag cloud by default. This only works if JavaScript is enabled in the browser, otherwise the main tag cloud is expanded always.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_redirect_settings_en.png|center|frame|Redirect settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the redirect settings section select a destination page if you want to use hyperlinks for every tag in the tag cloud. The destination page will be called with the URL parameter ''tag=TAGNAME'' e.g. ''http://www.mydomain.tld/destination.html?tag=contao'' or ''http://www.mydomain.tld/destination/tag/contao.html'' if you use Contao URL rewriting.&lt;br /&gt;
&lt;br /&gt;
'''Keep URL paramters''' preserves date specific URL parameters (for the actual time period) in news archives. If you use the tag cloud on the same page as a news archive, the selected time period will be used in the tag URL's too.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_datasource_settings_en.png|center|frame|Datasource settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
In the '''datasource settings''' you need to select the Contao source tables to generate your tag cloud. If you want to show tags for news articles you should check the tl_news table. You may uses specialized tag module add ons that are valid for certain Contao objects only such as tags_news, tags_articles, or tags_events. With these modules you don't need to select a datasource.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_expert_settings_en.png|center|frame|Expert settings of the tag cloud module]]&lt;br /&gt;
&lt;br /&gt;
The '''expert settings''' should only be changed if you use your own datasources to feed the tag cloud. If you use the default solution coming with the tags module, please ignore this setting. Developers may define a different database table and a different database table field as a source for the tag cloud. You may also define additional CSS classes or ID's for your tag cloud to style the cloud with your custom CSS code.&lt;br /&gt;
&lt;br /&gt;
If you've done anything by the book, you should see a similar output on your page:&lt;br /&gt;
&lt;br /&gt;
[[File:tagcloud_frontend_en.png|center|frame|Frontend output of a tag cloud]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_topten_en.png|center|frame|Frontend output of a tag cloud and top ten tags]]&lt;br /&gt;
&lt;br /&gt;
or with activated Top 10 Tags and related tags:&lt;br /&gt;
&lt;br /&gt;
[[File:tags_related_en.png|center|frame|Frontend output of a tag cloud, top ten tags, and related tags]]&lt;br /&gt;
&lt;br /&gt;
If more than one tag cloud (Top 10 and all tags) are shown, Contao adds a JavaScript that allows you to expand of collapse the tag clouds. Without JavaScript support the tags are always expanded. To make the JavaScript work you must use the CSS style definitions from the example CSS files tags_oxygen.css or tags_orange.css.&lt;br /&gt;
&lt;br /&gt;
The tags extension comes with default tag support for the following Contao elements:&lt;br /&gt;
&lt;br /&gt;
* News articles&lt;br /&gt;
* Articles&lt;br /&gt;
* Content elements&lt;br /&gt;
* Calendar events&lt;br /&gt;
  &lt;br /&gt;
==== Using tag clouds to redirect to other Contao modules ====&lt;br /&gt;
&lt;br /&gt;
For a meaningful usage of a tag cloud you should enter a destination page in the redirect settings of the tag cloud module. The destination page should contain the tag cloud module (if you want to use the related tags) and one of the following Contao modules which have been modified by the tags extension:&lt;br /&gt;
&lt;br /&gt;
* Module '''News archive''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Newslist''': Shows all news articles that are tagged with a selected tag. The heading of the news archive will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Global article list''': Show a list of articles that are tagged with a selected tag. The heading of the article list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Event list''': Shows all events of a selected calenders that are tagged with a selected tag. The heading of the event list will be shown with the selected tag and the number of selections.&lt;br /&gt;
* Module '''Tag object list''': Shows lists of content elements (pages, articles, content elements) with given tags.&lt;br /&gt;
&lt;br /&gt;
==== Showing the assigned tags in the frontend ====&lt;br /&gt;
&lt;br /&gt;
For news articles and articles you can show the assigned tags at the bottom of the content. Therefore you can check the '''Show article tags''' or '''Show news tags''' option in the particular module and select a destination page for the tag hyperlinks.&lt;br /&gt;
&lt;br /&gt;
The '''Ignore tags''' setting ignores all tag related URL parameters. This means that news lists or other modules using this settings cannot be filtered by tags. This is helpful if you have multiple lists on the same page and only want  a specific list to be filtered by tags.&lt;br /&gt;
&lt;br /&gt;
These tag settings are available for the modules '''News reader''', '''News archive''', and '''Article list (Tags)'''. '''Article list (Tags)''' is only available if you install the add-on extension tags_articles.&lt;br /&gt;
&lt;br /&gt;
[[File:tags_settings_news_en.png|center|frame|Tags settings for news objects]]&lt;br /&gt;
&lt;br /&gt;
The additional tag list is only shown if you're using a template that is capable of evaluating the tag list template variables. You may check the template ''news_full_tags'' for further details. You can make any other template ready for this feature if you copy and paste the related code into the template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTags): ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php if (count($this-&amp;gt;taglist)): ?&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;tag-chain&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter = 0; foreach ($this-&amp;gt;taglist as $tag): ?&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;tag-chain-item&amp;lt;?php if ($counter == 0) echo ' first'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($counter == count($this-&amp;gt;taglist)-1) echo ' last'; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php if ($this-&amp;gt;showTagClass) echo ' ' . $tag['class']; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $tag['url']; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;?php $counter++; endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The CSS styles for this output are already defined in the example CSS files tags_orange.css and tags_oxygen.css. You might use these files as a basis for your own style definitions. A news entry with its assigned tags will look as follows:&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsliste.png|center|frame|Darstellung einer Nachricht mit zugehörigen Auszeichnungen]]&lt;br /&gt;
&lt;br /&gt;
=== Content elements ===&lt;br /&gt;
The tags extension extends the Contao content element '''Heading''' and introduces an additional parameter '''Show with tags only''' into the expert settings. If you check this option Contao only shows the heading if one or more tags are used on the content page, e.g. if the page was opened from a tag cloud.&lt;br /&gt;
&lt;br /&gt;
[[Datei:heading_tags_only.png|center|frame|Auswahl 'Nur bei Auszeichnungen anzeigen' im Überschrift Inhaltselement]]&lt;br /&gt;
&lt;br /&gt;
You can use this element in combination with the insert tag &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to show a tag specific heading for your content, e.g.  '''Selected Participants &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''' =&amp;gt; '''Selected Participants (Congress+October+New York)'''&lt;br /&gt;
&lt;br /&gt;
=== Insert Tags ===&lt;br /&gt;
&lt;br /&gt;
tags adds the following Insert Tags to Contao:&lt;br /&gt;
&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_used&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with a list of the used tags, e.g. '''(Contao+Extension+tags)'''&lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news::''news_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given news article, e.g.  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_news:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the news article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event::''event_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given calendar event, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_event:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the calendar event with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url::''article_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''':Will be replaced with the list of linked tags that is assigned to the given article, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_article_url:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the article with ID 1 and links every tag to the page that contains the article. &lt;br /&gt;
* '''&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content::''content_id''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;''': Will be replaced with the list of tags that is assigned to the given content element, e.g. &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;tags_content:1&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; shows the tags of the content element with ID 1. &lt;br /&gt;
&lt;br /&gt;
=== Additional Contao modules ===&lt;br /&gt;
The tags extension comes with the following new Contao modules:&lt;br /&gt;
&lt;br /&gt;
==== Globale article list ====&lt;br /&gt;
The global article list shows a list of all available articles for a given selected tag.&lt;br /&gt;
&lt;br /&gt;
==== Special settings for news modules ====&lt;br /&gt;
The news modules '''Newsreader''', '''News archive''', and '''Newslist''' use an additional parameter to ignore all tag settings. This might be helpfull if you have multiple modules on a page and only one module should be able to filter its content by a selected tag. If you check the Ignore tags option in the Tag settings section, the modules will ignore any tag related actions.&lt;br /&gt;
&lt;br /&gt;
[[Datei:tags_ignore.png|center|frame|Ignorieren von Auszeichnungen in den Nachrichtenmodulen]]&lt;br /&gt;
&lt;br /&gt;
News modules also contain a Tag filter where you can add a comma separated list of tags. The content of the modules will be filtered by default using the entered tags. This might be helpful if you want to show only lists which are assigned with certain tags.&lt;br /&gt;
&lt;br /&gt;
==== Auszeichnungsobjekte ====&lt;br /&gt;
Mit dem Frontend-Modul Auszeichnungsobjekte kann eine Liste eines bestimmten Inhalts-Objekttyps angezeigt werden. Als '''Objekttyp''' stehen die drei Inhaltstypen ''Seiten'', ''Artikel'' oder ''Inhaltselemente'' zur Verfügung. Der Objekttyp ist das Element, das in der Liste verlinkt wird, wenn eine Auszeichnung existiert. Bei einem ausgewählten Objekttyp ''Seiten'' werden also Links auf Contao-Seiten angezeigt, bei einem Objekttyp Artikel werden Links auf Contao Artikel angezeigt etc.&lt;br /&gt;
&lt;br /&gt;
Die '''Einschränkung auf Datenquelle''' legt fest, welche Auszeichnungen in der Liste verarbeitet werden sollen. Wird hier z.B. tl_article gewählt, werden nur Artikelauszeichnungen berücksichtigt. Wird tl_content ausgewählt, werden nur Auszeichnungen von Inhaltselementen berücksichtigt.&lt;br /&gt;
&lt;br /&gt;
Über '''Seiten''' müssen Sie die Seite auswählen, die zur Erstellung der Objektliste verwendet werden soll. Wenn die Seite Unterseiten besitzt, so werden diese ebenfalls für die Generierung der Objektliste verwendet. Das heißt, es werden nur Auszeichnungen berücksichtigt, die für Inhalts-Objekte vergeben wurden, die sich auf der ausgewählten Seite oder deren Unterseiten befinden.&lt;br /&gt;
&lt;br /&gt;
'''Beispiel:'''&lt;br /&gt;
* Objekttyp: Seiten&lt;br /&gt;
* Einschränkung auf Datenquelle: tl_article&lt;br /&gt;
* Seiten: Startpunkt der aktuellen Website&lt;br /&gt;
&lt;br /&gt;
Für ausgewählte Auszeichnungen wird eine Liste von Links auf Seiten angezeigt, bei deren Artikel die Auszeichnungen vergeben wurden. Berücksichtigt werden alle Seiten der aktuellen Website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei:auszeichnungsobjekte.png|center|frame|Einstellungen des Frontendmoduls Auszeichnungsobjekte]]&lt;br /&gt;
&lt;br /&gt;
--[[User:Hschottm|Hschottm]] 13:28, 27 August 2010 (CEST)&lt;/div&gt;</summary>
		<author><name>Hschottm</name></author>	</entry>

	</feed>