Skip to main content
9 events
when toggle format what by license comment
Dec 5, 2016 at 11:04 comment added Baby in Magento Let us continue this discussion in chat.
Dec 5, 2016 at 11:01 comment added Ashish Jagnani @BabyinMagento You have to get the value of $accountType variable first as same you are getting this value in your code.
Dec 5, 2016 at 10:55 comment added Baby in Magento i tried <?php if ($accountType != "admin") { ?> <style> #designer_id { display : none; } </style> <?php } , i got error : Notice: Undefined variable: accountType is this correct way ?
Dec 5, 2016 at 10:47 comment added Ashish Jagnani @BabyinMagento You can add this css inside if ($accountType != "admin") code in top of the page
Dec 5, 2016 at 10:42 comment added Baby in Magento can you please tell what else i need to do after line : <style> #designer_id { disply : none; } </style>
Dec 5, 2016 at 10:04 comment added Baby in Magento i tried this : <style> #designer_id { disply : none; } </style> , can you please tell what i need to do for In Head section call a block file where you can check the user type and on the basis of that you can add a css of "designer" class with display:none.
Dec 5, 2016 at 9:49 comment added Ashish Jagnani @BabyinMagento you can add css for id 'designer_id' in your case.
Dec 5, 2016 at 5:34 comment added Baby in Magento can you please give me an example for how i can add css class for atleast one column . is there any way we can add css for below javscript line : var colsOption = [ {id: 'entity_id' , header: "Order Id" , width :"15",renderer : my_renderId}, ];
Dec 2, 2016 at 14:02 history answered Ashish Jagnani CC BY-SA 3.0