- Beiträge: 13
- Dank erhalten: 0
Anmelden
Event bearbeiten nachträglich nicht möglich!
- Linebecker
- [Linebecker]
- Offline
- Neues Mitglied
Weniger Mehr
Linebecker antwortete auf Event bearbeiten nachträglich nicht möglich!
Futz auch in der Version 3.0.5.3 -> also zumindest bei mir
Thanks
Thanks
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
Belerias antwortete auf Event bearbeiten nachträglich nicht möglich!
@tomi_b
Super tomi, jetzt funzt es auch bei mir unter 3.1 wie gewollt. "Danke für die Hilfe"
Belerias
Super tomi, jetzt funzt es auch bei mir unter 3.1 wie gewollt. "Danke für die Hilfe"
Belerias
Letzte Änderung: 10 Jahre 8 Monate her von Belerias.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
tomi_b antwortete auf Event bearbeiten nachträglich nicht möglich!
JS3.1 hat noch immer dieses Problem - mal gespannt wieviel Fehler noch auftauchen
bei mir funktioniert es mit dem text in der events.forms.php - bitte um kurze Rückmeldung ob es bei euch geht:
bei mir funktioniert es mit dem text in der events.forms.php - bitte um kurze Rückmeldung ob es bei euch geht:
Warnung: Spoiler!
Code:
<?php /** * @copyright (C) 2013 iJoomla, Inc. - All rights reserved. * @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html) * @author iJoomla.com <webmaster@ijoomla.com> * @url https://www.jomsocial.com/license-agreement * The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 * More info at https://www.jomsocial.com/license-agreement */ defined('_JEXEC') or die(); ?> <div class="cLayout cEvents-Forms"> <form method="post" action="<?php echo CRoute::getURI(); ?>" id="createEvent" name="createEvent" class="cForm community-form-validate"> <script type="text/javascript"> joms.jQuery(document).ready(function(){ joms.events.showDesc(); joms.jQuery("#repeat option[value=" + '<?php echo $event->repeat;?>' + "]").attr("selected", "selected"); <?php if ($event->id > 0 ) { ?> joms.jQuery('#repeat').hide(); repeatlabel = joms.jQuery('#repeat option:selected').text(); joms.jQuery('#repeatcontent').html(repeatlabel); <?php } ?> }); joms.jQuery('#createEvent').submit(function(event) { <?php echo $editor->saveText( 'description' ); ?> // show cwindow repeat action for current / future <?php if ($event->id > 0 && $event->isRecurring() && $enableRepeat) { ?> if (joms.jQuery('#repeataction').val() == '') { joms.events.save(); return false; } <?php }?> }); </script> <?php if(!$event->id && $eventcreatelimit != 0 ) { ?> <?php if($eventCreated/$eventcreatelimit>=COMMUNITY_SHOW_LIMIT) { ?> <div class="hints"> <?php echo JText::sprintf('COM_COMMUNITY_EVENTS_CREATION_LIMIT_STATUS', $eventCreated, $eventcreatelimit ); ?> </div> <?php } ?> <?php } ?> <ul class="cFormList cFormHorizontal cResetList"> <?php echo $beforeFormDisplay;?> <!-- events name --> <li> <label for="title" class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_TITLE_LABEL'); ?><span class="required-sign"> *</span> </label> <div class="form-field"> <input name="title" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_TITLE_TIPS'); ?>" id="title" type="text" class="required input-block-level jomNameTips" value="<?php echo $this->escape($event->title); ?>" /> <span id="errtitlemsg" style="display:none;"> </span> <?php if( $helper->hasPrivacy() ) { ?> <label for="permission-private" class="label-checkbox"> <input type="checkbox" class="input checkbox" name="permission" id="permission-private" value="1"<?php echo ($event->permission == COMMUNITY_PRIVATE_EVENT ) ? ' checked="checked"' : '';?> /> <span class="jomNameTips" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_TYPE_TIPS');?>"> <?php echo JText::_('COM_COMMUNITY_EVENTS_PRIVATE_EVENT');?> </span> </label> <?php } ?> </div> </li> <!--events summary--> <li> <label for="summary" class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_SUMMARY')?> </label> <div class="form-field"> <textarea name="summary" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_SUMMARY_TIPS')?>" id="summary" class="input-block-level jomNameTips"><?php echo $this->escape($event->summary);?></textarea> </div> </li> <!-- events description --> <li> <label for="description" class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_DESCRIPTION');?> </label> <div class="form-field"><?php if( $config->get( 'htmleditor' ) == 'none' && $config->getBool('allowhtml') ) { ?> <div class="htmlTag"><?php echo JText::_('COM_COMMUNITY_HTML_TAGS_ALLOWED');?> <?php } ?> <?php if( !CStringHelper::isHTML($event->description) && $config->get('htmleditor') != 'none' && $config->getBool('allowhtml') ) { $event->description = CStringHelper::nl2br($event->description); } ?> <?php echo $editor->displayEditor( 'description', $event->description , '95%', '350', '10', '20' , false ); ?> </div> </li> <!-- events category --> <li> <label for="catid" class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_CATEGORY');?><span class="required-sign"> *</span> </label> <div class="form-field"> <span class="jomNameTips" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_CATEGORY_TIPS');?>"><?php echo $lists['categoryid']; ?></span> </div> </li> <!-- events location --> <li> <label for="location" class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_LOCATION'); ?><span class="required-sign"> *</span> </label> <div class="form-field"> <input title="<?php echo JText::_('COM_COMMUNITY_EVENTS_LOCATION_TIPS'); ?>" name="location" id="location" type="text" class="required jomNameTips" value="<?php echo $this->escape($event->location); ?>" /> <span id="errlocationmsg" style="display:none;"> </span> <span class="form-helper"> <?php echo JText::_('COM_COMMUNITY_EVENTS_LOCATION_DESCRIPTION');?> </span> </div> </li> <!-- events start datetime --> <li id="event-start-datetime" class="has-seperator"> <label class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_START_TIME'); ?><span class="required-sign"> *</span> </label> <label for="startdate"></label> <div class="form-field"> <span class="jomNameTips" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_START_TIME_TIPS'); ?>"> <input type="text" name="startdate" id="startdate" style="width:auto;cursor: pointer;" size="10" class="required input-medium" readonly/> <script> joms.jQuery("#startdate" ).datepicker ({ minDate: 0, changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd', onClose: function ( selectedDate ) { var startDate = new Date(selectedDate); var endDate = new Date(joms.jQuery('#enddate').datepicker('getDate')); /* Set minDate as startdate */ joms.jQuery('#enddate').datepicker('option','minDate',selectedDate); if ( startDate > endDate ) { joms.jQuery('#enddate').datepicker('setDate',selectedDate); /* set mindate as startdate, reset endDate same as startDate */ } } }).datepicker('setDate', "<?php echo $event->startdate;?>"); /* init date when edit event */ </script> <span id="start-time"> <?php echo $startHourSelect; ?>:<?php echo $startMinSelect; ?> <?php echo $startAmPmSelect;?> </span> </span> </div> </li> <!-- events end datetime --> <li id="event-end-datetime"> <label class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_END_TIME'); ?><span class="required-sign"> *</span> </label> <label for="enddate"></label> <div class="form-field"> <input type="text" name="enddate" id="enddate" style="width:auto;cursor: pointer;" size="10" class="required input-medium" readonly/> <script> joms.jQuery("#enddate" ).datepicker ({ minDate: 0, changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd', }).datepicker('option','minDate',joms.jQuery('#startdate').datepicker('getDate')) /* set min date */ .datepicker('setDate', "<?php echo $event->enddate;?>"); /* init date when edit event */ </script> <span id="end-time"> <?php echo $endHourSelect; ?>:<?php echo $endMinSelect; ?> <?php echo $endAmPmSelect;?> </span> </span> </div> <script type="text/javascript"> function toggleEventDateTime() { if( joms.jQuery('#allday').attr('checked') == 'checked' ){ joms.jQuery('#start-time, #end-time').hide(); }else{ joms.jQuery('#start-time, #end-time').show(); } } function toggleEventRepeat() { if( joms.jQuery('#repeat').val() != '' ){ joms.jQuery('#repeatendinput').show(); joms.jQuery('input#repeatend').addClass('required'); limitdesc = ''; if (joms.jQuery('#repeat').val() == 'daily') { limitdesc = '<?php echo addslashes(sprintf(Jtext::_('COM_COMMUNITY_EVENTS_REPEAT_LIMIT_DESC'), COMMUNITY_EVENT_RECURRING_LIMIT_DAILY));?>'; }else if (joms.jQuery('#repeat').val() == 'weekly') { limitdesc = '<?php echo addslashes(sprintf(Jtext::_('COM_COMMUNITY_EVENTS_REPEAT_LIMIT_DESC'), COMMUNITY_EVENT_RECURRING_LIMIT_WEEKLY));?>'; }else if (joms.jQuery('#repeat').val() == 'monthly') { limitdesc = '<?php echo addslashes(sprintf(Jtext::_('COM_COMMUNITY_EVENTS_REPEAT_LIMIT_DESC'), COMMUNITY_EVENT_RECURRING_LIMIT_MONTHLY));?>'; } joms.jQuery('#repeatlimitdesc').html(limitdesc); joms.jQuery('#repeatlimitdesc').show(); }else{ joms.jQuery('#repeatendinput').hide(); joms.jQuery('input#repeatend').removeClass('required'); joms.jQuery('#repeatlimitdesc').hide(); } } </script> </li> <li> <div class="form-field"> <span class="jomNameTips" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_ALL_DAY_TIPS');?>"> <input class="input checkbox" id="allday" name="allday" type="checkbox" onclick="toggleEventDateTime();" value="1" <?php if($event->allday){ echo 'checked'; } ?> /> <?php echo JText::_('COM_COMMUNITY_EVENTS_ALL_DAY'); ?> </span> </div> </li> <?php if ($enableRepeat) { ?> <li> <label for="repeat" class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_REPEAT'); ?><span class="required-sign"> *</span> </label> <div class="form-field"> <span class="jomNameTips" original-title="<?php echo JText::_('COM_COMMUNITY_EVENTS_REPEAT_TIPS'); ?>"> <span id="repeatcontent"></span> <select name="repeat" id="repeat" onChange="toggleEventRepeat()"> <option value=""><?php echo JText::_('COM_COMMUNITY_EVENTS_REPEAT_NONE'); ?></option> <option value="daily"><?php echo JText::_('COM_COMMUNITY_EVENTS_REPEAT_DAILY'); ?></option> <option value="weekly"><?php echo JText::_('COM_COMMUNITY_EVENTS_REPEAT_WEEKLY'); ?></option> <option value="monthly"><?php echo JText::_('COM_COMMUNITY_EVENTS_REPEAT_MONTHLY'); ?></option> </select> </span> <span id="repeatendinput"> <span class="label"> *<?php echo JText::_('COM_COMMUNITY_EVENTS_REPEAT_END'); ?> </span> <span class="jomNameTips" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_REPEAT_END_TIPS'); ?>"> <input type="text" name="repeatend" id="repeatend" style="width:auto;cursor: pointer;" size="10" class="input-medium" readonly/> <script> joms.jQuery("#repeatend" ).datepicker ({ minDate: 0, changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd', onClose: function ( selectedDate ) { var repeatEndDate = new Date(selectedDate); var startDate = new Date(joms.jQuery('#startdate').datepicker('getDate')); var endDate = new Date(joms.jQuery('#enddate').datepicker('getDate')); if ( repeatEndDate < startDate ) { joms.jQuery('#startdate').datepicker('setDate',selectedDate); } if ( repeatEndDate < endDate ) { joms.jQuery('#enddate').datepicker('option','minDate',joms.jQuery('#startdate').datepicker('getDate')).datepicker('setDate',selectedDate); } } }); </script> </span> </span> <div class="small" id="repeatlimitdesc"></div> </div> </li> <?php } ?> <?php if( $config->get('eventshowtimezone') ) { ?> <li> <label class="form-label"> <?php echo JText::_('COM_COMMUNITY_TIMEZONE'); ?><span class="required-sign"> *</span> </label> <div class="form-field"> <span class="jomNameTips" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_SET_TIMEZONE'); ?>"> <select name="offset"> <?php $defaultTimeZone = isset($event->offset)?$event->offset:$systemOffset; foreach( $timezones as $offset => $value ){ ?> <option value="<?php echo $offset;?>"<?php echo $defaultTimeZone == $offset ? ' selected="selected"' : '';?>><?php echo $value;?></option> <?php } ?> </select> </span> </div> </li> <?php } ?> <!-- events tickets --> <li class="has-seperator"> <label for="ticket" class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_NO_SEAT'); ?><span class="required-sign"> *</span> </label> <div class="form-field"> <input title="<?php echo JText::_('COM_COMMUNITY_EVENTS_NO_SEAT_DESCRIPTION'); ?>" name="ticket" id="ticket" type="text" size="10" maxlength="5" class="required jomNameTips" value="<?php echo (empty($event->ticket)) ? '0' : $this->escape($event->ticket); ?>" /> <?php if( $helper->hasInvitation() ) { ?> <label for="allowinvite0" class="label-checkbox"> <input type="checkbox" class="input checkbox" name="allowinvite" id="allowinvite0" value="1"<?php echo ($event->allowinvite ) ? ' checked="checked"' : '';?> /> <span class="jomNameTips" title="<?php echo JText::_('COM_COMMUNITY_EVENTS_GUEST_INVITE_TIPS'); ?>"> <?php echo JText::_('COM_COMMUNITY_EVENTS_GUEST_INVITE'); ?> </span> </label> <?php } ?> </div> </li> <?php echo $afterFormDisplay;?> <li class="has-seperator"> <div class="form-field"> <span class="form-helper"><?php echo JText::_( 'COM_COMMUNITY_REGISTER_REQUIRED_FILEDS' ); ?></span> </div> </li> <!-- event buttons --> <li class="form-action"> <div class="form-field"> <?php echo JHTML::_( 'form.token' ); ?> <?php if(!$event->id): ?> <input name="action" type="hidden" value="save" /> <?php endif;?> <input type="hidden" name="eventid" value="<?php echo $event->id;?>" /> <input type="hidden" name="repeataction" id="repeataction" value="" /> <input type="button" class="btn" onclick="history.go(-1);return false;" value="<?php echo JText::_('COM_COMMUNITY_CANCEL_BUTTON');?>" /> <input type="submit" class="btn btn-primary validateSubmit" value="<?php echo ($event->id) ? JText::_('COM_COMMUNITY_SAVE_BUTTON') : JText::_('COM_COMMUNITY_EVENTS_CREATE_BUTTON');?>" /> </div> </li> </ul> </form> </div> <script type="text/javascript"> cvalidate.init(); cvalidate.setSystemText('REM','<?php echo addslashes(JText::_("COM_COMMUNITY_ENTRY_MISSING")); ?>'); cvalidate.noticeTitle = '<?php echo addslashes(JText::_('COM_COMMUNITY_NOTICE') );?>'; /* The calendar.js does not display properly under IE when a page has been scrolled down. This behaviour is present everywhere within the Joomla site. We are injecting our fixes into their code by adding the following at the end of the fixPosition() function: if (joms.jQuery(el).parents('#community-wrap').length>0) { var anchor = joms.jQuery(el); var calendar = joms.jQuery(self.element); box.x = anchor.offset().left - calendar.outerWidth() + anchor.outerWidth(); box.y = anchor.offset().top - calendar.outerHeight(); } Unobfuscated version of "JOOMLA/media/system/js/calendar.js" was taken from http://www.dynarch.com/static/jscalendar-1.0/calendar.js for reference. */ joms.jQuery(document).ready(function() { /* Disable old method */ //Calendar.prototype.showAtElement=function(c,d){var a=this;var e=Calendar.getAbsolutePos(c);if(!d||typeof d!="string"){this.showAt(e.x,e.y+c.offsetHeight);return true}function b(j){if(j.x<0){j.x=0}if(j.y<0){j.y=0}var l=document.createElement("div");var i=l.style;i.position="absolute";i.right=i.bottom=i.width=i.height="0px";document.body.appendChild(l);var h=Calendar.getAbsolutePos(l);document.body.removeChild(l);if(Calendar.is_ie){h.y+=document.body.scrollTop;h.x+=document.body.scrollLeft}else{h.y+=window.scrollY;h.x+=window.scrollX}var g=j.x+j.width-h.x;if(g>0){j.x-=g}g=j.y+j.height-h.y;if(g>0){j.y-=g}if(joms.jQuery(c).parents("#community-wrap").length>0){var f=joms.jQuery(c);var k=joms.jQuery(a.element);j.x=f.offset().left-k.outerWidth()+f.outerWidth();j.y=f.offset().top-k.outerHeight()}}this.element.style.display="block";Calendar.continuation_for_the_fucking_khtml_browser=function(){var f=a.element.offsetWidth;var i=a.element.offsetHeight;a.element.style.display="none";var g=d.substr(0,1);var j="l";if(d.length>1){j=d.substr(1,1)}switch(g){case"T":e.y-=i;break;case"B":e.y+=c.offsetHeight;break;case"C":e.y+=(c.offsetHeight-i)/2;break;case"t":e.y+=c.offsetHeight-i;break;case"b":break}switch(j){case"L":e.x-=f;break;case"R":e.x+=c.offsetWidth;break;case"C":e.x+=(c.offsetWidth-f)/2;break;case"l":e.x+=c.offsetWidth-f;break;case"r":break}e.width=f;e.height=i+40;a.monthsCombo.style.display="none";b(e);a.showAt(e.x,e.y)};if(Calendar.is_khtml){setTimeout("Calendar.continuation_for_the_fucking_khtml_browser()",10)}else{Calendar.continuation_for_the_fucking_khtml_browser()}}; toggleEventDateTime(); toggleEventRepeat(); }); </script>
Letzte Änderung: 10 Jahre 8 Monate her von Knuddelesel.
Folgende Benutzer bedankten sich: Linebecker
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Knuddelesel
- [Knuddelesel]
- Offline
- Administrator
Knuddelesel antwortete auf Event bearbeiten nachträglich nicht möglich!
Das Entwickler-Team verweist da immer nur auf die nächste Version, ob die Probleme dann gelöst sind ........
Bitte Fragen immer ins Forum posten, damit andere auch was von haben
Folgende Benutzer bedankten sich: Linebecker
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Linebecker
- [Linebecker]
- Offline
- Neues Mitglied
Weniger Mehr
- Beiträge: 13
- Dank erhalten: 0
Linebecker antwortete auf Event bearbeiten nachträglich nicht möglich!
Noch immer keiner eine Idee wie man das Problem beheben könnte oder woran es liegt?
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
Belerias antwortete auf Event bearbeiten nachträglich nicht möglich!
Ok, Problem gelöst!
wenn ich den HTML quellcode direkt in den Editor eingebe geht es (siehe Bild)
wenn ich aber den quellcode in den eigentlich dafür vorgesehenen HTML Editor eingebe, geht es nicht mehr (siehe Bild)
Vielleich hat mal jemand das gleiche Problem und weis jetzt woran es liegt.
Gruß Belerias
wenn ich den HTML quellcode direkt in den Editor eingebe geht es (siehe Bild)
wenn ich aber den quellcode in den eigentlich dafür vorgesehenen HTML Editor eingebe, geht es nicht mehr (siehe Bild)
Vielleich hat mal jemand das gleiche Problem und weis jetzt woran es liegt.
Gruß Belerias
Folgende Benutzer bedankten sich: Knuddelesel
Bitte Anmelden oder