Discussion:
[TYPO3] assign a content element to the end of a content area
Jamie Lawrence Jenner
2007-01-29 10:39:11 UTC
Permalink
Hi there

I have a right column on all pages.

I have created a content element which needs to be added to every pages
right hand column, underneath what is there allready.

Does anyone know what typoscript i will need to add?

many thanks in advance

Jamie

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/655 - Release Date: 28/01/2007
13:12
Dmitry Dulepov
2007-01-29 10:42:43 UTC
Permalink
Hi!
Post by Jamie Lawrence Jenner
I have a right column on all pages.
I have created a content element which needs to be added to every pages
right hand column, underneath what is there allready.
Does anyone know what typoscript i will need to add?
Use TS object browser to find stdWrap for that column. Use "append"
property of stdWrap to make CONTENT cObject, which selects and renders
your content element.
--
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
Jamie Lawrence Jenner
2007-01-29 14:37:45 UTC
Permalink
Hi Dmitry

Thankyou for the response

I have taken a look at the object browser, but i am not sure which stdwrap
property you are reffering to.

I cant make out which stdWrap refers to the column




[tt_content]=CASE
[key]
[stdWrap]
[spaceBefore]
[spaceAfter]
[field]=spaceAfter
[space]=0|0
[innerWrap]
[innerWrap2]=| <p class="csc-linkToTop"><a
href="#">{LLL:EXT:css_styled_content/pi1/locallang.php:label.toTop}</a></p>
[insertData]=1
[fieldRequired]=linkToTop
[dataWrap]=<a id="c{field:uid}"></a> |
[editPanel]=1
[allow]=move,new,edit,hide,delete
[line]=5
[label]=%s
[onlyCurrentPid]=1
[previewBorder]=4
[edit]
[prefixComment]=1 | CONTENT ELEMENT, uid:{field:uid}/{field:CType}
[header]=COA
[10]=< lib.stdheader
[20]=TEXT
[field]=subheader
[required]=1
[dataWrap]=<p class="csc-subheader csc-subheader-{field:layout}">|</p>
[htmlSpecialChars]=1
[editIcons]=tt_content:subheader,layout
[prefixComment]=2 | Subheader:


[lib]
--[parseFunc]
--[parseFunc_RTE]
--[stdheader]=COA
--[2]=LOAD_REGISTER
-[3]=LOAD_REGISTER
-[5]=TEXT
-[10]=CASE
-[1]=TEXT
-[2]=TEXT
-[3]=TEXT
-[4]=TEXT
-[5]=TEXT
-[setCurrent]
-[key]
-[98]=RESTORE_REGISTER
-[99]=RESTORE_REGISTER
-[stdWrap]
-[fieldRequired]=header
-[if]
-[editIcons]=tt_content : header, [header_layout | header_position],
[header_link|date]
-[dataWrap]=<div class="csc-header
csc-header-n{cObj:parentRecordNumber}">|</div>
-[prefixComment]=2 | Header:

The object browser shows all o fmy lib.items such as menus, and others, do i
need to create the right column as a lib. objet, then assign content to it?
can i still add content to a ts content object?

or am i completely missing something here :0

cheers

Jamie



-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Dmitry
Dulepov
Sent: 29 January 2007 10:43
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] assign a content element to the end of a content area


Hi!
Post by Jamie Lawrence Jenner
I have a right column on all pages.
I have created a content element which needs to be added to every pages
right hand column, underneath what is there allready.
Does anyone know what typoscript i will need to add?
Use TS object browser to find stdWrap for that column. Use "append"
property of stdWrap to make CONTENT cObject, which selects and renders
your content element.

--
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/655 - Release Date: 28/01/2007
13:12

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/655 - Release Date: 28/01/2007
13:12
Dmitry Dulepov
2007-01-29 15:03:19 UTC
Permalink
Hi!
Post by Jamie Lawrence Jenner
I have taken a look at the object browser, but i am not sure which stdwrap
property you are reffering to.
I cant make out which stdWrap refers to the column
I think it is styles.content.getRight.stdWrap. So:

styles.content.getRight.stdWrap.append < styles.content.get
styles.content.getRight.stdWrap.append.select.uidInList = 12345

Replace 12345 with uid of your content element.
--
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
Tapio Markula
2007-01-30 16:02:55 UTC
Permalink
Post by Jamie Lawrence Jenner
Hi there
I have a right column on all pages.
I have created a content element which needs to be added to every pages
right hand column, underneath what is there allready.
Does anyone know what typoscript i will need to add?
many thanks in advance
Jamie
look at one alternative from typoscript example in the manual for
tm_contentaccess.
That relates with solution of 'htmlcssstyling'.
It is very easy to change content

another
define id/marker and
myId=CONTENT

...
and use select statement

Loading...