[TYPO3-ttnews] Distribute images throughout article text
Oliver Rowlands
oliver at liquidlight.co.uk
Tue Mar 6 21:31:25 CET 2007
Hi Denyer,
I agree that it's not really a solution but more of hack... Just
remember to train your editors correctly in the 'art' of using the RTE
image editor and you will be fine ;)
Oliver
Denyer Ec wrote:
> Hi there Oliver,
>
> That is at least a partial workaround, though the RTE and images therein
> give me the heeby-jeebies, I can't stand that thing!! I'll give it a shot
> and see how it goes, thanks!!
>
> On 3/3/07, Oliver Rowlands <oliver at liquidlight.co.uk> wrote:
>>
>> Hi Denyer,
>>
>> A work around would be to allow images to be inserted into the text RTE
>> field, this would allow your editors to place the images wherever they
>> want. This can be achieved by adding the following TSconfig to the page
>> or sys-folder which contains your tt_news entries ('Edit page
>> properties' > 'TSconfig'):
>>
>> RTE.default {
>> ## Enable the image button
>> showButtons := addToList(image)
>>
>> ## Tags allowed outside p & div
>> ## Adding img tag to the default list
>> proc.allowTagsOutside := addToList(img)
>>
>> ## Do not remove img tags
>> proc.entryHTMLparser_db.tags.img >
>> }
>> RTE.default.FE.showButtons < RTE.default.showButtons
>> RTE.default.FE.proc.allowTagsOutside < RTE.default.proc.allowTagsOutside
>> RTE.default.FE.proc.entryHTMLparser_db.tags.img >
>>
>> Hope this helps,
>>
>> Oliver
>>
>> Denyer Ec wrote:
>> > Hey there,
>> >
>> > I've been trying (Without much success) to work out a way to distribute
>> the
>> > images associated with an article evenly throughout the article body,
>> much
>> > like articles on BBC news (http://news.bbc.co.uk).
>> > The intention is to either have images appear at paragraph breaks or
>> after
>> > subsection headings rather than just point-blank within the bodytext
>> itself
>> > (Which would have semantic consequences). I am aware that with multiple
>> > pages one can specify image behaviour, but being able to distribute
>> images
>> > "evenly" or even through the use of a marker in the article text would
>> be a
>> > huge bonus. Even having the end user drop ###IMAGE### into their
>> article
>> > text would be a start, and perhaps even the simplest way to overcome
>> the
>> > problem.
>> >
>> > There appears to be a function you can override to control the image
>> > display
>> > within an article, but I was wondering if anyone has done work on this
>> > issue
>> > previously that could save me a huge amount of time. I'm fairly
>> > inexperienced with Typo3 and even the smallest things seem to take
>> forever!
>> >
>> > Apologies if I've overlooked anything blatantly obvious, I'm tired and
>> > hassled from trying to overcome another separate issue with the .crop
>> > feature for frontpage news!!
>> >
>> > Kindest regards,
>> > Denyerec
>>
>>
>> --
>> Oliver Rowlands
>> :: Liquid Light ::
>>
>> E - oliver at liquidlight.co.uk
>> W - http://www.liquidlight.co.uk
>>
>> T - 00 44 (0)845 6 58 88 35
>> F - 00 44 (0)845 6 58 44 35
>> _______________________________________________
>> TYPO3-project-tt-news mailing list
>> TYPO3-project-tt-news at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-news
>>
>>
--
Oliver Rowlands
:: Liquid Light ::
E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk
T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35
More information about the TYPO3-project-tt-news
mailing list