By Guest on Thursday, 16 April 2015
Replies 6
Likes 0
Views 1.2K
Votes 0
Hello,

I am using Jevents 3.2.9 and I am wondering why every new event is saved twice. Doing it in the backend the event is saved correctly once. It occuts only via frontend. Any hints?
Hello Mitsuhirato,

It sounds like something is resending your data twice.

Can you try adding &tmpl=component or ?tmpl=component to the URL, load the page and try again, does it work now?

Thanks
Tony
·
Thursday, 16 April 2015 23:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Alas it has no impact. I solved by modifying the edit.php.
·
Friday, 17 April 2015 08:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you explain what you did - it may be a change we need to apply to the core code ??
·
Friday, 17 April 2015 08:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Well, this solution fits to my purpose but maybe is not suitable for everyone.
When saving I fetch the last to entries in the database (jevents_vevdetail and jevents_vevent are needed), compare the title and the date. If title is the same and date differs no more than 2 seconds, the last one those two entries will be deleted (in both mentioned tables).
·
Friday, 17 April 2015 09:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Did you see the overlapping event restrictions option - you can use this to block creating events that occur at the same time and this can be setup to be true universally or within specific categories.
·
Friday, 17 April 2015 10:05
·
0 Likes
·
0 Votes
·
0 Comments
·
To be honest: no. But now I tested the function with the result, that the event cannot be saved at all (one still remains on the edit page).
·
Friday, 17 April 2015 10:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post