[TYPO3-UG Australia] Typo3 3.8.1 - different way of calling templates from 3.6?
Roger Bunyan
roger at redgumweb.com.au
Wed Apr 26 05:17:07 CEST 2006
Hi cate,
not sure what you are doing wrong but in your template you either
include the static template "content (default)" or "css_styled_content"
but not both.
Roger Bunyan
http://redgumweb.com.au
Ph: 02 6492 7202
Sustainability will be achieved by a
cultural change, not by technology.
Cate Deans Smith wrote:
>Hi all
>
>
>
>Thanks so much for the responses about the disappearance of my front and
>back end :-). In the end, I did simply wipe and start again - figured I can
>use the practise anyway.
>
>
>
>So now I have a 3.8.1 installation.
>
>
>
>Only, I think that either I have missed something critical, or something is
>a little different on this version. I *think* I have set up the typo
>template exactly the same as I had before, but it isn't calling my html
>page.
>
>
>
>The typoscript is as follows:
>
>
>
>Constants:
>
>
>
>content {
>
>wrap.header1 = <H1> | </H1>
>
>wrap.header2 = <H2> | </H2>
>
>wrap.header3 = <H3> | </H3>
>
>wrap.header4 = <H4> | </H4>
>
>wrap.bodytext = <P class="p"> | </P>
>
> case.header1 = |
>
> case.header2 = |
>
> headerSpace = 0
>
> space = 0
>
>}
>
>
>
>
>
>styles.content.textStyle {
>
>face =
>
>size =
>
>color =
>
>}
>
>
>
>
>
>cSet {
>
>pageColor = #FFFFFF
>
>tableCellColor = #FFFFFF
>
>color = black
>
>color1 = #003366
>
>color2 = #003366
>
>fontFace = Verdana
>
>fontFace.text = Verdana
>
>}
>
>
>
>Setup:
>
># Setting up 'page' to be the default PAGE object (type=0)
>
>lib.stdheader.10.stdWrap.wrap =
>
>tt_content.stdWrap.dataWrap = <A name="{field:uid}"></a>
>
>
>
>
>
>page = PAGE
>
>page.typeNum = 0
>
>page.stylesheet = fileadmin/templates/global.css
>
>page.bodyTag = <body leftmargin="0" topmargin="0" marginwidth="0"
>marginheight="0">
>
>page.1 = TEMPLATE
>
>page.1.marks.PAGE_UID = TEXT
>
>page.1.marks.PAGE_UID.field = uid
>
>page.1 {
>
> template = FILE
>
> template.file = fileadmin/templates/global.htm
>
> workOnSubpart = DOCUMENT_BODY
>
> subparts.CONTENT_LEFT < styles.content.getLeft
>
> subparts.CONTENT_RIGHT < styles.content.getRight
>
> subparts.CONTENT_BORDER < styles.content.getBorder
>
> subparts.CONTENT < styles.content.get
>
>
>
>
>
># Top Navigation
>
> subparts.TOPNAV = HMENU
>
> subparts.TOPNAV.special = directory
>
> subparts.TOPNAV.special.value = 393
>
> subparts.TOPNAV.1 = TMENU
>
> subparts.TOPNAV.1 {
>
> NO.allWrap = |*| <span class="topnav"> | |</span> |*|
>
> ACT = 1
>
> ACT.allWrap = |*| <span class="topnav"> | | </span>
>|*|
>
>}
>
>
>
>
>
># Bottom Navigation
>
> subparts.BOTTOMNAV = HMENU
>
> subparts.BOTTOMNAV.special = directory
>
> subparts.BOTTOMNAV.special.value =
>
> subparts.BOTTOMNAV.1 = TMENU
>
> subparts.BOTTOMNAV.1 {
>
> NO.allWrap = |*| <span class="bottomnav"> | |</span>
>|*|
>
> ACT = 1
>
> ACT.allWrap = |*| <span class="bottomnav"> | |</span>
>|*|
>
>}
>
>
>
>
>
># Leftside Navigation
>
> subparts.LEFTNAV = HMENU
>
> subparts.LEFTNAV.special = directory
>
> subparts.LEFTNAV.special.range = 0 | 1
>
> subparts.LEFTNAV.1 = TMENU
>
> subparts.LEFTNAV.1 {
>
> NO.allWrap = <div class="leftnav"> | </div>
>
> ACT = 1
>
> ACT.allWrap = <div class="leftnav-act"> | </div>
>
> }
>
>
>
> subparts.LEFTNAV.1.2 = TMENU
>
> subparts.LEFTNAV.1.2 {
>
> NO.allWrap = <div class="leftnav"> | </div>
>
> ACT = 1
>
> ACT.allWrap = <div class="leftnav-act"> | </div>
>
> }
>
>}
>
>
>
>
>
> # Enabling the admin panel for the 'page' PAGE object:
>
>page.config.admPanel=1
>
>
>
>
>
># Set up PATH_INFO:
>
>config.simulateStaticDocuments = PATH_INFO
>
>config.simulateStaticDocuments_addTitle = 30
>
>#config.absRefPrefix = http://www.deafhub.com/
>
>
>
># Don't forget to add CSet Stylesheet for P margins to work properly!
>
>
>
>
>
>I have set the template as "Clear contstants, setup and set rootlevel." I
>have included static "content(default)" and cSet Stylesheet., and
>css_styled-content in static extensions.
>
>
>
>Do I have to include the files as resources? I cant remember, and when I did
>it, they automatically added the "_01", which didn't happen in 3.6 In any
>case, I have tried both ways, including adding the * to the names in the
>template.
>
>
>
>Any clues?
>
>
>
>Thanks!
>
>Cate
>
>_______________________________________________
>TYPO3-UG-australia mailing list
>TYPO3-UG-australia at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-australia
>
>
>
>
>
More information about the TYPO3-UG-australia
mailing list