[Vtigercrm-developers] Can I do these things without core hacks?
Alan Lord
alanslists at gmail.com
Tue Jul 1 07:09:31 GMT 2014
I should think you could achieve these by not having to modify core
files, but you need to weigh up the time it would take to develop and
extension module to override the normal behaviour vs a quick hack to a
file...
Once I've done with migrating GeoTools to 6.1 I want to take a look at
the tool David V provided on here called JSValidation (which we've
modified a bit since then). This is for 5.4.0 and will probably need to
be completely re-written for the v6 architecture but the approach it
took was rather clever and has enabled us to write fairly arbitrary
validation rules for any module without core hacks.
Cheers
Al
On 30/06/14 22:54, Richard Hills wrote:
> I needed to edit the following two functions within the core of vtiger
> in order to allow users to only select specific tickets when editing
> their entries (this is a time booking system where tickets need to be in
> a specific status to allow time to be booked on them).
>
> modules/HelpDesk/models/Module.php function getQueryByModuleField
> modules/Vtiger/models/Record.php function getSearchResult
>
> I'm just wondering if there is a way for me to do this without changing
> the core files?
>
> Likewise I edited the campaigns module so I could add a link to a
> mailing list sync module in the more dropdown, is there some way to just
> add this via an api call?
> modules/Campaigns/models/DetailView.php function getSearchResult
>
> Thanks
>
>
>
>
>
More information about the vtigercrm-developers
mailing list