Skip to content

Commit

Permalink
no label fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Praesidiarius committed Mar 21, 2020
1 parent 3a3e959 commit 3316644
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "oneplace/oneplace-contact",
"description": "onePlace Contact Module",
"type": "oneplace-module",
"version": "1.0.14",
"version": "1.0.15",
"license": "BSD-3-Clause",
"keywords": [
"laminas",
Expand Down
1 change: 1 addition & 0 deletions data/data_simple.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ INSERT INTO `core_form_field` (`Field_ID`, `type`, `label`, `fieldkey`, `tab`, `
(NULL, 'text', 'Firstname', 'firstname', 'contact-base', 'contact-single', 'col-md-3', '/contact/view/##ID##', '', 0, 1, 0, '', '', ''),
(NULL, 'text', 'Lastname', 'lastname', 'contact-base', 'contact-single', 'col-md-3', '/contact/view/##ID##', '', 0, 1, 0, '', '', ''),
(NULL, 'email', 'E-Mail', 'email_private', 'contact-base', 'contact-single', 'col-md-3', '/contact/view/##ID##', '', 0, 1, 0, '', '', ''),
(NULL, 'text', 'Skype', 'skype', 'contact-base', 'contact-single', 'col-md-3', '/contact/view/##ID##', '', 0, 1, 0, '', '', ''),
(NULL, 'text', 'Phone', 'phone_private', 'contact-base', 'contact-single', 'col-md-3', '/contact/view/##ID##', '', 0, 1, 0, '', '', ''),
(NULL, 'featuredimage', 'Featured Image', 'featured_image', 'contact-base', 'contact-single', 'col-md-3', '', '', 0, 1, 0, '', '', ''),
(NULL, 'multiselect', 'Categories', 'category_idfs', 'contact-base', 'contact-single', 'col-md-3', '', '/tag/api/list/contact-single/category', 0, 1, 0, 'entitytag-single', 'OnePlace\\Tag\\Model\\EntityTagTable', 'add-OnePlace\\Contact\\Controller\\CategoryController'),
Expand Down
1 change: 1 addition & 0 deletions data/structure_simple.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ADD `firstname` VARCHAR(255) NOT NULL DEFAULT '' AFTER `description`,
ADD `lastname` VARCHAR(255) NOT NULL DEFAULT '' AFTER `firstname`,
ADD `email_private` VARCHAR(255) NOT NULL DEFAULT '' AFTER `lastname`,
ADD `phone_private` VARCHAR(20) NOT NULL DEFAULT '' AFTER `email_private`,
ADD `skype` VARCHAR(255) NOT NULL DEFAULT '' AFTER `phone_private`,
ADD `featured_image` VARCHAR(255) NOT NULL DEFAULT '' AFTER `phone_private`,
ADD `salutation_idfs` INT(11) NOT NULL DEFAULT '0' AFTER `featured_image`,
ADD `title_idfs` INT(11) NOT NULL DEFAULT '0' AFTER `salutation_idfs`;
4 changes: 4 additions & 0 deletions data/update_simple_1.0.14_1.0.15.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE `contact` ADD `skype` VARCHAR(255) NOT NULL DEFAULT '' AFTER `phone_private`;

INSERT INTO `core_form_field` (`Field_ID`, `type`, `label`, `fieldkey`, `tab`, `form`, `class`, `url_view`, `url_list`, `show_widget_left`, `allow_clear`, `readonly`, `tbl_cached_name`, `tbl_class`, `tbl_permission`) VALUES
(NULL, 'text', 'Skype', 'skype', 'contact-base', 'contact-single', 'col-md-3', '/contact/view/##ID##', '', 0, 1, 0, '', '', '');
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Module {
*
* @since 1.0.0
*/
const VERSION = '1.0.14';
const VERSION = '1.0.15';

/**
* Load module config file
Expand Down

0 comments on commit 3316644

Please sign in to comment.