[TYPO3-english] Integrating a Google iframe into a page - 'how to' and security
Philippe Moreau
philippe.moreau.1 at gmail.com
Tue Jun 8 19:56:29 CEST 2010
Hi
A plain HTML CE is when you create a new Content Element in List mode or
Page mode (in List mode: New record -> Pagecontent), then you choose HTML as
the type. Within this you can insert any plain HTML such as an iframe and
TYPO3 will keep it as it is.
It's better that you because you separate more technical aspects like HTML
from simple text. It makes the text easier to maintain and it prevents any
sort of transformation to your HTML from TYPO3.
Cheers.
--
Philippe Moreau
On Tue, Jun 8, 2010 at 9:58 AM, Denis Bilodeau <denis at ubitext.com> wrote:
> Hi Kay,
>
> Thank you for your answer.
>
> How do we set up a Plain HTML CE? And also, this part seems already solved
> to me, since I see the form appear intact into the RTE with the page TS
> Config that I have. Or is the second part of allowing it in the TS template
> complicated?
>
> Also, I do not wish to modify the behaviour of the content of the iframe. I
> will just make sure it has enough space.
>
> I don't understand the idea of importing the calendar every day. I have
> already set it up with a special page where I have put the Google code
> directly into the page, and the iFrame things works nicely and
> instantaneously. So I just need to have a way to put the Google iframe code
> in, without having Typo3 mangle it.
>
> Could you explain a bit more what you mean?
>
> Many thanks,
> Denis
>
>
>
>
> On 10-06-08 2:52 AM, Kay Strobach wrote:
>
>> Hi,
>>
>> it would be much easier, if you use different CE's for normal content
>> and rte.
>>
>> Use rte for richtext, but use the PlainHTML CE to insert specials like
>> the iframe ;)
>>
>> You can set Cross Domain behaviour descriptioen via http header, but
>> normally google can not leave the frame with parent.document.
>> But the can redirect to another page with top.location.href ...
>>
>> Take a look on cal, perhaps its possible to import the google calendar
>> once every day -> the support the reading of ics files ;)
>>
>> Best regards
>> Kay
>>
>> Am 07.06.2010 17:56, schrieb Denis Bilodeau:
>>
>>> Hi,
>>>
>>> Not quite a newbie, but not doing this often enough to be fluent enough
>>> in TypoScipt...
>>>
>>> I am integrating a Google form into a page (but I will go around doing
>>> the same for calendar, etc.)
>>>
>>> I already have the page TSconfig, thanks to Stanislas Rolland:
>>>
>>> RTE.default.proc.allowTags := addToList(iframe)
>>> RTE.default.proc.entryHTMLparser_db.allowTags := addToList(iframe)
>>>
>>> and optionally:
>>> RTE.default.proc.allowTagsOutside := addToList(iframe)
>>>
>>> Now I have to configure iframe rendering in the TS template.
>>>
>>> I work with an HTML template and autoparser. Anyone can kindly tell me
>>> how to go about this?
>>>
>>> And also, are there security issues involved into allowing an iframe?
>>>
>>> Many thanks,
>>> Denis
>>>
>>
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list