CodeIgniter Forums
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-06-2009

[eluser]Yorick Peterse[/eluser]
Version 0.5a1 is available for download, it can be downloaded here http://yorickpeterse.com/downloads/codeigniter/yummy/Yummy_0.5a1.zip.

Do note that the installation guide is very crappy, but it should be enough to give you an idea of how it should work. I'll add an article to my wiki (http://wiki.yorickpeterse.com/) once Yummy reaches a stable version.

EDIT: Already added the basic wiki page : http://wiki.yorickpeterse.com/yummy

EDIT 2: After some thinking I came to the conclusion that we can use Yummy for much more than Widgets, with little modification it would be able to load plugins as well (which are essentially the same as widgets).


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-06-2009

[eluser]Phil Sturgeon[/eluser]
Looks like a great start. The sooner we can get an interface on it and work out how the hell to control the placement of them into the frontend the better. :-)

By the way guys, we now have multi-lingual module details. That menas module titles and descriptions on the page content and the left nav within admin are all using English or Spanish. Spanish users, please give this a try.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-07-2009

[eluser]nhockiki86[/eluser]
Hey it look like the template parser in CI,

Why do you don't use it or another template like tinybutstrong phil ?


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-07-2009

[eluser]Phil Sturgeon[/eluser]
I looked into several Templating Engines then settled on Parser due to lack of easy options and a user vote.

I'll have a look at tinyButStrong and get back to you.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-09-2009

[eluser]nhockiki86[/eluser]
Hey i fixed the bug on ie in file admin.js

/* Facebox modal window */
/*$('a[rel*=modal]').livequery(function() {
$(this).facebox({
//bug on IE here
opacity : 0.4,
loadingImage : APPPATH_URI + "assets/img/facebox/loading.gif",
closeImage : APPPATH_URI + "assets/img/facebox/closelabel.gif",
});
});*/


this function is make the sidebar and jquery tab not work good ai comment it and the cms very nice in IE 7

i put the tinymcefck to pyromas and it work good i tomorrow i will up it to your github.

By the way you can tell me the function above for what?


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-09-2009

[eluser]Phil Sturgeon[/eluser]
This is the modal window script that shows content in little pop-up boxes.

With this commented out it seems to get jQuery UI tabs working but doesn't fix the other errors. I have tried the bleeding edge copy of facebox and it did not resolve the situation. Author emailed.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-13-2009

[eluser]ray73864[/eluser]
I noticed just now while doing myself up a new module for a website that i am working on, the module that i am creating has a file upload ability in it, so i have everything all working quite nicely except when i go to click the 'Save' button, the upload fails, and comes up with the following non-ci style error:

Quote:A PHP Error was encountered

Severity: Notice

Message: Undefined variable: filename_hash

Filename: libraries/MY_Upload.php

Line Number: 319

Fatal error: ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: Cannot use output buffering in output buffering display handlers in /http/rayherring.net/pharmacy/codeigniter/libraries/Exceptions.php on line 160

I looked at MY_Upload and it is indeed missing this variable. I also noticed that the function it is in 'set_filename' is vastly different from CI's standard file upload class.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-13-2009

[eluser]Phil Sturgeon[/eluser]
I believe MY_Upload was added by TooPixel a few months back but i'll be damned if I can remember why!

Perhaps delete it and see what happens?

As a quick-fix just replace $filename_hash with $filename. That should get the function working. Let me knlow what works and i'll make the change in master.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-13-2009

[eluser]ray73864[/eluser]
[quote author="Phil Sturgeon" date="1247494144"]I believe MY_Upload was added by TooPixel a few months back but i'll be damned if I can remember why!

Perhaps delete it and see what happens?

As a quick-fix just replace $filename_hash with $filename. That should get the function working. Let me knlow what works and i'll make the change in master.[/quote]

Hi Phil,

Deleted the MY_Upload.php file and the upload worked perfectly. I didn't notice any problems because of the deletion so i guess it is safe just to delete it from master.


PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - El Forum - 07-14-2009

[eluser]ray73864[/eluser]
Hi Phil,

Just wondering if there is any timeframe for when the loadable widgets (or whatever you want to call them) will be done.

I think i have it right, by widget i refer to the ability to put a view up in a little section on every page in the left hand sidebar (currently you have newsletters and the sidebar menu in there. Just that i have this one module which will have a view to display in there.

I can easilly edit the theme (will need to anyway), was just hoping there will be a simpler solution.