pkp / customblockmanager Goto Github PK
View Code? Open in Web Editor NEWPlugin permitting the creation of custom sidebar blocks
License: GNU General Public License v3.0
Plugin permitting the creation of custom sidebar blocks
License: GNU General Public License v3.0
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
On
"Gridhandler" instead of "GridHander"
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
, replaceen_US
withen
andes_ES
withes
insetting_value
, wheresetting_name
isblockTitle
orblockContent
.
After that change, all blocks appeared again just as they were before.
Regards!
PRs
PKP-LIB: pkp/pkp-lib#9419
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
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.
See http://forum.pkp.sfu.ca/t/ojs3-display-custom-block-name-option/29154/2.
Currently the "block name" field is used...
plugin_settings
)It is currently limited to alphanumerics, as it's symbolic.
Suggested:
uniqid
) and not presented to the user anywhere.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!
At the moment new blocks are added from website=>plugins=>customBlockManager settings.
It would make more sense if adding/editing blocks would be possible from the sidebar management grid. Basically an "edit block" link in the upper right corner of the grid panel would be enough.
https://forum.pkp.sfu.ca/t/ability-to-add-edit-custom-blocks-from-the-sidebar-management-grid/33633
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.
See #31 for details.
The method CustomBlockManagerPlugin::callbackLoadCategory()
is obsolete and unused after pkp/pkp-lib#3336 moved the block registration into register()
:
ec5838a
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.