AnsweredAssumed Answered

How to extend a 'bean' in the custom directory?

Question asked by Pitou Pitou on Jun 10, 2014
Latest reply on Jun 11, 2014 by Pitou Pitou

I've a small problem and i want to solve it. Actually, i have extends 4 class by adding functionnalities in their method. For example i've extended 'fill_in_additional_detail_fields' in the file modules/Contact.php but i want to do it in a file custom/modules/ContactCustom.php

I've followed two solutions :

This one : is great to extend a list view but you couldn't extend the method 'fill_in_additional_detail_fields' for example (or something missed me).

So i've followed this second solution :

After that, i have this message for my module Contact :

"You do not have access to this area. Contact your site administrator to obtain access".

I m little locked and i don't know what to do. i've tried to repair role too...

Is there someone who has a miracle solution ? With the second version i've twice a beanList['Contacts'] and beanFile['Contact']  is it really a good thing ?

Thanks and Regards,


NB : English isn't my mother language, sorry.