Hi all,
To make things a lot easier for a client, I am simplifying the front-end edit form. For a certain k2 category Events, I have made a menu item New Event, which pops up the New Item window.
The client only has to enter the extra fields: date, time (two dropdown boxes for hours en minutes), a description, and the name of a person (not a user). The only joomla field necessary is Published yes/no.
The item's title should be composed of the selected date plus time plus description.
The item's Publish Down date should be the selected date plus 7 days.
I made a sub template for this category's itemform.php and stripped (commented out) all I didn't need.
Then I got this javascript error:
K2ActiveVideoTab is not defined
When I tried to hide the joomla fields for Publish Up and Publish Down (because I want those in hidden form fields), the calendar gave a popup error it could not do its job.
What is the best way to hide all the tabs except the extra fields (or better: hide all tabs and let me show the fields in my own way) but still have enough data for a joomla and k2 item to be saved and not get errors like the one above?
Thanks!
Jerry