Home arrow Ondersteuning arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Privacy site problem (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:Privacy site problem
#19769
nastweb (User)
Fresh Lemon
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
[done] Privacy site problem 1 Month, 2 Weeks ago Karma: 0  
Dear All,
I browse my limesurvey by firefox, it is OK.
If I browse it by IE, I got problem on privacy site (please see below), the space is always appear at the end of line.
How I to solve this problem?

A Note On Privacy
This survey is anonymous.
The record kept of your survey responses does not contain any identifying information about you unless a specific question in the survey has asked for this. If you have responded to a survey that used an identifying token to allow you to access the survey, you can rest assured that the identifying token is not kept with your responses. It is managed in a separate database, and will only be updated to indicate that you have (or haven't) completed this survey. There is no way of matching identification

tokens with survey responses in this survey.

Thanks,
NS
 
Logged Logged  
 
Last Edit: 2008/10/16 07:13 By ITEd.
  The administrator has disabled public write access.
#19814
nastweb (User)
Fresh Lemon
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month, 2 Weeks ago Karma: 0  
please help me
 
Logged Logged  
  The administrator has disabled public write access.
#19817
ITEd (Moderator)
LimeSurvey Team
Posts: 352
graphgraph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month, 2 Weeks ago Karma: 8  
Is anything visible at the problem point when you view source in the browsers? Are you using the current LimeSurvey version and build?

Regards.
 
Logged Logged  
  The administrator has disabled public write access.
#19975
nastweb (User)
Fresh Lemon
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month, 1 Week ago Karma: 0  
I'm sorry for late respond.

I didn't get anything visible at the problem point. Here is results of view source:

<br /><table align='center' bgcolor='#E5F9FF' width='75%'>
<tr>
<td align='center'><font size='1'>
<strong><i>A Note On Privacy</i></strong><br />This survey is anonymous.<br />The record kept of your survey responses does not contain any identifying information about you unless a specific question in the survey has asked for this. If you have responded to a survey that used an identifying token to allow you to access the survey, you can rest assured that the identifying token is not kept with your responses. It is managed in a separate database, and will only be updated to indicate that you have (or haven&#039;t) completed this survey. There is no way of matching identification tokens with survey responses in this survey.</font>
</td>
</tr>
</table><br />

FYI: The space appear after "There is no way"
Like as below:
There is no way

of matching identification tokens with survey responses in this survey.

Thanks,
NS
 
Logged Logged  
 
Last Edit: 2008/10/15 03:32 By nastweb.
  The administrator has disabled public write access.
#19993
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month, 1 Week ago Karma: 25  
Do you use the latest release and build?

Did you make any changes to the template?

Normally this should work fine. I checked the code in common.php and I see no reason for this error.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#20010
ITEd (Moderator)
LimeSurvey Team
Posts: 352
graphgraph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month, 1 Week ago Karma: 8  
I've seen the behaviour in IE 6 with a recent copy of the Sample Survey in LS 1.71+ (5246). Where exactly the break falls depends on the windows size and thus wrapping of the text. IE is not wrong - other browsers are just cleverer in covering up the 'mistake'. In your source code the paragraph and table cell end thus:
Code:

... responses in this survey.</font>
</td>


The problem is the newline between the font and td closing tags. When the HTML is rendered it (correctly) becomes a space. Being outside the font tag, it is the default height (size), not the smaller size of the text. So IE increases the line height to accommodate the higher glyph. I fiddled to make the effect of the space character apparent:



I don't see the table code in common.php. I suspect that you will find it in your template. Simply remove any newlines, tabs, etc. between the closing font and td tags, eg.
Code:

... responses in this survey.</font></td>
.
If you do fix it in the template, it would be nice if you were to report a bug and attach the corrected template.

Regards.
 
Logged Logged  
 
Last Edit: 2008/10/15 17:28 By ITEd.
  The administrator has disabled public write access.
#20020
nastweb (User)
Fresh Lemon
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month, 1 Week ago Karma: 0  
It solved.
I removed any newlines between the closing font and td tags as your reference.

Thanks,
NS
 
Logged Logged  
  The administrator has disabled public write access.
#20049
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month ago Karma: 25  
Great instructions, ITEd!

How can we get rid of this in the future? Edit the source (common.php) or edit the templates to remove the space?

I think adding this to the workarounds isn't an approptiate solution?!

What do you think?
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#20067
ITEd (Moderator)
LimeSurvey Team
Posts: 352
graphgraph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month ago Karma: 8  
Thanks, Mazi. All the templates using a table structure in privacy.pstpl needed to be fixed. I've uploaded patches with the bug report. So I don't think it needs workaround documentation.

Regards.
 
Logged Logged  
  The administrator has disabled public write access.
#20091
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:Privacy site problem 1 Month ago Karma: 25  
Thanks a lot for your efforts. Should be no problem to integrate this into one of the next releases.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top