[TYPO3-dev] How to wrap rteHtmlArea content with DIV tag?

Vordemvenne, Daniel dv at forty-four.de
Thu Jun 1 08:45:18 CEST 2006


Hello,

you just need to enter something like this into your setup:

tt_content.text.wrap = <div class="myContentElement">|</div>
tt_content.textpic.wrap = <div class="myContentElement">|</div>
tt_content.image.wrap = <div class="myContentElement">|</div>
tt_content.html.wrap = <div class="myContentElement">|</div>

You'll need this for each type you'll want to use.

Greets
Daniel 


> -----Ursprüngliche Nachricht-----
> Von: typo3-dev-bounces at lists.netfielders.de 
> [mailto:typo3-dev-bounces at lists.netfielders.de] Im Auftrag 
> von typo3-dev-request at lists.netfielders.de
> Gesendet: Donnerstag, 1. Juni 2006 08:35
> An: typo3-dev at lists.netfielders.de
> Betreff: TYPO3-dev Digest, Vol 33, Issue 1
> 
> Send TYPO3-dev mailing list submissions to
> 	typo3-dev at lists.netfielders.de
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> or, via email, send a message with subject or body 'help' to
> 	typo3-dev-request at lists.netfielders.de
> 
> You can reach the person managing the list at
> 	typo3-dev-owner at lists.netfielders.de
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TYPO3-dev digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: RFC as tool to concept branch 5.x -- WAS: TYPO3 5 mailing
>       list? (Tapio Markula)
>    2. How to wrap rteHtmlArea content with DIV tag? (Martinov Evgeniy)
>    3. OT: PHPoetry? (Kasper Sk?rh?j)
>    4. Re: RFC as tool to concept branch 5.x -- WAS: TYPO3 5 mailing
>       list? (Daniel P?tzinger)
>    5. Re: RFC as tool to concept branch 5.x -- WAS: TYPO3 5 mailing
>       list? (dan frost)
>    6. TCA label field help needed... (Ries van Twisk)
>    7. Re: OT: PHPoetry? (Johnny Peck)
>    8. Re: How to wrap rteHtmlArea content with DIV tag? (Johnny Peck)
>    9. Extension Documentation in DocBook? (Jacob Floyd)
>   10. Re: Extension Documentation in DocBook? (Elmar Hinz)
>   11. Re: RFC as tool to concept branch 5.x -- WAS: TYPO3 5 mailing
>       list? (Elmar Hinz)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 31 May 2006 13:02:38 +0300
> From: Tapio Markula <tapio.markula at dnainternet.net>
> Subject: Re: [TYPO3-dev] RFC as tool to concept branch 5.x -- WAS:
> 	TYPO3 5 mailing list?
> To: typo3-dev at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1149070070.28017.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Elmar Hinz wrote:
> > Tapio Markula wrote:
> > 
> >>what is RFC
> > 
> > 
> > Hello Tapio,
> > 
> > http://en.wikipedia.org/wiki/Request_for_Comments
> > 
> > Regards
> > 
> > Elmar
> 
> Ok.  In fact
> my topic
> Changin the layout of typo3-dyntabmenu is RFC.
> You see the disared tab-style from
> http://t3test.xetpoint.com/media/development/Pop-up-dialog-box
> es-for-tiny-MCE.doc
> I would like the same style for typo3-dyntabmenu
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 31 May 2006 13:25:14 +0300
> From: "Martinov Evgeniy" <genuisereal at hotmail.com>
> Subject: [TYPO3-dev] How to wrap rteHtmlArea content with DIV tag?
> To: typo3-dev at lists.netfielders.de
> Message-ID:
> 	<mailman.4054.1149071353.22948.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; format=flowed
> 
> Hi everybody!
> 
> Sorry for my asking here, but I tried already to find a 
> solution in other 
> places.
> 
> I want to organize an information column on my website such 
> as user can add 
> several text content elements to the right column and insert 
> necessary text 
> in rte (rteHtmlArea).
> Then I need to wrap content from each text element with special <DIV 
> class="myclass"> tag for styling of this block as a whole.
> When user creates next text element It must be wraped as 
> separate element so 
> each element is separate block of <DIV class="myclass">.
> 
> I tried to use wrap in such way
> RIGHT_COL < styles.content.getRight
> RIGHT_COL.wrap = <div class="myclass"> | </div>
> 
> but it wraps content of all text elements only atonce. But I 
> need that each 
> element could be wraped.
> 
> thank you in advance for you advices
> 
> with respect,
> Evgeniy
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today 
> it's FREE! 
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 31 May 2006 12:43:41 +0200
> From: Kasper Sk?rh?j <kasper2006 at typo3.com>
> Subject: [TYPO3-dev] OT: PHPoetry?
> To: List for Core-/Extension development
> 	<typo3-dev at lists.netfielders.de>
> Message-ID:
> 	<mailman.4060.1149072245.22948.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> 
> Hi
> Tapio
> 
> I like poetry of
> yours like hovering over
> mailinglist fun and facts
> feeding funky fools
> in a universe spinning
> spinning - spanning!
> <div>-tags and floating containers
> containing left and right ideas
> randomly composed til my brain
> crashes with a Fatal Error.
> Tapio - something to eat or read?
> 
> 
> 
> Lets create a PHPoetry gallery. Who's next ;-)
> 
> (Just having fun!)
> 
> - kasper
> 
> 
> 
> On May 31, 2006, at 11:46 , Tapio Markula wrote:
> 
> > Hi
> >
> > I'm trying to change the layout
> > of typo3-dyntabmenu
> > Problem in onmouseover/hover effect
> >
> > I don't catch how to handle that
> > I would like to get rid of the
> > background-color but setting any
> > CSS it still is there.
> > I would set on the left and right
> > rounded corner background-images inside
> > a table but the hover/onmouse effect
> > distroys the idea.
> > _______________________________________________
> > TYPO3-dev mailing list
> > TYPO3-dev at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> 
> 
> - kasper
> 
> "A contribution a day keeps the fork away"
> -------------------------------
> kasper2006 at typo3.com | +45 20 999 115 | skype: kasperskaarhoej |  
> gizmo: kasper_typo3
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 31 May 2006 14:03:55 +0200
> From: Daniel P?tzinger <operation-lan at gmx.de>
> Subject: Re: [TYPO3-dev] RFC as tool to concept branch 5.x -- WAS:
> 	TYPO3 5 mailing list?
> To: typo3-dev at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1149076318.15148.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 
> > Basically:
> > - Identify components (each later described with RFC)
> > - Place them in relation to each other (2D map of some sort)
> > - Develop the RFCs
> > - Produce the RFCs
> 
> In my personal opinion this could include well improved processes in 
> software engineering (SE)... (because TYPO3 and the 
> developmentteam gets 
> bigger and bigger this is more and more neccessarry I think)
> 
> the analyse part is the most important so identifing components may 
> consist of:
> -high level components and the cooperation
> -design of this components
>    -target1: well maintainable and scalable (define which classes and 
> methods)
>    -target2: use existent (TYPO3) classes or modules
> 
> Of course I dont want to clarify SE, sorry. But sometimes it 
> seems like 
> the main point is on discussing what feature should be implemented...
> 
> Maybe also focusing on how (e.q. what class architecture ) 
> would help to 
> improve software quality...
> 
> What I want to say is - that I think an RFC is not rich enough to 
> provide support for that...
> 
> In SE UML Diagramms are the standardized tools for that..
> (Currently I miss UML diagramms of the database and of some key TYPO3 
> architectures.)
> 
> So maybe include architecture-discussions with the help of UML?
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Wed, 31 May 2006 12:58:58 +0100
> From: dan frost <dan at danfrost.co.uk>
> Subject: Re: [TYPO3-dev] RFC as tool to concept branch 5.x -- WAS:
> 	TYPO3 5 mailing list?
> To: typo3-dev at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1149076607.22098.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I think that RFCs should include diagrams, example
> code - enough to communicate a complete idea to
> another developer. So, I think the concept of RFCs
> is fine.
> 
> dan
> 
> Daniel P?tzinger wrote:
> > 
> >> Basically:
> >> - Identify components (each later described with RFC)
> >> - Place them in relation to each other (2D map of some sort)
> >> - Develop the RFCs
> >> - Produce the RFCs
> > 
> > In my personal opinion this could include well improved processes in
> > software engineering (SE)... (because TYPO3 and the 
> developmentteam gets
> > bigger and bigger this is more and more neccessarry I think)
> > 
> > the analyse part is the most important so identifing components may
> > consist of:
> > -high level components and the cooperation
> > -design of this components
> >   -target1: well maintainable and scalable (define which classes and
> > methods)
> >   -target2: use existent (TYPO3) classes or modules
> > 
> > Of course I dont want to clarify SE, sorry. But sometimes 
> it seems like
> > the main point is on discussing what feature should be 
> implemented...
> > 
> > Maybe also focusing on how (e.q. what class architecture ) 
> would help to
> > improve software quality...
> > 
> > What I want to say is - that I think an RFC is not rich enough to
> > provide support for that...
> > 
> > In SE UML Diagramms are the standardized tools for that..
> > (Currently I miss UML diagramms of the database and of some 
> key TYPO3
> > architectures.)
> > 
> > So maybe include architecture-discussions with the help of UML?
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Wed, 31 May 2006 16:19:36 -0500
> From: Ries van Twisk <typo3 at rvt.dds.nl>
> Subject: [TYPO3-dev] TCA label field help needed...
> To: Typo3-Devel <typo3-dev at lists.netfielders.de>
> Message-ID:
> 	<mailman.4321.1149110471.22948.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> hey guys,
> 
> normally I don't touch the TCA that much, however this puzzles me,
> 
> $TCA["tx_ltgdbstructures_helpfull"] = Array (
>     "ctrl" => Array (
>         'title' => 
> 'LLL:EXT:ltg_db_structures/locallang_db.xml:tx_ltgdbstructures
> _helpfull',    
>    
>         'label' => 'CONCAT(helpfull,'-',nothelpfull) AS 
> text',         
> <--------
>         'tstamp' => 'tstamp',
> 
> See the marker... how can I put a concatenation for a SQL in there?
> 
> 
> Ries
> 
> 
> 
> 
> -- 
> Ries van Twisk
> Freelance Typo3 Developer
> === Private:
> email: ries at vantwisk.nl
> web:   http://www.rvantwisk.nl/freelance-typo3.html
> skype: callto://r.vantwisk
> === Work:
> email: ries at livetravelguides.com
> web:   http://www.livetravelguides.com
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Wed, 31 May 2006 23:30:22 -0400
> From: Johnny Peck <johnny at slipcasemedia.com>
> Subject: Re: [TYPO3-dev] OT: PHPoetry?
> To: typo3-dev at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1149132629.29915.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Not a poem yet, but a question. When is Typo3's birthday!
> 
> 
> Kasper Sk?rh?j wrote:
> > Hi
> > Tapio
> > 
> > I like poetry of
> > yours like hovering over
> > mailinglist fun and facts
> > feeding funky fools
> > in a universe spinning
> > spinning - spanning!
> > <div>-tags and floating containers
> > containing left and right ideas
> > randomly composed til my brain
> > crashes with a Fatal Error.
> > Tapio - something to eat or read?
> > 
> > 
> > 
> > Lets create a PHPoetry gallery. Who's next ;-)
> > 
> > (Just having fun!)
> > 
> > - kasper
> > 
> > 
> > 
> > On May 31, 2006, at 11:46 , Tapio Markula wrote:
> > 
> >> Hi
> >>
> >> I'm trying to change the layout
> >> of typo3-dyntabmenu
> >> Problem in onmouseover/hover effect
> >>
> >> I don't catch how to handle that
> >> I would like to get rid of the
> >> background-color but setting any
> >> CSS it still is there.
> >> I would set on the left and right
> >> rounded corner background-images inside
> >> a table but the hover/onmouse effect
> >> distroys the idea.
> >> _______________________________________________
> >> TYPO3-dev mailing list
> >> TYPO3-dev at lists.netfielders.de
> >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> > 
> > 
> > - kasper
> > 
> > "A contribution a day keeps the fork away"
> > -------------------------------
> > kasper2006 at typo3.com | +45 20 999 115 | skype: 
> kasperskaarhoej | gizmo: 
> > kasper_typo3
> > 
> > 
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Wed, 31 May 2006 23:56:59 -0400
> From: Johnny Peck <johnny at slipcasemedia.com>
> Subject: Re: [TYPO3-dev] How to wrap rteHtmlArea content with DIV tag?
> To: typo3-dev at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1149134227.10879.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Greetings Evgeniy,
> 
> I can't help you with a concise answer but there is a list 
> for the RTE 
> as well, typo3.projects.rte. Please ask in there. I am sure 
> those that 
> lurk in that list can help you. If there is no immediate 
> solution, PHP, 
> thoughtful TypoScript, and the extension kickstarter are your best 
> friend's! On another note, by "special <DIV>" (which should be 
> lowercase, by the way), do you mean a 'unique' class for each element 
> implanted by the user? When you post to the RTE list be verbosely 
> specific in your question and you will certainly get your answer.
> 
> Kind regards and good luck,
> 
> Johnny Peck
> 
> 
> ------------------------------
> 
> Message: 9
> Date: Wed, 31 May 2006 22:46:37 -0600
> From: "Jacob Floyd" <techgurufloyd+typo3dev at gmail.com>
> Subject: [TYPO3-dev] Extension Documentation in DocBook?
> To: "Typo3 Dev" <typo3-dev at lists.netfielders.de>
> Message-ID:
> 	<mailman.4451.1149137203.22948.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> I think I read somewhere that the recommended format for extension
> documentation is:
> DocBook Format
> in separate extension
> 'your_extension_key_doc'
> 
> Is this true?
> If so, what kind of file structure would this *_doc extension have?
> Should the DocBook document still be located in the subdirectory doc/
> or somewhere else?
> 
> Where is the documentation that says DocBook is preferred? I know I
> read it somewhere, but I am at a loss as to where.
> 
> Is there an example of extension documentation in DocBook that I can
> use as a template to write my documentation?
> 
> What's *your* favorite DocBook editor?  (As I haven't done much with
> the format other than note that a file says it's docbook. :-P )
> 
> Why am I interested? - Because I want to document the extension I'm
> developing as I go without dealing with changing the file format
> somewhere along the line (what a pain).
> What am I developing? - The 'RealFileE Framework' to begin with... :D
> (more details later, after I have something more substantial.)
> 
> Thanks!
> Jacob Floyd
> 
> 
> ------------------------------
> 
> Message: 10
> Date: Thu, 01 Jun 2006 08:15:09 +0200
> From: Elmar Hinz <elmar.DOT.hinz at team.MINUS.red.DOT.net>
> Subject: Re: [TYPO3-dev] Extension Documentation in DocBook?
> To: typo3-dev at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1149142538.31580.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hello Jacob,
> 
> Jacob Floyd wrote:
> > I think I read somewhere that the recommended format for extension
> > documentation is:
> > DocBook Format
> > in separate extension
> > 'your_extension_key_doc'
> > 
> > Is this true?
> 
> > If so, what kind of file structure would this *_doc extension have?
> > Should the DocBook document still be located in the 
> subdirectory doc/
> > or somewhere else?
> > 
> 
> I havn't read this. I think it is still EXT:doc/manual.sxw.
> (Openoffice/Staroffice)
> 
> DocBook may be a good idea as upcominng format.
> 
> See also:
> 
> http://de.openoffice.org/doc/sonstiges/DocBook16de.html
> http://wiki.docbook.org/topic/OpenOffice
> http://www.tldp.org/LDP/LDP-Author-Guide/html/x2docbook.html
> http://www.tldp.org/LDP/LDP-Author-Guide/html/index.html
> 
> Regards
> 
> Elmar
> 
> 
> 
> ------------------------------
> 
> Message: 11
> Date: Thu, 01 Jun 2006 08:34:14 +0200
> From: Elmar Hinz <elmar.DOT.hinz at team.MINUS.red.DOT.net>
> Subject: Re: [TYPO3-dev] RFC as tool to concept branch 5.x -- WAS:
> 	TYPO3 5 mailing list?
> To: typo3-dev at lists.netfielders.de
> Message-ID:
> 	<mailman.1.1149143683.31957.typo3-dev at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Michael Scharkow wrote:
> > Please let's not abuse TER for this purpose. RFCs are 
> one-off proposals
> 
> It would be no abuse to store documentation into TER. It's always a
> question of appropriate categories and filtering.
> 
> If that doesn't work well, it's not a big problem to store 
> RFC extensions
> into an indipendent system, I guess.
> 
> > and not really useful for the TER users. I'd rather setup a
> > list/newsgroup for this where every RFC gets its own thread 
> and no other
> > threads are allowed until a certain deadline. Discussion of 
> RFCs takes
> > place in these threads and everything is nicely arranged, 
> searchable and
> > archived.
> 
> The strengths of NG are discussion, not conception. They are 
> hasty be nature.
> 
> There are several advantages to use one extension for each RFC.
> 
> * versioning
> * distribution
> * automatic HTML display of manual.sxw
> * example code easy to run as extension
> * sql tables and data
> * every kind of attachment files like UML diagrams can be shipped
> 
> 
> Regards
> 
> Elmar
> 
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> 
> End of TYPO3-dev Digest, Vol 33, Issue 1
> ****************************************
> 




More information about the TYPO3-dev mailing list