[TYPO3] how to position content

Harald Klotzberg harald.klotzberg at netzbewohner.de
Sun Apr 23 08:18:27 CEST 2006


Hi Dave,

much easier if you understand what you´re doing!
There are a lot of tutorials around building nice menues,
google and reading tsref will help you out.

Adding a Menu to Page Object ... mhm ... 
depending on what variation you use (TemplaVoila?, Markers ..),
you should try to get it more elegant.

mainmenue.5 = HMENU
....

Check out what the PageObject does ...

grtz, harry

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of dave ashton
Sent: Saturday, April 22, 2006 12:41 PM
To: TYPO3 English
Subject: Re: [TYPO3] how to position content


Thanks!!
Code now looks like this:-
page.5 = HMENU
page.5.wrap = <div id="test">|</div>
page.5.1 = TMENU

page.5.1.wrap = | <BR><BR>
page.5.1.NO {
  linkWrap = &nbsp;<font color=black> | </font>&nbsp;
  ATagBeforeWrap = 1
}

In the stylesheet i style up and position the div:-

#test {top: 480px;
 left: 100px;
 width: 776px;
 vertical-align: top;
 text-align: left;
 position: relative;
 border: solid 1px #000000;

}

Even with the <div> put in the template, the setup code puts the <div> in 
again, right after the body tag. At least it works!
Easy when you know how, impossible when you don't!!

regards,

Dave




----- Original Message ----- 
From: "Harald Klotzberg" <harald.klotzberg at netzbewohner.de>
To: "'TYPO3 English'" <typo3-english at lists.netfielders.de>
Sent: Saturday, April 22, 2006 7:05 AM
Subject: Re: [TYPO3] how to position content


> Hi Dave,
>
> wrapping page.5.1.NO would of course not help you out.
> Have you checked the manual what .NO does?
>
> page.5.wrap = <div id="test">|</div> should do the job.
> What you want is to wrap the menue, not the "normal state".
>
> Hint: Read TSRef
>
> grtz, harry
>
> -----Original Message-----
> From: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of dave
> ashton
> Sent: Saturday, April 22, 2006 1:00 AM
> To: TYPO3 English
> Subject: [TYPO3] how to position content
>
>
> Newbie here!,
> I'm trying to position a little menu where i like on the page. Got 
> this
> code
> from the references online:-
>
> page.5 = HMENU
> page.5.1 = TMENU
> page.5.1.wrap = | <BR><BR>
> page.5.1.NO {
> layerStyle =
> position:absolute;left:0px;top:300px;width:10px;VISIBILITY:hidden;
>  xPosOffset =-10
>  lockPosition = x
>  expAll=1
>  linkWrap = &nbsp;<font color=yellow> | </font>&nbsp;  ATagBeforeWrap 
> = 1 }
>
> this puts the menu at the top of the screen, but i can't seem to 
> position
> it
> in a <div> or table, e.g. if i want to put the menu in a div called <test>
> Tried wrap and stdWrap in the 'page.5.1.NO ' but nothing happens. Can get 
> a
> gmenu to work aswell, just can't position the thing!
>
> Any help, most appreciated!!
>
> regards,
>
> Dave
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> 

_______________________________________________
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