Re: [Koha] Koha themes CCSR and PROG

2013-03-30 Thread Josef Moravec
Hello Ngueyn,

we are runnig Koha 3.10.4 and the CCSR theme in OPAC and both header and
footer work fine for us. Just to be sure that we all think about the same
thing - we use opaccredits and opacheader system preferences.

Josef Moravec




On Sat, Mar 30, 2013 at 5:13 AM, Quoc Uy nguyenquocuy_1...@yahoo.comwrote:

 I'm checking Opac Koha 3.10 and 3.12 beta2. I found out that, if we use
 theme CCSR (mobile theme, i think), we can't include header and footer (it
 has some CSS error- need fix). So if we want to have header and footer in
 Opac, we must use PROG theme, right? Did anyone try to bring header and
 footer to CCSR theme?


 Best regards!
 Nguyen Quoc Uy
 Admin http://dreamlib.vn  http://vietnamlib.net
 Phone: +79525768182
 ___
 Koha mailing list  http://koha-community.org
 Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha




-- 
Josef Moravec
josef.mora...@gmail.com
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Koha themes CCSR and PROG

2013-03-30 Thread Quoc Uy
Did you make some change or import another css code? My opaccredit and 
opacheader work fine with prog, but with ccsr, it doesn't. Can you send me your 
link or images for cheking? Thanks!

Best regards!
Nguyen Quoc Uy

On 30.03.2013, at 11:10, Josef Moravec josef.mora...@gmail.com wrote:

 
 Hello Ngueyn,
 
 we are runnig Koha 3.10.4 and the CCSR theme in OPAC and both header and 
 footer work fine for us. Just to be sure that we all think about the same 
 thing - we use opaccredits and opacheader system preferences.
 
 Josef Moravec
 
  
 
 
 On Sat, Mar 30, 2013 at 5:13 AM, Quoc Uy nguyenquocuy_1...@yahoo.com wrote:
 I'm checking Opac Koha 3.10 and 3.12 beta2. I found out that, if we use 
 theme CCSR (mobile theme, i think), we can't include header and footer (it 
 has some CSS error- need fix). So if we want to have header and footer in 
 Opac, we must use PROG theme, right? Did anyone try to bring header and 
 footer to CCSR theme?
  
 
 Best regards!
 Nguyen Quoc Uy
 Admin http://dreamlib.vn  http://vietnamlib.net
 Phone: +79525768182
 ___
 Koha mailing list  http://koha-community.org
 Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha
 
 
 
 -- 
 Josef Moravec
 josef.mora...@gmail.com
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Koha themes CCSR and PROG

2013-03-30 Thread Josef Moravec
I didn't make any changes, if I remember. You can see it in action here:
http://xmorave2.vserver.cz/

Did you install Koha from Deb packages, or from tarball?


On Sat, Mar 30, 2013 at 8:40 AM, Josef Moravec josef.mora...@gmail.comwrote:


 I didn't make any changes, if I remember. You can see it in action here:
 http://xmorave2.vserver.cz/

 Screenshot from administration is attached.

 Did you install Koha from Deb packages, or from tarball?



 On Sat, Mar 30, 2013 at 8:28 AM, Quoc Uy nguyenquocuy_1...@yahoo.comwrote:

 Did you make some change or import another css code? My opaccredit and
 opacheader work fine with prog, but with ccsr, it doesn't. Can you send me
 your link or images for cheking? Thanks!


 Best regards!
 Nguyen Quoc Uy

 On 30.03.2013, at 11:10, Josef Moravec josef.mora...@gmail.com wrote:


 Hello Ngueyn,

 we are runnig Koha 3.10.4 and the CCSR theme in OPAC and both header and
 footer work fine for us. Just to be sure that we all think about the same
 thing - we use opaccredits and opacheader system preferences.

 Josef Moravec




 On Sat, Mar 30, 2013 at 5:13 AM, Quoc Uy nguyenquocuy_1...@yahoo.comwrote:

 I'm checking Opac Koha 3.10 and 3.12 beta2. I found out that, if we use
 theme CCSR (mobile theme, i think), we can't include header and footer (it
 has some CSS error- need fix). So if we want to have header and footer in
 Opac, we must use PROG theme, right? Did anyone try to bring header and
 footer to CCSR theme?


 Best regards!
 Nguyen Quoc Uy
 Admin http://dreamlib.vn  http://vietnamlib.net
 Phone: +79525768182
 ___
 Koha mailing list  http://koha-community.org
 Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha




 --
 Josef Moravec
 josef.mora...@gmail.com




 --
 Josef Moravec
 josef.mora...@gmail.com




