Giter Club home page Giter Club logo

customblockmanager's Introduction

=============================================================
=== Custom Block Manager Plugin
=== Version: (see version.xml)
=== Author: Juan Pablo Alperin <[email protected]>
=== Co-Author: Bozana Bokan <[email protected]>
=============================================================

About

This plugin is intended to enable users to create customizable HTML blocks for the sidebars.

Build Status

License

This plugin is licensed under the GNU General Public License v3. See the file LICENSE for the complete terms of this license.

System Requirements

This plugin is compatible with OJS, OMP, and OPS. Ensure that you're installing a compatible version by using the Plugin Gallery.

Management

The Plugin management interface can be found at: Management > Website Settings > Plugins > Generic Plugins > Custom Block Manager

Once the plugin is enabled, blocks can be added, edited and deleted through this interface, using the "Manage Custom Blocks" function.

The added custom blocks will per default appear in the right sidebar, but this can be changed in: Management > Website Settings > Appearance > Layout > Sidebar Management.

Contact/Support

Documentation, bug listings, and updates can be found on this plugin's homepage at http://github.com/pkp/customBlockManager.

customblockmanager's People

Contributors

ajnyga avatar algerds avatar asmecher avatar bozana avatar bsvvi avatar ctgraham avatar diegojmacedo avatar forgive38 avatar imagire avatar jonasraoni avatar jordilacruz avatar marchitelli avatar marherumr avatar mduduman avatar mhvezina avatar mirkospiroski avatar mpbraendle avatar mtub avatar natewr avatar neffe avatar osmndrmz avatar pnault avatar ppv1979 avatar primoz-svetek avatar tgc avatar tigran54 avatar touhidurabir avatar trungvjm avatar vanyog avatar vormia avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

customblockmanager's Issues

Custom Block Manager error to save if the content image?

Hello,
When I try to add a new item under Custom Blocks, the information is not saved if the content image is uploaded or is an external URL.
The Save button becomes light gray but not saved.
All add new item work normally if they are only texts.

I use :OJS 3.4.0-1

When upgrading from 3.3.x to 3.4.x, custom block locales weren't migrated

Hello!

Just after upgrading from 3.3.0-14 to 3.4.0-3, our custom blocks vanished from the sidebar. They appeared in the plugin config, but when edited, the blocks were empty. I had to manually edit the database when upgrading. SQL pseudo-code:

Update plugin_settings, replace en_US with en and es_ES with es in setting_value, where setting_name is blockTitle or blockContent.

After that change, all blocks appeared again just as they were before.

Regards!


PRs

PKP-LIB: pkp/pkp-lib#9419

OMP Plugin Gallery?

Hi, this plugin works great with OMP 3.3.0.13. Any chance it can be included in the plugin gallery? It seems it is listed for OJS but not for OMP.
Thanks!

Permit site-wide custom blocks

Currently custom blocks must be associated with a specific context. Permit site-wide (context_id=0) custom blocks, and ensure that they can be administered through the Site Administrator's tools.

Disentangle block "symbolic name" from title

See http://forum.pkp.sfu.ca/t/ojs3-display-custom-block-name-option/29154/2.

Currently the "block name" field is used...

  • As a column in the grid row
  • As a symbolic name in the back-end (e.g. plugin name in plugin_settings)

It is currently limited to alphanumerics, as it's symbolic.

Suggested:

  • Have the symbolic name auto-generated (using e.g. uniqid) and not presented to the user anywhere.
  • Make the current "block title" field a proper title field, not limited to alphanumeric characters. Use this for the grid column, and have it display as a block title when the block is displayed.
  • Keep the block title optional, in case users want a block e.g. with image-only content.

Allow Conditions Where Custom Block Can Appear

In Drupal, there is also a Block concept very similar to OJS. In the interface for Blocks in Drupal, one can select in what pages/urls the block can appear or not appear. I believe it would be useful to have this feature implemented for this plugin as well. I know that I had this requirement where I needed to display a block in certain pages. Right now I just hide it with CSS, but the better solution is to have this configuration in the Custom Block form.

Blocked Block plugin

Hi,
I am using ojs_3_1_1_4 with more than 100 journals.
I have some plugins with a particular order in my sidebar, do you know if can I locked this plugins in all my journals?
I would like to lock only this 3 blockPlugins always on the same position.

I can insert my plugins on code, but I don't know where, maybe in BlockPluginsListbuilderHandler

Can I call my plugins on any Handler to lock position ?
ex
{call_hook name=".........."}

Regards.
jafamo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.