By Guest on Wednesday, 16 September 2015
Replies 1
Likes 0
Views 1K
Votes 0
Dear Support-Team,

I want to do an override of the existing "copy and edit"-fuctionality in the following way:
- set the current category to another one
- set the value of a custom select list to another one

Can you please tell me where or which file I have to amend to achieve this?

Thanks in advance and best regards,
Stefanie
Hi Stefanie,
you cannot do an override for that as it's part of the controller functions of JEvents, so to change this behaviour bear in mind you need to modify core files and you will need to reapply your changes whenever you update JEvents.

A good starting point to this is taking a look at the method [i:3b5pye7e]editcopy()[/i:3b5pye7e] file: [i:3b5pye7e]/components/com_jevents/controllers/icalevent.php[/i:3b5pye7e] and checking the behaviour on each step.

Best!!
·
Wednesday, 16 September 2015 15:29
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post