- Posts: 272
- Thank you received: 45
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Hide summary from answerstable
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
8 years 9 months ago #121365
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
I am sorry I didn't mention it.. you have to use the template editor to add the code.
Where did you added?
Where did you added?
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago - 8 years 9 months ago #121366
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
In the template editor, print answers table and printanswers.pstpl after {ANSWERSTABLE}
the error appears when I try to save the pstpl file
the error appears when I try to save the pstpl file
Last edit: 8 years 9 months ago by djarnold01.
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121367
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
OK, the JQuery lib is not present for PrintPage.
Try this:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var $overview_row = $( "tr.printanswersgroup td:contains('Overview')" ).parent();
$overview_row.nextAll("tr.printanswersquestion").remove();
$overview_row.nextAll("tr.printanswersgroup").remove();
$overview_row.remove();
});
</script>
Try this:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var $overview_row = $( "tr.printanswersgroup td:contains('Overview')" ).parent();
$overview_row.nextAll("tr.printanswersquestion").remove();
$overview_row.nextAll("tr.printanswersgroup").remove();
$overview_row.remove();
});
</script>
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121368
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
sorry!!!
same error with this code
same error with this code
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121369
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
Is like a ping timeout trying save this code
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121385
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
Strange, it works good on my end... can you provide a screenshot of the error?
Maybe we can go skype and share screens on monday?
Maybe we can go skype and share screens on monday?
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121425
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
Could it be a problem that my virtual server does not have internet access?
Send me a private message with your skype user to add you as soon as possible
Send me a private message with your skype user to add you as soon as possible
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121426
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
Internet Access! Yes, in the script I grab the latest JQuery Lib from a CDN.
I will write some new code for you to grab it from the FS.
Cheers
I will write some new code for you to grab it from the FS.
Cheers
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The following user(s) said Thank You: djarnold01
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121427
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
Sorry, I just re-read the message.
You are having the error when updating the template...
There must be something else..
You are having the error when updating the template...
There must be something else..
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121428
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
Yes, I put the code in the pstpl, click save and nothing happens
I need to reload the page but the changes is not reflected.
I need to reload the page but the changes is not reflected.
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
8 years 9 months ago - 8 years 9 months ago #121430
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Hide summary from answerstable
Hi
If you want to hide a specific row of a table, you can try a CSS :nth-child pseudo-class approach...
Add this simple code to your template; Adapt if necessary.
Dont' forget to clear your browser cache before testing.
If you want to hide a specific row of a table, you can try a CSS :nth-child pseudo-class approach...
Add this simple code to your template; Adapt if necessary.
Code:
.printouttable tr:last-child { display:none}
Dont' forget to clear your browser cache before testing.
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last edit: 8 years 9 months ago by Ben_V.
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121431
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
Thanks, finally with this CSS works now
The topic has been locked.