SugarPrint enables printing to PDF / XLS export of any: List view, Detail view and Calendar view in SuiteCRM and SugarCRM Community Edition. SugarPrint makes exporting basic or advanced Search Results to PDF or Excel a one-click process.
#543 - Remove From Detail View
We are using CE 6.5.10 and have an add on for Editable Detail View that allows us to double click on a field to edit in line.
I believe somehow SugarPrint and this customization are interfering somehow. We only really need/want SugarPrint in List View. Is there a semi-easy way to remove the 2 buttons from Detail View for either all or certain modules?
Thanks a lot.
5 years ago
yes of course we can
Do you need a version without detail print or do you need a brief guide on how to do it?
best
marco
5 years ago
Just a guide. I have root access and am comfortable with modifying files. Just not sure what to change. I have a test instance I can practice on to check too :).
Thanks a lot.
5 years ago
file is modules/SugarPrint/js/SugarPrint.js
find
function setreportlistview()
replace
if($("#sugarprintlinks").length>0)
{
checktime=6;
return;
}
with
if(($("#sugarprintlinks").length>0)||($(".detail.view").length>0))
{
checktime=6;
return;
}
tell me if is it ok
remember ito clear cache of your browser
best
marco
PS if you want to review SugarPtint we are happy
5 years ago
Thanks a lot Marco. Didn't seem to solve. It's no issue with SugarPrint though and I really appreciate your response.
The field is saved after refresh so I think it must be something with either an after save or process record logic hook. I'll play around a bit more and if I can't get it have the developers we used in the past take a look. If it is okay I'll forward them to you with any questions though. Thanks again. This is going to be an awesome tool for us.