<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-size:13px">Re-sending the message w/o the attached pdf, because last message was caught </span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-size:13px">in moderation because of its size.</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-size:13px"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-size:13px">Hi Isaac,</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 5:01 PM, Isaac Bennetch <span dir="ltr"><<a href="mailto:bennetch@gmail.com" target="_blank">bennetch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Deven,<br>
<span class=""><br>
On 5/25/15 11:25 AM, Deven Bansod wrote:<br>
> Hi,<br>
> <br>
</span><span class="">> Thanks for the reply.<br>
><br>
> On Mon, May 25, 2015 at 6:31 PM, Isaac Bennetch <<a href="mailto:bennetch@gmail.com">bennetch@gmail.com</a><br>
</span><span class="">> <mailto:<a href="mailto:bennetch@gmail.com">bennetch@gmail.com</a>>> wrote:<br>
><br>
> ><br>
> > /I had something in mind about the implementation, but am not able to<br>
> > figure some details. Any help in this regard would be appreciated. /<br>
><br>
> My first thought when I saw the initial feature request years ago was to<br>
> make a print view stylesheet (such as [0])that hides the navigation<br>
> frame, menu bar, etc. At the time, that wasn't a viable option because<br>
> of the frameset, but with the move to a single page for display it might<br>
> be possible now. I did not test whether this would actually work for us,<br>
> but if it does the "Print" button can simply become a javascript<br>
> function to tell the browser to print rather than opening a whole new<br>
> plain-formatted page with different rendering. For me, this certainly<br>
> would be the preferred method if it works.<br>
><br>
><br>
> Thanks for the link. I will look into it and explore.<br>
<br>
</span>I take it the pure CSS solution didn't work out for you?<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"></div><span style="font-family:arial,helvetica,sans-serif;font-size:13px">I would be incorrect if I said, I tried it out completely.</span></div><div style="font-size:13px"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">But the problem is for printing a specific stylesheet, I would have to</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">do a lot of changes(not that I am scared to do so).</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The thing is one would get a print out like the one attached with just few lines of JQuery</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">code i.e. making navigation, floating menubar and other extra things as </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">'display:none'. Example with just 4-5 changes to 'display:none' is attached (done manually).</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">But the proper print of #tablelistcontainer would require some work because we</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">would have to skip over the action links (ex. Browse, Structure etc.); </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Shift the page_content towards center of page and try to accommodate all columns<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">So, since I had already started out on the method I mentioned in my first mail on this</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">thread I thought let's go forward with it and if it does not work out, I will work over the</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">stylesheet method.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I have submitted a PR[0] with that method, if it seems unsatisfactory, I will try and work over this.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Also, I have expressed a doubt regarding the tbl_printview.php working for mult_submits on the ticket[1].</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Any suggestions/ comments over the PR and the doubt in [1] will be very helpful.</div><br></div><div class="gmail_default" style="font-size:13px;font-family:arial,helvetica,sans-serif">Thanks.</div><div style="font-size:13px"><br></div><div style="font-size:13px"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[0] : <a href="https://github.com/phpmyadmin/phpmyadmin/pull/1697" target="_blank">https://github.com/phpmyadmin/phpmyadmin/pull/1697</a></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"><span style="font-size:13px">[1] :</span><span style="font-size:13px"> </span><a href="http://sourceforge.net/p/phpmyadmin/feature-requests/701/#93d7" target="_blank" style="font-size:13px">http://sourceforge.net/p/phpmyadmin/feature-requests/701/#93d7</a><span style="font-size:13px"></span></div> </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
------------------------------------------------------------------------------<br>
<div class=""><div class="h5">_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font face="trebuchet ms, sans-serif">Regards,</font></div><div><font face="trebuchet ms, sans-serif">Deven Bansod</font></div><span style="font-family:'arial narrow',sans-serif"><b></b></span><div><span style="font-family:'arial narrow',sans-serif"><b><a href="mailto:f2012316@pilani.bits-pilani.ac.in" target="_blank"></a></b></span></div></div></div></div></div>
</div></div>