[TYPO3] Content Rendering

Katja Lampela katja.lampela at lieska.net
Tue Sep 11 22:43:28 CEST 2007


Hi Antoni,

This is quite basic rendering question (doesn't mean easy! ;) and you 
could start checking the module

Web/Template/Constant editor/CONTENT - there you have the different 
elements and the wrappings.

And to make sure it's not that simple, you must dig into the deeps of 
configuring the rich text editor. I guess the tinyrte is simpler to use, 
but maybe not so configurable.. but just guessing.

- katja



Antoni Alvarez kirjoitti:
> Hello all!
>  I need to do the following:
> 
> 1. Add a "Text" content element one line of text. eg. Applying for a job
> 2. Add an "Image" content element afterwards, which is basically a line of golden dots, like ...................................
> 
> However, I need the image to appear right below the text. In other words, if I were to write html code to generate such elements I would do as follows:
> 
> Applying for a job<br />
> <img src="..." />
> 
> Now, my problem is the following: Typo3 wraps "Applying for jobs" in a <p> tag and the image in <div> tags, so the code is something equivalent to this:
> 
> <p>
>     Applying for a job
> </p>
> <div>
>     <img src="..." />
> </div>
> 
> Anybody know how (or where in the documentation is) can I instruct Typo3 to enclose a "Text" content element to be enclosed in <span> tags for example, and not to enclose "Image" content elements in any tag?. So the code generated would look like:
> 
> <span>
> 
>     Applying for a job
> 
> </span><br/>
> <img src="..." />
> 
> Thanks,
> 
> Antoni.
> 
> 
> 
> 
> 
>       ____________________________________________________________________________________
> Luggage? GPS? Comic books? 
> Check out fitting gifts for grads at Yahoo! Search
> http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz


More information about the TYPO3-english mailing list