Hi,

I think you should try to add this in your config/common/custom.css :

.printdlg div.printdlg_advanced {
     display: block;
}

Thomas

Le 21/03/2013 10:58, Chris forum a écrit :
> Hello all,
>
> I would like the print advanced options (paper size, orientation ,title,
> ...) displayed by default when one hit the 'print' link.
> I have tried to add the following into the custom.js file of my project:
> $.extend(PM.Pmapper,
> {
>     openPrint: function() {
>        this.createDnRDlg(this.printDlgOptions, _p('Print Settings'),
> 'printdlg.phtml?'+SID);
>        $('#pmDlgContainer div.printdlg_advanced').show();
>        var height = ($.browser.msie && (parseInt($.browser.version) <= 7.0))
> ? $('#printdlg').height() : $('#printdlg').innerHeight();
>        $('#pmDlgContainer').height(parseInt(height) + 60);
>        this.adaptDWin($('#pmDlgContainer'));
>     }
> });
>
> Not working so far... Do you see what I am missing?
>
> Thx!
> Chris
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>

-- 


Thomas RAFFIN
Chef de Projet Internet
traf...@sirap.fr <mailto:traf...@sirap.fr>      Sirap <http://sirap.fr>         
Tel 
: 04 75 72 84 10
Fax : 04 75 70 07 98
Rue Paul Louis Héroult - BP 253
26106 Romans cedex

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to