[Typo3] Using your CSS in a menu
Ygomel
ygomel at gmail.com
Fri Aug 19 00:23:56 CEST 2005
Thank you Christoph, it worked very well with your syntax.
I was going crazy for hours looking for the solution :)
2005/8/18, Christoph Koehler <christoph.koehler at gmail.com>:
> I don't know the exact syntax, but you are looking for something called
> ATagParams. You can look it up in the TSRef. I think you can use it like
> this:
>
> temp.CAT.1 {
> [...]
> NO.ATagParams = class="NormalText"
> }
>
> Sorry I don't have enough time to look it up for you, but I hope I pointed
> you in the right direction.
>
> Christoph
>
>
> On Thu, 18 Aug 2005 16:47:13 -0500, Ygomel <ygomel at gmail.com> wrote:
>
> > I am working on my first typo3 template. My code looks like this:
> >
> > plugin.tx_automaketemplate_pi1 {
> > content = FILE
> > content.file = fileadmin/templates/main/index.html
> > relPathPrefix = fileadmin/templates/main/
> > }
> >
> > temp.CAT = HMENU
> > temp.CAT.1 = TMENU
> > temp.CAT.1 {
> > NO.allWrap = <div class="NormalText"> | </div>
> > }
> >
> > temp.mainTemplate = TEMPLATE
> > temp.mainTemplate {
> > template =< plugin.tx_automaketemplate_pi1
> > subparts.CAT < temp.CAT
> > }
> >
> >
> > page = PAGE
> > page.typeNum = 0
> > page.config.disableAllHeaderCode=1
> > page.10 < temp.mainTemplate
> >
> >
> > The problem is on my menu. The HTML output I get for each menu item is:
> > <div class="NormalText"><a href="index.php?id=7"
> > onfocus="blurLink(this);">Menu Item</a></div>
> >
> > This means that the style NormalText is not apllied because the
> > default link style is.
> >
> > What am I doing wrong?
> > Thank you
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list