Permalink
Browse files

4.7.4 Version

  • Loading branch information...
Theophilix committed Jan 1, 2019
1 parent 0741a18 commit e5f726f2d317dd45247371bd2bfa4b9c9013fbfb
@@ -7,7 +7,7 @@ As it is based on a CSS-template, the layout of the table can be changed easily.

Try all the functions (including backend) on the demo site: https://demo.eventtableedit.com. Log in as user or admin with the given login credentials.

Download latest version 4.7.3 (since 01.11.2018): https://github.com/Theophilix/event-table-edit/archive/master.zip.
Download latest version 4.7.4 (since 01.01.2019): https://github.com/Theophilix/event-table-edit/archive/master.zip.

Download older versions here: https://github.com/Theophilix/event-table-edit/releases.

@@ -47,9 +47,11 @@ a) General
+ CSV Import and Export
+ Show or hide user names to user or admin
+ Set timelimit for bookings
+ option to send two or more appoinment informations in one ics file
- Show or hide table title
- Usertext before and after table
- Show or hide column to delete or sort rows
- Enable automatic column sorting when table is loaded
- Use Metadata
- Enhanced SEO
- Support BB-Code
@@ -71,6 +73,19 @@ Please post all feature requests in the issues tab.

## II Version history

**For version 4.7.4:**

[1] Normal mode

- bugfix: Frontend: Layout: Layout not looking good at 1280+ pixel width if delete column is activated: https://github.com/Theophilix/event-table-edit/issues/123

[2] Appointment mode

- enhancement: Appointment tables: Sort ICS files / date info in email by date: https://github.com/Theophilix/event-table-edit/issues/125
- enhancement: Frontend / Appointment tables: Show same date information in email as after click of booking button: https://github.com/Theophilix/event-table-edit/issues/131
- enhancement: Frontend / Appointment tables: option to send two or more appoinment informations in one ics file: https://github.com/Theophilix/event-table-edit/issues/132


**For version 4.7.3:**

[1] Normal Mode
@@ -115,6 +115,7 @@ COM_EVENTTABLEEDIT_FIELD_USEREMAIL_SUBJECT_DESC="Betreff Emailbestätigung Benut
COM_EVENTTABLEEDIT_FIELD_USEREMAIL_TEXT="Benutzer E-Mail-Text"
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_ADMIN_EMAIL_SUBJECT="Die Variablen <b>{first_name}</b> und <b>{last_name}</b> können verwendet werden."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_USED_EMAIL_SUBJECT="Die Variablen <b>{date}</b> und <b>{time}</b> können verwendet werden."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_USED_EMAIL_ADMIN="Die Variablen <b>{datetimelist}</b> können verwendet werden."
COM_EVENTTABLEEDIT_FIELD_DISPLAYNAME_LABEL="Angezeigter Name zur Admin-Mailadresse"
COM_EVENTTABLEEDIT_FIELD_DISPLAYNAME_DESC="Angezeigter Name zur Admin-Mailadresse"
COM_EVENTTABLEEDIT_FIELD_ICSFILENAME_LABEL="Dateiname ICS-Datei"
@@ -123,7 +124,7 @@ COM_EVENTTABLEEDIT_FIELD_HOURS="Zeitlimit (in Stunden)"
COM_EVENTTABLEEDIT_SHOW_SHOWDAYNAME="Wochentag zu Datum hinzufügen"
COM_EVENTTABLEEDIT_FIELD_COMMENTARY_LABEL="Kommentar"
COM_EVENTTABLEEDIT_FIELD_ADMINEMAILTEXT_LABEL="Admin E-mail-Text"
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_ADMINUSED_EMAIL_SUBJECT="Die Variablen <b>{date}</b>, <b>{time}</b> und <b>{comment}</b> können verwendet werden."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_ADMINUSED_EMAIL_SUBJECT="Die Variablen <b>{datetimelist}</b> und <b>{comment}</b> können verwendet werden."



