intprog/ez-bookmarks-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Bundle adding bookmarks to the platform ui of ezplatform

1.0.0-beta1 2017-12-18 20:40 UTC

This package is auto-updated.

Last update: 2022-02-01 13:09:59 UTC


README

IntProg eZ Bookmarks Bundle is an eZ Platform bundle adding bookmarks functionality to the Platform UI.

Features

Implemented

  • REST routes for reading and managing bookmarks (user sensitive)
  • Bookmarks block on dashboard
  • Add/Remove bookmark on location view
  • Key navigation (ctrl + [0-9])

Planned

  • UDW tab containing bookmarks for selection/navigation
  • Button in left hand side view to navigate to bookmarks (latest 5?)

Usage and installation instructions

Requirements

  • eZ Platform ~7.0
  • eZ Platform Admin UI ~1.0
  • PHP 7.0+

Add the package/bundle via composer

Run php composer.phar require intprog/ez-bookmarks-bundle to add the package.

Register the bundle

Activate the bundle in your Kernel.php file.

public function registerBundles()
{
   ...
   $bundles = array(
       ...
       new IntProg\BookmarksBundle\IntProgBookmarksBundle(),
       ...
   );
   ...
}

Add routes

Add the routes to your routing.yml:

_intprogBookmarks:
    resource: "@IntProgBookmarksBundle/Resources/config/routing.yml"
    prefix:   "%ezpublish_rest.path_prefix%"

Create the table

You can add the table manually using the schema.sql.

Key navigation

To enable key navigation as mentioned in the feature-section define the parameter int.prog.bookmarks.enable.key.navigation and set it to true.

The keys correspond to the order on the dashboard ranging from 1 (index 0) to 0 (index 9) of the numers on your keyboard.

Clear the cache and install/dump assets

php app/console cache:clear
php app/console assets:install --symlink --relative
php app/console assetic:dump

Change and License

Changelog

License