[TYPO3-community] community - flashmessage displayer, function?
Stefan Kaufmann
kaufmann at dwwd.ch
Sat Nov 5 11:28:14 CET 2011
Hi Tymek,
Thanks for your answer. When reporting a profile, I do get the form to
report inappropriate content. But I guess this just confirms jquery runs
properly. It is not a function of the flash message displayer, right?
Can you give me an example when the flash message displayer should show
up? When I for instance send amessage to a friend, on top of the page
the following message appears:
"Your message has been sent." Is this a function of the flash message
displayer?
Thanks for confirmation.
On 31/October/2011 7:20 PM, Tymoteusz Motylewski wrote:
> Hello Stefan
> Manual describes installation of a community in the introduction
> package, so it can differ in other installations. For templavoila
> setup should be different.
>
>> Is it to display any messages after submitting e.g. a message?
> Yes exactly. It is possible that there are no flashmessages after some
> actions (please fill feature request then).
> Flashmessage displayer should be included in page only once. It
> doesn't make difference where exacly you will put it, as it uses Java
> Script for showing message in a proper place.
>
> setting "plugin.tx_community.settings.flashMessagesDisplayer.where =
> #contentbox"
> means that element with id = contentbox will be prepended with flash
> messages - see Resources / Private /Templates / Utils /
> FlashMessagesDisplay.html template.
> of course jQuery is required for this to work.
>
> Cheers
> Tymek
>
> On 30 October 2011 11:18, Stefan Kaufmann<kaufmann at dwwd.ch> wrote:
>>
>> Hello all,
>>
>> Can anyone explain me the function of the flashmessage displayer in community? Is it to display any messages after submitting e.g. a message? In what instance is this function triggered?
>>
>> I've tried to set it up according the manual with the following code in TSsetup:
>>
>> # testing community
>> lib.content = COA
>> lib.content.10< plugin.tx_community.flashMessagesDisplayer
>> lib.content.20< styles.content.get
>>
>> lib.contentbox< lib.content
>>
>> # And configure in which part of a page this plugin should be displayed (done by js).
>> plugin.tx_community.settings.flashMessagesDisplayer.where = #contentbox
>>
>>
>>
>> The content in the template (templavoila) is referenced like this:
>> <div id="content">
>> <div id="contentbox">
>> </div>
>> </div>
>>
>> Is this the correct code when using TemplaVoila?
>> Thanks in advance
>> -Stefan
>>
>>
>>
>>
>> _______________________________________________
>> TYPO3-project-community mailing list
>> TYPO3-project-community at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-community
More information about the TYPO3-project-community
mailing list