@@ -270,4 +271,9 @@ COM_EVENTTABLEEDIT_DATATYPE_MAIL="Mail"
COM_EVENTTABLEEDIT_DATATYPE_FOUR_STATE="Four State"



COM_EVENTTABLEEDIT_SCROLL_TABLE_LABEL="Table Scroll"
COM_EVENTTABLEEDIT_SCROLL_TABLE_DESC="Table Scroll"
COM_EVENTTABLEEDIT_SCROLL_YES="Yes"
COM_EVENTTABLEEDIT_SCROLL_NO="No"
COM_EVENTTABLEEDIT_TABLE_HEIGHT_LABLE="Table Height"
COM_EVENTTABLEEDIT_TABLE_HEIGHT_DESC="Table Height (in px)"
@@ -119,7 +119,7 @@ COM_EVENTTABLEEDIT_FIELD_USEREMAIL_SUBJECT_DESC="Enter user email subject"
COM_EVENTTABLEEDIT_FIELD_USEREMAIL_TEXT="User email text"
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_ADMIN_EMAIL_SUBJECT="You can use the <b>{first_name}</b> and <b>{last_name}</b> in admin email subject."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_USED_EMAIL_SUBJECT="You can use the <b>{date}</b> and <b>{time}</b> in user email subject."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_USED_EMAIL_ADMIN="You can use the <b>{date}</b> and <b>{time}</b> in user email text."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_USED_EMAIL_ADMIN="You can use the <b>{datetimelist}</b> in user email text."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_ICS_SUBJECT="You can use the <b>{first_name}</b> and <b>{last_name}</b> in ics file name."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_SUMMARY="You can use the <b>{first_name}</b> and <b>{last_name}</b> in summary."
COM_EVENTTABLEEDIT_FIELD_DISPLAYNAME_LABEL="Display name for admin email address"
@@ -130,7 +130,7 @@ COM_EVENTTABLEEDIT_FIELD_HOURS="Time limit (in hours)"
COM_EVENTTABLEEDIT_SHOW_SHOWDAYNAME="Add days of the week to date"
COM_EVENTTABLEEDIT_FIELD_COMMENTARY_LABEL="Commentary"
COM_EVENTTABLEEDIT_FIELD_ADMINEMAILTEXT_LABEL="Admin Email-Text"
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_ADMINUSED_EMAIL_SUBJECT="You can use the <b>{date}</b> <b>{time}</b> and <b>{comment}</b> in admin email text."
COM_EVENTTABLEEDIT_USED_VARIABLE_IN_ADMINUSED_EMAIL_SUBJECT="You can use the <b>{datetimelist}</b> and <b>{comment}</b> in admin email text."

; style options
COM_EVENTTABLEEDIT_STYLE="Style"
@@ -259,3 +259,11 @@ COM_EVENTTABLEEDIT_DATATYPE_BOOLEAN="Yes or No"
COM_EVENTTABLEEDIT_DATATYPE_LINK="Link"
COM_EVENTTABLEEDIT_DATATYPE_MAIL="Mail"
COM_EVENTTABLEEDIT_DATATYPE_FOUR_STATE="Four State"


COM_EVENTTABLEEDIT_SCROLL_TABLE_LABEL="Table Scroll"
COM_EVENTTABLEEDIT_SCROLL_TABLE_DESC="Table Scroll"
COM_EVENTTABLEEDIT_SCROLL_YES="Yes"
COM_EVENTTABLEEDIT_SCROLL_NO="No"
COM_EVENTTABLEEDIT_TABLE_HEIGHT_LABLE="Table Height"
COM_EVENTTABLEEDIT_TABLE_HEIGHT_DESC="Table Height (in px)"
@@ -477,6 +477,28 @@
<option value="_blank">COM_EVENTTABLEEDIT_LINK_TARGET_NEW</option>
<option value="_self">COM_EVENTTABLEEDIT_LINK_TARGET_SELF</option>
</field>

