Are blocks editable?
Permalink Browser Info Environment
Hi Jordan,
I'm running C5 latest (5.5.1) and Designer Content latest (3.0.2). The project page seems to indicate that you can edit the blocks after you have created them. Is this correct?
I know I can edit in code, but I was expecting an interface similar to the Add new block. I've set permissions in config/site.php as displayed.
I would be grateful if you could shine some light on this,
Thanks,
Paul
I'm running C5 latest (5.5.1) and Designer Content latest (3.0.2). The project page seems to indicate that you can edit the blocks after you have created them. Is this correct?
I know I can edit in code, but I was expecting an interface similar to the Add new block. I've set permissions in config/site.php as displayed.
I would be grateful if you could shine some light on this,
Thanks,
Paul
Type: | Discussion |
---|---|
Status: | New |
Correct, you cannot edit the block through a web interface after they've been created. And it's not something that will ever be implemented either -- it's not worth the trouble (it's an order of magnitude more complicated than just creating them, and you can just create a new one that contains changes you want if desired).
As for the confusing documentation, I see your point and have changed the wording of that to make it clearer that it's just the code files that can be edited. Thanks for bringing it to my attention.
-Jordan
As for the confusing documentation, I see your point and have changed the wording of that to make it clearer that it's just the code files that can be edited. Thanks for bringing it to my attention.
-Jordan
Why is it so complicated? The custom blocks are generated according to custom user settings, right? Just store these settings (db table+json, php array, etc), and when user clicks on edit block, the tool reads stored data, and when user clicks on save, tool uninstall the old block and generates the new one (in the same way as before).
Maybe you're correct (although I think there are a lot of details you're glossing over). The code is up on github (https://github.com/jordanlev/c5_designer_content... ), feel free to contribute -- I will gladly merge in pull requests.
-Jordan
-Jordan
?
Thanks for a great add on. This block has meant I can keep to Concrete5 when I was considering moving to Expression Engine.