-- 
Josef Moravec
josef.mora...@gmail.com
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] jsprint setup -

2013-03-30 Thread Mark Tompsett

Greetings,


http://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silently



The code is not correctly displayed in the Wiki, it does not show ''.


I tweaked the page, since it was not displaying correctly. It should now 
display the two single quotes correctly. I also removed the comment saying 
to view source. Hope this helps avoid this problem in the future. The 
RichEditor is your friend -- unless you like typing 4 single quotes. ;)


And to reiterate, the code displayed should look like:
   jsPrintSetup.setOption('headerStrLeft','');
   jsPrintSetup.setOption('headerStrCenter','');
   jsPrintSetup.setOption('headerStrRight','');
   jsPrintSetup.setOption('footerStrLeft','');
   jsPrintSetup.setOption('footerStrCenter','');
   jsPrintSetup.setOption('footerStrRight','');

GPML,
Mark Tompsett


-Original Message- 
From: Marc Véron

Sent: Saturday, March 30, 2013 3:01 AM
To: koha
Subject: Re: [Koha] jsprint setup -

Hi Chad,


That's why I wrote: Please refer to 'view source' or 'edit' to correctly
display the JavaScript code.

To fix your code, pls. change the following lines to:

 jsPrintSetup.setOption('headerStrLeft','');
 jsPrintSetup.setOption('headerStrCenter','');
 jsPrintSetup.setOption('headerStrRight','');
 jsPrintSetup.setOption('footerStrLeft','');
 jsPrintSetup.setOption('footerStrCenter','');
 jsPrintSetup.setOption('footerStrRight','');

Regards


Marc Véron
www.veron.ch


Am 29.03.2013 21:30, schrieb Chad Roseburg:

I am trying to setup silent printing using the 'IntranetSlipPrinterJS' in
Koha 3.10.

Documentation found here:
http://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silently

My javascript looks like this:
function printThenClose() {
  try
   {
 jsPrintSetup.setPrinter('TSP143-(STR_T-001)');
 jsPrintSetup.clearSilentPrint();
 jsPrintSetup.setOption('printSilent', 1);

  jsPrintSetup.setOption('headerStrLeft',);
 jsPrintSetup.setOption('headerStrCenter',);
 jsPrintSetup.setOption('headerStrRight',);
 jsPrintSetup.setOption('footerStrLeft',);
 jsPrintSetup.setOption('footerStrCenter',);
 jsPrintSetup.setOption('footerStrRight',);
 jsPrintSetup.print();
   }
catch(err)
   {
 //Default printing if jsPrint-setup is not available
 window.print();
 window.close();
   }
}

Using Firefox 19 on Ubuntu 12.04.

It brings up the receipt window but that's it. I've tried commenting out
the setprinter line
...no change. JSprint addon is set to allow any site access. Tried other
permissions to no avail. Does anyone have complete instructions for 
getting

this to work?

Thanks!


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha 


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] jsprint setup -

2013-03-30 Thread Marc Véron

Thanks for tweaking, Mark. Code looks nice now.

Marc Véron


Am 30.03.2013 14:48, schrieb Mark Tompsett:

Greetings,


http://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silently




The code is not correctly displayed in the Wiki, it does not show ''.


I tweaked the page, since it was not displaying correctly. It should now
display the two single quotes correctly. I also removed the comment saying
to view source. Hope this helps avoid this problem in the future. The
RichEditor is your friend -- unless you like typing 4 single quotes. ;)

And to reiterate, the code displayed should look like:
jsPrintSetup.setOption('headerStrLeft','');
jsPrintSetup.setOption('headerStrCenter','');
jsPrintSetup.setOption('headerStrRight','');
jsPrintSetup.setOption('footerStrLeft','');
jsPrintSetup.setOption('footerStrCenter','');
jsPrintSetup.setOption('footerStrRight','');

GPML,
Mark Tompsett




___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha