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 - 11-12-2009

[eluser]bdegier[/eluser]
user_lang.php

http://pastebin.ca/1668001

I'll slowly translate the other stuff.


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

[eluser]Phil Sturgeon[/eluser]
[quote author="bdegier" date="1258041836"]What does the Staff page do in the admin panel? I can't find any documentation about it Tongue[/quote]

The documentation is being worked on and will be on the website for around v1.0. Until then things are changing so much there is little point in writing up docs that will be out of date with the next minor release.

Staff module was from the retro-days as a simple way to put in names, images and bios for staff members, who can be in the DB as users, or as names entered via the staff GUI. Use it if it fits, if not you can probably just make a page and upload some images with the image uploader added in v0.9.7.

[quote author="bdegier" date="1258041836"]
Errors i found/encountered:
When opening /admin/comments it throws this error:
Code:
Fatal error: Unsupported operand types in C:\xampp.5.2\htdocs\pyrocms\application\modules\comments\controllers\admin.php on line 47
[/quote]

The error is coming from this line:

Code:
$this->data->modules = $modules + array('module' => 'all')

The error happens as there are no comments (meaning FALSE) is returned, adding FALSE to an array means BOOM. I'll fix this one tonight, not sure how it has been missed for so long!

[quote author="bdegier" date="1258041836"]...could you please explain how to add more fields to the user profile and registration forms? I'd like people to have to fill in their Chamber of Commerce number, phone, address etc etc.[/quote]

Currently to add new fields you would need to modify the modules, which is against my recommendations right now. This is a feature that will no doubt be implemented in the future.


[quote author="bdegier" date="1258048494"]user_lang.php

http://pastebin.ca/1668001

I'll slowly translate the other stuff.[/quote]

A better way to handle this would be to download the current latest release via Git, convert all the files and then either push them to the repo (if I give you access) or send me a ZIP containing all the lang files. Tracking them via pastie will be VERY time consuming for the both of us.


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

[eluser]Phil Sturgeon[/eluser]
With v0.9.8 coming along nicely, I am still looking for some feature requests for the newest version.

The new v1.0 interface is being actively worked on to be MUCH better, so we are simply working on the functionality and simplifying what already exists.

- Adding Dwoo support to pages & themes
- Helper functions for linking to pages (page_anchor() and page_url(), both of which work in Dwoo)
- Simplifying the layout library to output more standard variables, as $page_content, $extra_head_content is a bit confusing
- CTRL + Click and "Check all" boxes for lists.

We have also swapped from Matchbox to Modular Separation meaning a bump in performance. If you have any other ideas please let me know.

Development of this CMS is still very active, and we'll have some brilliant updates coming your way soon.


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

[eluser]bdegier[/eluser]
Any ETA on 0.9.8?

We've just hacked into the code and added support for extra profile fields to be filled in at registration. Will this be a feature (in the admin panel) in the new 0.9.8 release?

Also, i've just developed a new theme for our website which will run on PyroCMS. Is it wise to wait for 0.8.9 when integrating the theme into the CMS?


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

[eluser]Phil Sturgeon[/eluser]
The theme WILL change but I will write a very simple upgrade guide. v0.9.8 will be at least a week, possibly longer depending on the feedback we get.

The basic changes will be:

Code:
<? $this->load->view($theme_view_folder.'header'); ?>
// becomes
<?php theme_view('header'); ?>

and we will be renaming all the random crazy variables, but I will leave both in for v0.9.8 and strip out the old ones in v1.0.

As for your core modifications, it is hard to tell. I would simply copy your user module somewhere safe then plop it over the top of the v0.9.8 version as nothing crucial has changed there. If you can copy over single modified files that would be ideal, but complex I know.

Any requests other than that?


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

[eluser]bdegier[/eluser]
Sounds good, can't wait :-)

I have to admit i never implemented a theme into any CMS from scratch so this is kinda new to me. I'd like to have a seperate index page. All the other page's are different from the index.

Index is just to display alot of info about our product and the subpages all have a sidebar etc. How do i accomplish this?

Also; are there any docs out there on theme integration or are these still in development?

Thanks,

Bento


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

[eluser]Phil Sturgeon[/eluser]
Yes this is possibly but is currently not very clean. In themes/xxx/views/layouts/ you should have default.php and you can create index-page.php or something. Then on the home page edit via the admin panel and in the "Advance" tab enter "index-page".

This is something I need to clean up, perhaps by using a dropdown box, but the problem is how to support multiple themes at the same time, or trying to work out if we even should!


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

[eluser]Rick Jolly[/eluser]
Great work on the new interface!


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

[eluser]bdegier[/eluser]
Thanks for the reply again :-)

Will try to do this tomorrow.


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

[eluser]hugle[/eluser]
[quote author="Rick Jolly" date="1258587683"]Great work on the new interface![/quote]

I also like the idea of new interface Smile

About features... maybe it would be good to generate sitemaps for Google
SO it would ping Google after something is inserted/updated/deleted to/from database,
or maybe posibility do it manually by clicking some link in specific section