<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TYPO3-Addict &#187; GMENU</title>
	<atom:link href="http://www.typo3-addict.com/tag/gmenu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.typo3-addict.com</link>
	<description>For those addicted to TYPO3</description>
	<lastBuildDate>Wed, 02 Jun 2010 13:03:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>TYPO3: GMENU with a different image for each menu item</title>
		<link>http://www.typo3-addict.com/2008/11/gmenu-with-a-different-image-for-each-menu-item/</link>
		<comments>http://www.typo3-addict.com/2008/11/gmenu-with-a-different-image-for-each-menu-item/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 16:57:36 +0000</pubDate>
		<dc:creator>Maarten</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[GMENU]]></category>
		<category><![CDATA[Typoscript]]></category>

		<guid isPermaLink="false">http://blog.emaux.nl/?p=151</guid>
		<description><![CDATA[Some while ago I needed to make a GMENU with a different image for each menu item. This was tricky since normally I used CSS to include the image before or behind the menu. After a lot of thinking I realised TYPO3 had a BE field (even a tab!) I had never used; Page properties [...]]]></description>
			<content:encoded><![CDATA[<p>Some while ago I needed to make a GMENU with a different image for each menu item. This was tricky since normally I used CSS to include the image before or behind the menu. After a lot of thinking I realised TYPO3 had a BE field (even a tab!) I had never used; Page properties -&gt; Resources.</p>
<p>So that was it&#8230; I included my images for each page here. But than what? How do I call them into my menu? It was quite easy after all&#8230; See my typoscript setup!<br />
<span id="more-151"></span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p># Startingpoint of the menu<br />
temp.menutop.special = directory<br />
temp.menutop.special.value = 83</p>
<p># The menu:<br />
temp.menutop = HMENU<br />
temp.menutop.1 = GMENU<br />
temp.menutop.1.NO {<br />
altImgResource.import = uploads/media/<br />
altImgResource.import.field = media<br />
altImgResource.import.listNum = 0</p>
<p># fall back GIFBUILDER item, if no result from altImgResource:<br />
XY = 179,31<br />
backColor = white<br />
10 = TEXT<br />
10.text.field = nav_title // title<br />
10.offset = 10,13<br />
}<br />
temp.menutop.1.RO &lt; temp.menutop.1.NO<br />
temp.menutop.1.RO = 1<br />
temp.menutop.1.RO.altImgResource.import.listNum = 1</p>
<p>temp.menutop.1.ACT &lt; temp.menutop.1.RO<br />
temp.menutop.1.ACT = 1</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<div id="attachment_152" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.emaux.nl/wp-content/uploads/2008/11/afbeelding-11.png"><img class="size-medium wp-image-152" title="Page resources" src="http://blog.emaux.nl/wp-content/uploads/2008/11/afbeelding-11-300x127.png" alt="Page resources" width="300" height="127" /></a><p class="wp-caption-text">Page resources</p></div>
<p>First image = listNum 0<br />
Second image = listNum 1<br />
And so on&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.typo3-addict.com/2008/11/gmenu-with-a-different-image-for-each-menu-item/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TYPO3: A graphical content header</title>
		<link>http://www.typo3-addict.com/2008/08/a-graphical-content-header/</link>
		<comments>http://www.typo3-addict.com/2008/08/a-graphical-content-header/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 21:14:43 +0000</pubDate>
		<dc:creator>Maarten</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[GMENU]]></category>
		<category><![CDATA[Headers]]></category>
		<category><![CDATA[Typoscript]]></category>

		<guid isPermaLink="false">http://blog.mmwebdesign.eu/?p=20</guid>
		<description><![CDATA[Ever wondered how to make a dynamic nice graphical header? TYPO3 can make these by using the GIFBUILDER on the webserver. To make the magic happen you&#8217;ll need to overwrite the default headers by using this Typoscript Setup. You&#8217;ll probably need to adjust some of the code to get a nice output depending on the [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wondered how to make a dynamic nice graphical header? TYPO3 can make these by using the GIFBUILDER on the webserver. To make the magic happen you&#8217;ll need to overwrite the default headers by using this Typoscript Setup. You&#8217;ll probably need to adjust some of the code to get a nice output depending on the font your using. Beware that a graphical header uses much more time to display than a usual text header.<span id="more-20"></span></p>
<pre lang="css">lib.stdheader.10.1 = IMAGE
lib.stdheader.10.1 {
  alttext.field = header
  wrap =
  file = GIFBUILDER
  file {
   XY = [10.w],35
   backColor = #c5a888
   transparentBackground = 1

   10 = TEXT
   10 {
    text.field = header
    text.current = 1
    fontSize = 40
    offset = 0,20
    fontFile =  fileadmin/   ### YOUR FONTFILE (TTF)
    fontColor = #1c150d
   }
  }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.typo3-addict.com/2008/08/a-graphical-content-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
