By colenci on Wednesday, 04 February 2015
Posted in Pre-Sales
Replies 7
Likes 0
Views 1.9K
Votes 0
Hi Friends !
I´m using JEvents for create events on my online calendar, but the users of my site are asking for remove some fields, Can I do this using a Custom Fields plugin ?


Thanks.

Alfredo.
the easiest solution is to use the layout editor to customise the event detail or editing page - see https://www.jevents.net/docs/jevents/it ... ut-editing
·
Wednesday, 04 February 2015 16:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Geraint, Thanks for your answer... In fact I need hidding the fields when I will Create a new event. For exemple, the fields Location, contact, Extra Info, etc... I read the document "Hiding Fields in the Event Editing Screen" and edit the ccs from JEvents 3.0.13 to: JEvents cPanel -> Custom CSS, but dosen´t work... What Can I do.

Regards.
·
Wednesday, 04 February 2015 17:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

What doesn't work? what have you tried in the steps taken??

Thanks
Tony
·
Wednesday, 04 February 2015 23:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony !
I just need hiding some fields in the moment of create a new event. I tried custom the css in cPanel, but dosen´t work. Do you know what Can I do ?

Thanks.
·
Thursday, 05 February 2015 16:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

If you add it into the custom CSS then that CSS loads in the front end. Are you trying to hide them in the backend?

Thanks
Tony
·
Thursday, 05 February 2015 20:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your support. I hid some fields editing the icalevent.edit_page file. I´m need yet modify the layout on the moment of create the event.

1) Is it possible resize the editor box of description field ?
2) Is it possible set as default the checkbox of option "is this event on all day event" ?

Thanks.
·
Friday, 06 February 2015 13:45
·
0 Likes
·
0 Votes
·
0 Comments
·
1, Changing the default size of the description field is not easy - you will need a template override to do this. Though most editors remember the size change if you re-size the edit area when you edit an event

2. Assuming you are using Joomla 3.3 - create a file templates/YOURTEMPLATE/html/com_jevents/icalevent/edit_datetime.php with this content
<?php
defined('JPATH_BASE') or die();

// is it a new event
if($this->row->ev_id()==0){
// make it an all day event
$this->row->_alldayevent = 1;

// to set no end time use this
//$this->row->_noendtime = 1;

$document = JFactory::getDocument();
$document->addScriptDeclaration("
window.addEvent('load', function(){
$('allDayEvent').checked=true;
toggleAllDayEvent();
});
");

}

include(JEV_ADMINPATH."/views/icalevent/tmpl/".basename(__FILE__));
·
Friday, 06 February 2015 14:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post