CoreBOSBB

Full Version: Adding modComment to SalesOrder messes up HTML
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I used the helperScript to add modComments to SalesOrders. Worked, but the HTML is all messed up. The sidebar get launched to the far left bottom and there is a lot of offset on the left. Some problem in a Smarty template?

I used the class method 'removeWidgetFrom' in stead of 'addWidgetTo' to remove the comments and all is well now. Maybe this is some inventory-modules Smarty template issue? One note, this install is not very recent.
You don't need that script anymore. In the latest version you can go to Settings > Modules Manager > Comments > Settings (hammer icon) > Activate Modules

I tried activating comments on SO and it worked fine. Can you reproduce your issue in the online demo? Try emptying the Smarty/templates_c cache, see if that helps.
Cool thing with the comment-module switches!

Anyway, same result, even after clearing the Smarty cache. Will check this later since this is a live server and in use during office hours.
I just tried in the online demo and it seems to be working correctly

http://corebos.org/demos/corebos/index.php?module=SalesOrder&parenttab=ptab&action=DetailView&record=10569

Do you have some other widgets that may be conflicting?
(04-26-2017, 04:30 PM)joebordes Wrote: [ -> ]I just tried in the online demo and it seems to be working correctly

http://corebos.org/demos/corebos/index.php?module=SalesOrder&parenttab=ptab&action=DetailView&record=10569

Do you have some other widgets that may be conflicting?

That may be the case. I'll try again today after office hours, when I have some time to inspect the elements.
Found it. InventoryDetailView.tpl in Smarty/templates/Inventory was missing colspan="2" on lines 343 and 139.