Hi
I'm the developper of a component called AllEvents; a free event's manager for Joomla. One of the feature of my component is to allow to make enrolment for an event. The event's page then display the list of enrolled people. Below the list, there is a link to make possible to download the array as a CSV stream.
Everything works fine except when the CB Login module is published on the same page : CB output string like "<link type="text/css" rel="stylesheet" href="
avonture.be/allevents/components/com_comprofiler/plugin/templates/default/template.css"/
>" even if the returned document type isn't html.
You can see the problem here :
avonture.be/allevents/fr/component/allevents/display/event/default/4-20eme-diner-eglise-saint-christophe?Itemid=275
Scroll down and below the list of people, clic on the CSV button and open the returned stream with a text editor.
When I unpublish CB Login, the returned CSS is correct. I've this problem on my demo sites and users of my component have the same issue.
Do you think that this situation is well so coded in CB (no document type check) and is it possible to solve this in a future version of CB ? Thanks a lot.
I suggest to check the returned value of JFactory::getDocument()->getType() and to write css statements only when the returned value is 'html'.
Hope this can help.
Thanks for this great extension !