You are not logged in.
Pages: 1
I've created a module and I'd like to share it. Where can I post it?
Its a global content blocks module that allows you to make a little block of content (for example a copyright line) that you can edit through the interface and include in all (or some?) pages by adding a variable to the template.
I created it for this website (website no longer exists) and am using it for the hours of operation area. The site owner can edit it and it appears on every page.
Last edited by tokr (29-07-2011 11:38:19)
Offline
I've created a module and I'd like to share it. Where can I post it?
Its a global content blocks module that allows you to make a little block of content (for example a copyright line) that you can edit through the interface and include in all (or some?) pages by adding a variable to the template.
I created it for this website (http://www.beaverlodgelibrary.ab.ca) and am using it for the hours of operation area. The site owner can edit it and it appears on every page.
The best place is http://pluck-cms.org/docs/addons:modules ![]()
A_Bach
Offline
Please, please add it to the modules! This is something that I've been wanting. So cool that you figured it out! ![]()
Offline
That sounds like a great module, very useful!
Offline
I've added it to the module page. I hope that it works for everyone.
I was looking for a "submit module" button, but I couldn't find one.:)
Offline
Question?, but is Blocks.php missing from the tar file?
Warning: include(data/settings/modules/contentblocks/blocks.php) [function.include]: failed to open stream: No such file or directory in /volume1/web/Pluck/t4pluck/data/modules/contentblocks/inc_site.php on line 3
Offline
Question?, but is Blocks.php missing from the tar file?
Warning: include(data/settings/modules/contentblocks/blocks.php) [function.include]: failed to open stream: No such file or directory in /volume1/web/Pluck/t4pluck/data/modules/contentblocks/inc_site.php on line 3
blocks.php is where the user data is stored. I guess that it doesn't get created automatically. Try creating an empty blocks.php file.
(I wrote this module some time ago and I didn't test it on a clean install, so I expect there will be some bugs to work out.)
Offline
Ok. so I guess that I should have tested it better. I've gone back and fixed a few errors. Let me know if you find any other problems.
Offline
I installed new pluck and admin says This module is not compatible with your version of pluck, and has been disabled.
Could some one help? I'm really in need of this...
Offline
Take a look here: http://www.pluck-cms.org/forum/viewtopi … 2151#p2151
Offline
I've updated module_info.php, so if you download the module now it should work with pluck 4.6.3
Offline
cheers... still some problems.. I think the package could be missing a file?
Warning: fopen(data/settings/modules/contentblocks/blocks.php) [function.fopen]: failed to open stream: No such file or directory in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 12
Warning: fputs(): supplied argument is not a valid stream resource in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 13
Warning: fputs(): supplied argument is not a valid stream resource in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 14
Warning: fputs(): supplied argument is not a valid stream resource in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 15
Warning: fputs(): supplied argument is not a valid stream resource in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 16
Warning: fclose(): supplied argument is not a valid stream resource in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 17
Warning: chmod() [function.chmod]: No such file or directory in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 18
Warning: include(data/settings/modules/contentblocks/blocks.php) [function.include]: failed to open stream: No such file or directory in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 19
Warning: include(data/settings/modules/contentblocks/blocks.php) [function.include]: failed to open stream: No such file or directory in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 19
Warning: include() [function.include]: Failed opening 'data/settings/modules/contentblocks/blocks.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/***/public_html/pluck/data/modules/contentblocks/functions.php on line 19
This module allows the creation of blocks of content that are included in the page templates. Useful for things such as addresses or hours of operation sections.
Offline
Can you check if the directory data/settings/modules/contentblocks exists?
Offline
Can you check if the directory data/settings/modules/contentblocks exists?
Rather file data/settings/modules/contentblocks/blocks.php
If not -> create empty.
Offline
Pages: 1