[Go to site: main page, start]

Toolbox

Helpers for faster development: pagination rendering, objects and lists caching, UI strings for using in third-party plugins

20
  • 1 ratings
  • 0 reviews
  • 38,001 installations
Free

Product support

Visit this product's website for support.

Categories

Toolbox

Helpers for faster development: pagination rendering, objects and lists caching, UI strings for using in third-party plugins

.

Please, use the following credentials user:manager,password:manager for logging to the Dashboard.

Features

  • Components
    • Pagination is used to get a list of pagination buttons and provides flexible settings.
  • Classes
    • ElementCollection provides a flexible tool for working with cached lists of model elements.
    • ElementData is an abstract class for components that returns object of ElementItem class for model.
    • ElementItem provides a flexible tool for single element data caching.
    • etc.

Read more…

Support

Please join us on #shopaholic channel in October CMS slack chat in order to have quick support on all our products. You will also get all newest updates and insights about our existing and upcoming products!

If you don't have access to octobercms.slack.com, please register here

Get involved

If you're interested in the improvement of this project you can help in the following ways:

  • bug reporting and new feature requesting by creating issues on plugin GitHub page;
  • contribution to a project following these instructions;
  • localization to your language using Crowdin service.

License

© 2017, LOVATA Group, LLC under GNU GPL v3.

Developed by Andrey Kharanenka.

Installation via Command Line

php artisan plugin:install Lovata.Toolbox

Features

Components

Pagination

The component is used to get a list of pagination buttons and provides flexible settings. The component uses oc-pagination package.

See the method list here.

Classes

ElementCollection

ElementCollection provides a flexible tool for working with cached lists of model elements.

See the method list here

ElementData

ElementData is an abstract class for components that returns object of ElementItem class for model.

See the method list here

ElementItem

ElementItem provides a flexible tool for single element data caching.

See the method list here

ElementPage

ElementPage is abstract class for components. Return object of ElementItem class for model or 404 error page. Component get model object by 'slug' param.

See the method list here

The full plugin documentation is abailable here.

2.3.0

Add getKeyList method to ElementCollection class.

Nov 27, 2025

2.2.2

Fixed October v4 compatibility

Jul 02, 2025

2.2.1

Added trim function for string keys in ElementItem class.

Nov 25, 2024

2.2.0

Added logic to import images from URL. Fixed path to Auth facade for RainLab.User plugin.

Nov 20, 2024

2.1.3

Revert fix of PageHelper class.

Feb 28, 2024

2.1.2

Fixed PageHelper class.

Dec 10, 2023

2.1.1

Fixed CommonSettings class.

Aug 03, 2023

2.1.0

Added MultisiteHelperTrait

Jul 07, 2023

2.0.0

Added CallsAnyMethod interface to ElementCollection and MainItem items. Objects of cache items and collections can be used in Twig templates. Requires OctoberCMS version >=3.1

May 15, 2023

1.34.4

Added integration with RainLab.Translate plugin v2

Mar 04, 2023

1.34.3

Added condition for after.detach event, if entity IDs has null value. Thanks for contribution Assmay.

Jul 25, 2022

1.34.2

Fixed name of model.relation.* events. Thanks for contribution Assmay.

Jul 22, 2022

1.34.1

Change lists method to pluck method. Thanks for contribution Nick Khaetsky.

Apr 05, 2022

1.34.0

Added makeItemOnlyCache method to ElementCollection class.

May 18, 2021

1.33.1

Fixed error with cache images with same disk_name

May 04, 2021

1.33.0

Fixed $sFilterValue condition in AbstractStoreWithParam and AbstractStoreWithTwoParam classes

May 04, 2021

1.32.0

Reduced count of database queries, if cache is empty

May 02, 2021

1.31.0

Added composer.json to plugin

May 02, 2021

1.30.0

The ability to specify URL for downloading images has been added to the abstract import class. Thanks for contribution Sebastiaan Kloos.

Dec 29, 2020

1.29.0

Improved speed of random method in ElementCollection class.

Mar 12, 2020

1.28.1

Added passing $this param to get[FieldName]Attribute() method in ElementItem class. It is recommended to use parameter from callback function in the dynamic methods get[FieldName]Attribute in ElementItem class.

Mar 02, 2020

1.28.0

Added dimension fields to lang files

Feb 17, 2020

1.27.0

Added redirect to error page, if result status is false and redirect URL is not empty.

Feb 05, 2020

1.26.2

Added validation widget context field in AbstractBackendFieldHandler class.

