Login Form

#303 – Styling of questionnaire not displayed when sef is on

Posted in ‘BF Survey’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 27 July 2014 00:13 AEST
leondelyon
Joomla! version: v3.3.3
BFsurvey plus v1.1.21
Hi,
we've got the following issue:
if Joomla sef is disable we can display the survey with the right styling in a modal window without any problem. Modal product from NoNumber.nl.
if we enable Joomla sef styling of the survey is lost. We've already opened a ticket at nonumber but they told us is in relation with bfsurvey plus, see below:

When SEF is on, the html output gets an extra:
This causes the stylesheet bath to not work:
This is not something that is caused or influenced by Modals, but something wrong in the com_bfsurvey_plus in combination with SEF.

Can be seen on our test live site:

Without sef (it works) we have the link:
http://www.cdb.coeursdebreizh.net/index.php?option=com_bfsurvey_plus&view=onepage&catid=12&ml=1&iframe=1
With sef (it doesn't work) we have the link:
http://www.cdb.coeursdebreizh.net/component/bfsurvey_plus/?view=onepage&catid=12&ml=1&iframe=1

Let us know if admin credential is needed
Cheers,
L
 
Monday, 28 July 2014 18:33 AEST 10'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Leondelyon,
With regards to "When SEF is on, the html output gets an extra", can you elaborate on what "an extra" is?

"This causes the stylesheet bath to not work" - If the issue is just the CSS file loading, you can find the code in /components/com_bfsurvey_plus/bfsurvey_plus.php
//line 44
$cssFile = "./components/com_bfsurvey_plus/css/style.css";

Potentially you could hardcode the full url of this file on your site.

Alternatively, you could try our new product BF Survey version 2, which will eventually replace BF Survey Plus, and is included in your subscription.
http://tamlynsoftware.com/download/bf-survey.html
http://tamlynsoftware.com/products/bf-survey-plus/bf-survey-plus-user-guide-2.html

BF Survey version 2 uses Akeeba Framework On Framework, so it loads the CSS files very differently in a way which wont have this kind of issue.

Let me know if you still have a problem.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Monday, 28 July 2014 18:34 AEST 1'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
I've removed the login details from above and make this ticket public again. Feel free to make private if you need to include any confidential information.
Follow us on twitter http://twitter.com/tamlynsoftware
Monday, 28 July 2014 23:15 AEST
leondelyon
Hi,
we've installed v2.1 then we don't have anymore this template issue. This version seems great !
Nevertheless, we've got following problem using the theme orange:
We've overrided css by adding the following in the categorie/css custom field:
.akeeba-bootstrap h1 {
border-bottom: 1px solid #C0C0C0;
font-size: 22px !important;
text-align: center !important;
}
The text align center didn't have any effect. Same statement in the file, theme_orange.css works fine.
Did we miss something ?
Cheers,
L
 
Tuesday, 29 July 2014 09:41 AEST 5'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Leondelyon,
Just realised that custom CSS was only applying to multipage tab and multipage tab with buttons. I've made a change to allow this to work for onepage and multipage settings now too, and this fix will be included in the next version release 2.1.2 which I plan to roll out tonight.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Tuesday, 29 July 2014 15:30 AEST
leondelyon
Hi,
thank you for your responsive time.
Waiting your fix,
Cheers,
L
 
Tuesday, 29 July 2014 20:15 AEST 15'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Leondelyon,
Please try v2.1.2 and let me know if you still have a problem.
http://tamlynsoftware.com/download/bf-survey/bf-survey-2-1-2.html

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Wednesday, 30 July 2014 01:40 AEST
leondelyon
hi,
just tested with v2.1.2, problem is fixed.
Thank you for your support.
Cheers,
L
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
Go to top