If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
EspoCRM – Open Source CRM Application. Contribute to espocrm/espocrm development by creating an account on GitHub.
Though it's not upgrade safe to change them.
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
Understandable, I wouldn't know what to even change it to even if we have the option to.
Although it would be nice if I can add an extra information on there instead of being EspoCRM by itself there. But leaving it to Hardcode is all right with most user.
But I would like to be able to customize the favicon though. Unless EspoCRM deem that favicon should be left intact.
Another option is to use jquery $('#footer').html() in your script after the page has been rendered to edit the contents of the footer section which contains the copyright data. I used this method to hide the copyright notice temporarily while displaying or printing a document with esignature
Actually is better because you have full control over the css, modern browsers can render PDF exactly how it is rendered in the screen, this is how I implemented the esignature document print function.
Modern? Which one you using? I tried printing with Firefox and Chrome to PDF, both look quite misplace (blank space, etc).
Might be because of the PDF printer I use?
Even add-on extensions such as "PrintFriendly" still make it ugly.
I use Chrome and Explorer to render the page exactly as I want it without having to deal with TCPDF or custom helpers, the PDF printer that I use is PDFill PDF printer and writer https://www.pdfill.com/
Which look OK in term of information but no separation and full Black/White mode. And if you were to try print a Quick Create or "List" feature the layout just get kill.
But that Text Render is terrible. Using PDF-Xchange for my Print2PDF, perhaps Chrome browser native PDF might be better?
I am not using the browser printer to "screen print" Espo forms or views, I am using it to render documents based on templates.
If you use the "Print PDF" method you are constrained by the TCPDF engine CSS limitations, so your options are quite limited, save that you implement custom Handlebars "helpers" (recently available), but then again this implies a deeper understanding of Handlebars which I don't have and quite frankly don't care to spend too much time acquiring it.
My preferred solution, is to put all my CSS specifications in the template entity, render the document in the screen's "main" section, and then use Chrome, Explorer or PDFill to print it.
This is an example of how an eSignature document looks as rendered in the screen's "main" section and how it looks after you print it from the browser by right clicking and choosing "print" from the menu or by clicking on the print icon on the top left corner of the document.
That layout look interesting (1st screenshot), how did you do that? It look like you all field is a "Read Only" field, is that your Details screen? Or some sort of special "Print Mode" layout you setup, I'm sure your Data Entry of Work Order doesn't look like right?
You mention CSS specifications in template entity, are you using some sort of CSS modification on web browser, such as Stylish/Userstyle? You don't mean EspoCRM's PDF template, and not the Email Template either.
Interesting you mention PDFFill, do those Checkbox for example get loaded in PDF Form type, or is all data static.
---- PS I think topic might be getting out place. Looking forward to some future tutorial or discussion in different thread.
I posted a step by step tutorial on how to "print" to window instead to PDF so you can render documents using all css without being limited to TCPDF capabilities.
Comment