<field id="scroll_table"
name="scroll_table"
type="list"
label="COM_EVENTTABLEEDIT_SCROLL_TABLE_LABEL"
description="COM_EVENTTABLEEDIT_SCROLL_TABLE_DESC"
class="inputbox"
size="1"
default="0"
>
<option value="1">COM_EVENTTABLEEDIT_SCROLL_YES</option>
<option value="0">COM_EVENTTABLEEDIT_SCROLL_NO</option>
</field>

<field name="scroll_table_height"
type="text"
class="inputbox"
label="COM_EVENTTABLEEDIT_TABLE_HEIGHT_LABLE"
description="COM_EVENTTABLEEDIT_TABLE_HEIGHT_DESC"
default="200"
/>

</fieldset>

<fields name="metadata">
@@ -63,6 +63,11 @@ ADD `automate_sort` tinyint(4) NOT NULL,
ADD `automate_sort_column` varchar(255) NOT NULL AFTER `automate_sort`,
COMMENT='';

ALTER TABLE `#__eventtableedit_details`
ADD `scroll_table` varchar(255) COLLATE 'utf8_general_ci' NOT NULL,
ADD `scroll_table_height` varchar(255) COLLATE 'utf8_general_ci' NOT NULL AFTER `scroll_table`,
COMMENT='';

DROP TABLE IF EXISTS `#__eventtableedit_heads`;
CREATE TABLE `#__eventtableedit_heads` (
`id` int(11) NOT NULL auto_increment,
@@ -11,6 +11,7 @@
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
//echo $this->form->getValue('automate_sort_column');die;
?>

<script type="text/javascript">
@@ -417,6 +418,12 @@ function checkics(val){

<li><?php echo $this->form->getLabel('link_target'); ?>
<?php echo $this->form->getInput('link_target'); ?></li>

<li><?php echo $this->form->getLabel('scroll_table'); ?>
<?php echo $this->form->getInput('scroll_table'); ?></li>
<li><?php echo $this->form->getLabel('scroll_table_height'); ?>
<?php echo $this->form->getInput('scroll_table_height'); ?></li>

</ul>
</fieldset>

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<extension type="component" version="4.7.3" method="upgrade">
<extension type="component" version="4.7.4" method="upgrade">
<name>com_eventtableedit</name>
<creationDate>01-11-2018</creationDate>
<creationDate>01-01-2019</creationDate>
<author>Manuel Kaspar and Theophilix</author>
<license>GNU/GPL</license>
<copyright>2007 - 2018 Manuel Kaspar and Theophilix</copyright>
<copyright>2007 - 2019 Manuel Kaspar and Theophilix</copyright>
<authorEmail>webmaster@eventtableedit.com</authorEmail>
<authorUrl>http://www.eventtableedit.com</authorUrl>
<version>4.7.3</version>
<version>4.7.4</version>
<description>COM_EVENTTABLEEDIT_DESCRIPTION</description>

<scriptfile>script.php</scriptfile>
@@ -78,6 +78,31 @@ function update($parent)
$db->query();
}
$app = JFactory::getApplication();
$prefix = $app->getCfg('dbprefix');
$query = "SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '".$prefix."eventtableedit_details' AND COLUMN_NAME = 'scroll_table' ";
$db->setQuery($query);
$data = $db->loadObject();
if(empty($data)){
$query = 'ALTER TABLE `#__eventtableedit_details`
ADD `scroll_table` varchar(255) COLLATE "utf8_general_ci" NOT NULL,
COMMENT=""';
$db->setQuery($query);
$db->query();
}
$query = "SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '".$prefix."eventtableedit_details' AND COLUMN_NAME = 'scroll_table_height'";
$db->setQuery($query);
$data = $db->loadObject();
if(empty($data)){
$query = 'ALTER TABLE `#__eventtableedit_details`
ADD `scroll_table_height` varchar(255) COLLATE "utf8_general_ci" NOT NULL AFTER `scroll_table`,
COMMENT=""';
$db->setQuery($query);
$db->query();
}
echo '<p>' . JText::_('COM_EVENTTABLEEDIT_UPDATE_TEXT') . '</p>';
}
Oops, something went wrong.

0 comments on commit e5f726f

Please sign in to comment.