<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div><br>On May 27, 2015, at 9:18 AM, Deven Bansod <<a href="mailto:devenbansod.bits@gmail.com">devenbansod.bits@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Isaac,</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><br>
On 5/25/15 11:25 AM, Deven Bansod wrote:<br>
> Hi,<br>
> <br>
</span><span>> Thanks for the reply.<br>
><br>
> On Mon, May 25, 2015 at 6:31 PM, Isaac Bennetch <<a href="mailto:bennetch@gmail.com" target="_blank">bennetch@gmail.com</a><br>
</span><span>> <mailto:<a href="mailto:bennetch@gmail.com" target="_blank">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>
<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I would be incorrect if I said, I tried it out completely.</div><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></div></div></div></div></blockquote><div><br></div>I see. <div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><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></div></div></div></div></blockquote><div><br></div>I understand. </div><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><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></div></div></div></div></blockquote><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><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></div></div></div></div></blockquote><div><br></div>Handling of this complexity is one of the things that made me reconsider. <br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><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></div></div></div></div></div></blockquote><div><br></div><div>I would like to do some tests before making a decision and having more information to guide you further. I'll work on that in the morning as its bed time here now. In the mean time if you need a task you could of course begin planning or work on your next item or any maintenance you feel is needed on the already submitted ones. </div><div><br></div><div>Since you are ahead of your schedule at the moment I don't think this should be a problem at all to have some delay on this task. </div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks.</div><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[0] : <a href="https://github.com/phpmyadmin/phpmyadmin/pull/1697">https://github.com/phpmyadmin/phpmyadmin/pull/1697</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[1] : <a href="http://sourceforge.net/p/phpmyadmin/feature-requests/701/#93d7">http://sourceforge.net/p/phpmyadmin/feature-requests/701/#93d7</a></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>
<div><div>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net" target="_blank">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><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>
</div></blockquote><blockquote type="cite"><div><localhost _ localhost _ aaa _ phpMyAdmin 4.5.pdf></div></blockquote><blockquote type="cite"><div><span>------------------------------------------------------------------------------</span><br></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Phpmyadmin-devel mailing list</span><br><span><a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a></span><br><span><a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a></span><br></div></blockquote></div></body></html>