Skip to content

Commit

Permalink
Release 1.5.0
Browse files Browse the repository at this point in the history
- Added Support for the „Publish Button“-extension
- Switched `px` for `rem` in the CSS
- Extended compatibility notes in the readme
- Removed the note about the „last column“-problem which obviously was
fixed in version 1.3.0
- Prepared meta for 1.5.0 release (Setting Symphony 2.4 as minimum like
it was already stated in the readme)
  • Loading branch information
twiro committed Jun 14, 2018
1 parent 0991c05 commit 4080637
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENCE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ follows:

----- begin license block -----

Copyright 2014-2016 Deux Huit Huit Inc.
Copyright 2014-2018 Deux Huit Huit Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,24 @@ Version: 1.4.x
Makes the checkbox field editable inline in the table publish view.
Value is saved right away.

### KNOWN LIMITATIONS
### COMPATIBILITY ###

Besides Symphony's default checkbox field **Ajax Checkbox** plays nicely together with the following extensions:

1. [Multilingual Checkbox][1]
2. [Publish Button][2]

The following extensions are currently not supported:

1. [Unpublishedfilter][3]
2. [Unique Checkbox Field][4]

- It is not compatible with the `unpublishedfilter` extension.
- You cannot use a checkbox as the last column

### REQUIREMENTS ###

- Symphony CMS version 2.4 and up (as of the day of the last release of this extension)

### INSTALLATION ###
### INSTALLATION ##

- `git clone` / download and unpack the tarball file
- Put into the extension directory
Expand All @@ -29,3 +37,9 @@ Come say hi! -> <https://deuxhuithuit.com/>
### HOW TO USE ###

- Just install and enjoy


[1]: https://github.com/DeuxHuitHuit/multilingual_checkbox_field
[2]: https://github.com/pixelninja/publishbutton
[3]: https://github.com/symphonists/unpublishedfilter
[4]: https://github.com/symphonists/uniquecheckboxfield
15 changes: 9 additions & 6 deletions assets/publish.ajax_checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,25 @@
*/

table.selectable td.field-checkbox input.ajax-checkbox,
table.selectable td.field-multilingual_checkbox input.ajax-checkbox {
table.selectable td.field-multilingual_checkbox input.ajax-checkbox,
table.selectable td.field-publishbutton input.ajax-checkbox {
display: inline-block;
float: none;
vertical-align: middle;
margin-top: -1px;
margin-top: -.1rem;
}

table.selectable td.field-checkbox,
table.selectable td.field-multilingual_checkbox {
table.selectable td.field-multilingual_checkbox,
table.selectable td.field-publishbutton {
position: relative;
}

table.selectable td.field-checkbox div.ajax-checkbox,
table.selectable td.field-multilingual_checkbox div.ajax-checkbox {
width: 16px;
height: 11px;
table.selectable td.field-multilingual_checkbox div.ajax-checkbox,
table.selectable td.field-publishbutton div.ajax-checkbox {
width: 1.6rem;
height: 1.1rem;
background: transparent url(ajax-loader.gif) no-repeat 0px 0px;
display: none;
}
2 changes: 1 addition & 1 deletion assets/publish.ajax_checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
};

var init = function () {
$('#contents table td').filter('.field-checkbox, .field-multilingual_checkbox').each(initOne);
$('#contents table td').filter('.field-checkbox, .field-multilingual_checkbox, .field-publishbutton').each(initOne);
};

$(init);
Expand Down
4 changes: 4 additions & 0 deletions extension.meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<!-- None -->
</dependencies>
<releases>
<release version="1.5.0" date="2018-06-14" min="2.4.0" max="2.x.x">
- Added support for [Publish Button](https://github.com/pixelninja/publishbutton) extension
- Extended compatibility notes in the readme
</release>
<release version="1.4.1" date="2016-08-08" min="2.3.4" max="2.x.x">
- Supported on PHP 7
- Fixed database update
Expand Down

0 comments on commit 4080637

Please sign in to comment.