![]() |
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: PyroCMS v0.9.7.4 - an open-source modular general purpose CMS (/showthread.php?tid=17376) |
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-21-2009 [eluser]Yorick Peterse[/eluser] [quote author="Phil Sturgeon" date="1248209140"]Ahh, well thats alright then. We need a way to return it as a string so it can be loaded within HelpfulParser, and therefore used in pages.[/quote] Sure thing, I'll start working on that later tonight (or tomorrow morning) ![]() PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-21-2009 [eluser]ray73864[/eluser] I suppose once i see a good example i will be fine. I see the widget as getting information from a database table, for instance i have a contacts table which lists all the contacts, i might have a widget to grab a random set of them everytime the page is loaded. I just can't see how to do that yet because there isn't an example, will wait and see. ![]() PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-21-2009 [eluser]Edward.H[/eluser] I'd never heard this CMS before,I'll try it,thanks PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-24-2009 [eluser]ray73864[/eluser] ooooh, the doco has disappeared for the widget library ![]() PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-25-2009 [eluser]Yorick Peterse[/eluser] [quote author="ray73864" date="1248501275"]ooooh, the doco has disappeared for the widget library ![]() I removed it since it was outdated. Don't worry though, it will be added to the PyroCMS wiki instead ![]() PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-30-2009 [eluser]ray73864[/eluser] Hi Yorick, I downloaded 0.9.6 and followed how you did the 2 other widgets, however my new widget doesn't seem to be appearing. widget.json looks like this: Code: { opening_hours.php: Code: <?php both files live in the directory 'widgets/opening_hours' PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-31-2009 [eluser]Phil Sturgeon[/eluser] Good news and bad news. Good news PyroCMS v0.9.6 is out which fixes several bugs and brings full support for Spanish language. We have cleaned up the comments admin and tidied some less-used navigation items to be children of the Settings link. Bad news (for us) Yorick is away for two weeks so the work on widgets is slightly on pause. I may dabble a little but I might end up leaving the interface for him to develop. I REALLY want to finish off some utilities like Cache management, etc first before we get to v1.0. Just to let you guys know, we have Dutch nearly finished and Chinese language files too. We just need to work out how to sort out Chinese character replacement for slugs and we are good to go! PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-31-2009 [eluser]ray73864[/eluser] I worked it out to a certain extent. Although this is looking to be more complicated than a widgets library really needs to be. First you have to create a folder in the 'widgets' directory and make sure it has a 'widget.json' file in it, then you need to do up your views and the main function object for that widget. Secondly you need to make sure that your layout has an 'area.json' file in it and includes code to load widgets into that area. Lastly, you need a widgets table in your database, which is all good and everything except the installer doesn't come with the necessary sql code for creating the table. ![]() PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 08-01-2009 [eluser]pysco68[/eluser] Good morning, I just took a look at the CMS, and since the last time there's realy great improvement! I just wanted to offer my German and French knowledges to this great project, hoping it could be usefull; Greetings from France PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 08-02-2009 [eluser]Phil Sturgeon[/eluser] Language packs are of course welcome. French and German would be brilliant additions to the codebase. If you know Git and would be able to check out the code that really would be the easiest method. It also means you can add translations on an ongoing basis which if you were up for it would be ideal. The main problem at the moment is people add language packs then when I want to work on a new feature I have to make it all english again >.< |