Feb 04, 2020

1.26.1

Fixed support of wildcard params in ElementPage class.

Dec 24, 2019

1.26.0

Added support of wildcard params to ElementPage class.

Dec 19, 2019

1.25.3

Fixed bug with import through queues.

Jun 26, 2019

1.25.2

Added try->catch section for removing images in AbstractImportModel class.

May 31, 2019

1.25.1

Fixed openMainFile method in AbstractImportModelFromXML class.

May 29, 2019

1.25.0

Added classes for import elements from xml file

May 29, 2019

1.24.1

Fixed copy() method in ElementCollection class.

Apr 23, 2019

1.24.0

Added caching of uploaded file objects as an array.

Apr 22, 2019

1.23.0

Added copy() method to ElementCollection class. Added choice twig function.

Mar 29, 2019

1.22.0

Replace array_intersect function with array_intersect_key in ElementCollection class.

Feb 27, 2019

1.21.1

Removed Iterator interface from ElementCollection class. Added IteratorAggregate interface to ElementCollection class.

Dec 09, 2018

1.21.0

Added support translatable slug in ElementPage class. Added German language. Thanks for contribution Gerald.

Nov 18, 2018

1.20.1

Fixed deletion of old images for improt from CSV file.

Nov 13, 2018

1.20.0

Added Japanese language. Thanks for contribution pikanji.

Nov 03, 2018

1.19.0

Added supported property types: number, rich editor, single checkbox, switch, balloon selector, tag list, radio.

Nov 02, 2018

1.18.0

Added AbstractImportModel class.

Nov 01, 2018

1.17.0

Added processing of "limit" parameter for the pagination component.

Oct 21, 2018

1.16.0

Add package information to composer.json. Thanks for contribution pikanji.

Oct 21, 2018

1.15.0

Added AbstractBackendColumnHandler, AbstractBackendFieldHandler, AbstractBackendMenuHandler, AbstractExtendRelationConfigHandler, AbstractModelRelationHandler classes.

Oct 15, 2018

1.14.1

Added natsort() for property value variants.

Sep 03, 2018

1.14.0

Add Countable interface in ElementCollection class

Aug 08, 2018

1.13.0

Added type returned by methods in AbstractStore * classes

Aug 07, 2018

1.12.2

Update of php-pagination vendor packages

Jul 30, 2018

1.12.1

Update of vendor packages

Jul 27, 2018

1.12.0

Add PageHelper::getPageNameList() method.

Jul 22, 2018

1.11.0

Added saving of arrays to class properties of *Store class objects after receiving array from cache.

Jul 11, 2018

1.10.2

Fix ItemStorage class. Added cloning of *Item object before saving it to storage.

Jun 24, 2018

1.10.1

Fix ItemStorage class. Clone item objects form storage.

Jun 21, 2018

1.10.0

Add PriceHelperTrait. Move PriceHelper class from Shopaholic plugin. Add set(), applySorting() methods to ElementCollection class. Add abstract store classes.

Jun 21, 2018

1.9.1

Remove force boot and register plugins in CommonTest class

Apr 17, 2018

1.9.0

Add TraitCached. Update vendor packages.

Apr 17, 2018

1.8.0

Added translation into French. Thanks for contribution philmarc.

Mar 14, 2018

1.7.0

Add UserStorage classes. Add classes for integration with Lovata.Buddies and RainLab.User plugins

Mar 11, 2018

1.6.0

Add SendMailHelper class, Add CommonSettings model

Mar 09, 2018

1.5.0

Add TraitInitActiveLang trait

Feb 21, 2018

1.4.1

Fix processing of positive results in ComponentSubmitForm::getResponseModeAjax() method, if flash_on enabled

Jan 24, 2018

1.4.0

Add PageHelper class

Jan 14, 2018

1.3.3

Fix path to field name with error in getErrorMessage() method

Jan 12, 2018

1.3.2

Fix lang path for the default properties tab in CommonProperty class

Jan 11, 2018

1.3.1

Restore getOldFormData() method in ComponentSubmitForm class

Jan 10, 2018

1.3.0

Adding afterCreate model event handling for additional cache cleaning

Jan 07, 2018

1.2.0

Add integration with Translate plugin

Dec 06, 2017

1.1.0

Add diff, unshift, push, getNearestNext, getNearestPrev methods to ElementCollection class, add ComponentSubmitForm class

Nov 01, 2017

1.0.0

Initialize plugin.

Oct 05, 2017