I’m trying to simply “hide” an element on the list view page in the list of results.
(It’s an SMS icon that a plugin adds to all phone numbers…and I’m now hiding on non-mobile phone numbers)
I have this working fine with jQuery on the Detail view pages, by using the “includes” array in the detailviewdefs.php file to point to my JS file…but I’m not seeing this ‘includes’ array in the LISTviewdefs.php file.
Is there some way to extend this file like you can with detailviewdefs???
Hey! Thanks for the feedback…but, I might be missing something…
I’m really trying to modify the layout of some standard module lists (specifically, Leads, Accounts, Contacts).
I’m not seeing a ‘views’ folder in the directories for Lead, Accounts, Contacts…nor in the custom module folders for the new ‘module’ for SMS messages.
(/custom/modules/Leads … no ‘views’ folder)
I DO see a ‘views’ folder in the
/modules/Leads/views
folder…but seems like making changes there wouldn’t be update-proof???
Is there perhaps some way that these folders/files are generated by the system??
Ahhh…I understand!
Thanks!
I’ve got that file loading now…it’s breaking the list page…but I’m sure I’ve just got some syntax wrong…
But I understand how to get that file to extend the listview now!
Thanks!
Never Mind…I answered my own question.
It IS, in fact, possible to extend the Dashboard by adding custom php to
custom/modules/Home/views/view.list.php