oligoform
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Thanks Marcus! For the great Plugin and the fast Bugfix 🙏🏼
Best Event Plugin i´ve ever used!
you can change/alter the file wp-content/plugins/events-manager/templates/forms/event/when/times.php
<?php
// The following are included in the scope of this event date range picker
/* @var int $id */
/* @var EM_Event $EM_Event */
$name = "event_timeranges";
$locked = false;
$Timeranges = $EM_Event->get_timeranges();
if ( $EM_Event->is_recurring( true ) ) {
$locked = true;
$Timeranges->allow_timeranges = false;
$first_timerange = $Timeranges->get_first();
if ( $first_timerange && is_object($first_timerange) ) {
$first_timerange->allow_timeslots = false;
}
} elseif ( $EM_Event->event_id && ( $Timeranges->count() > 1 || ($Timeranges->get_first() && $Timeranges->get_first()->has_timeslots()) ) ) {
$locked = true;
}
include( em_locate_template('forms/timeranges/timeranges.php') );Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Add-New-button within the modalthank you very much @keraweb i´ll try it.
Maybe i find a workaround – and if i will post the solution.Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Add-New-button within the modalCan you give me an hint, where i should look (what file, php, js)?
e.g. it’ll be possible to edit the “new item” in an new browser window.
instead of disable it at allForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Hide field depending on inputit is. you can use javascript to make your own “visibility-logic”.
e.g.jQuery('.pods-form-ui-row-name-you-want-to-hide-here').hide(); jQuery(document.body).on('change', '.pods-form-ui-field-name-which-should-trigger', function() { if (jQuery(this).val() == 'your-val') { jQuery('.pods-form-ui-row-name-you-want-to-hide-here').show() } else { jQuery('.pods-form-ui-row-name-you-want-to-hide-here').hide().val('') }; });i´d really like to have an “annotation”-field-type.
But until this you can use following CSS in the admin-area as a quick-fix:
.pods-form-ui-read-only {display: none !important;}
Viewing 6 replies - 1 through 6 (of 6 total)