Welcome Guest, Not a member yet? Register   Sign In
Introducing Fresh - A CodeIgniter CMS
#1

[eluser]Adam Griffiths[/eluser]
Hi guys,

I wanted to use the forum as a means to promote my newest contribution to the CodeIgniter community. I have built a simple CMS built on top of CodeIgniter and The Authentication Library — I created a series of posts on my website on how to create a CMS and have decided to release the code as a package and support it.

Some of you may remember my first libraries for CodeIgniter — they went under the moniker "Fresh Powered" which is the CMS I originally built. This time though I have had the time to create it again but at a much simpler level.

So far Fresh has all the features of The Authentication Library as well as an added page management area. The page management is very simple, and no WYSIWYG editor is included as yet. The front end is also very primitive, although I have ideas for helpers I can use on the frontend to make it better.

I have a website dedicated to Fresh which includes all links to demos etc but I will link to everything in this thread.

Fresh — A CodeIgniter CMS
Fresh demo
Fresh demo login demo:password
Fresh on Github

I'm hoping this thread will become a hive of ideas for the CMS and as it is in a very early state it will be easier to implement features that people may need or want in a CMS.


Thanks guys,
Adam
#2

[eluser]Phil Sturgeon[/eluser]
http://freshpowered.com/demo/index.php/a...ers/manage

Quote:Unable to locate the model you have specified: usermodel

http://www.freshpowered.com/demo/

Quote:A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/page.php

Line Number: 36
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: title

Filename: views/index.php

Line Number: 1
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: content

Filename: views/index.php

Line Number: 3

There are no actions to click when something has been added. Perhaps redirect them somewhere or offer a link?

Other than that, off to a good start! :-)
#3

[eluser]ralf57[/eluser]
The demo throws errors in many pages.
I think you've published it too soon ;-)
#4

[eluser]Adam Griffiths[/eluser]
Looked like somebody changed the homepage name on the demo. So that's why the errors were being thrown. I\'ll build a failsafe for it soon.
#5

[eluser]InsiteFX[/eluser]
Hi Adam,

Problems:

1) In the dump.sql, the INSERT INTO `pages` is missing the slug field.

2) I have installed the way you stated, but I get nothing but can not send headers, header already sent by /index.php/page/1.

3) Not a problem, but I would just download the font-min.css file and place it into a css directory.

Enjoy
InsiteFX
#6

[eluser]Adam Griffiths[/eluser]
[quote author="InsiteFX" date="1249334628"]Hi Adam,

Problems:

1) In the dump.sql, the INSERT INTO `pages` is missing the slug field.

2) I have installed the way you stated, but I get nothing but can not send headers, header already sent by /index.php/page/1.

3) Not a problem, but I would just download the font-min.css file and place it into a css directory.

Enjoy
InsiteFX[/quote]

I have fixed the dump.sql file and pushed it to the repo, thanks.

Unless you have a page with the name 1, then you are likely going to see errors. Without more information though I will not be able to help.

What version of PHP are you using?
Have you added pages yet? Try adding a few then go to index.php/page/<pagename>
What version of CodeIgniter are you using? I've only tested it with 1.7.1.



Thanks,
Adam
#7

[eluser]InsiteFX[/eluser]
Hi Adam,

PHP 5.2.9
MySQL 5.1.33 Community
CodeIgniter 1.7.1

I may have this setup wrong not sure.

Directory Structure:

Localhost/codeigniter/cms

Is this correct?

Also what do I need to setup a page?

I do a lot web graphics, so if you want I can design some things Fresh CMS.

Thank you for your help
InsiteFX
#8

[eluser]Adam Griffiths[/eluser]
[quote author="InsiteFX" date="1249357645"]Hi Adam,

PHP 5.2.9
MySQL 5.1.33 Community
CodeIgniter 1.7.1

I may have this setup wrong not sure.

Directory Structure:

Localhost/codeigniter/cms

Is this correct?

Also what do I need to setup a page?

I do a lot web graphics, so if you want I can design some things Fresh CMS.

Thank you for your help
InsiteFX[/quote]

Basically all you need to do is setup the $base_url variable inside application/config/config.php, edit the application/config/database.php settings and run the dump.sql query on a database table.

To add a new page (provided that you have run the SQL query on a database and are connected to it) simple go to http://yoururl.ext/path/to/fresh/index.php/register — to register a new account, once a new account has been made you need to change the group_id for that user to 1 in the database (there's a screencast on Programmers Voice that shows you how).

Then you can go to http://yoururl.ext/path/to/fresh/index.php/login to login and go into the "Manage Pages" tab to add a new page.


Now that might sound really long winded but it's all fairly simple to do.


If you want to help out with some graphics that would be cool, I'll private message you my email.




Thanks,
Adam
#9

[eluser]InsiteFX[/eluser]
Hi Adam,

Thank you very much.

Will email.

Enjoy
InsiteFX
#10

[eluser]InsiteFX[/eluser]
Hi Adam,

As I promised here is the link to the dashboard images.

they are all in .png 256x256, 128x128, 64x64 and 32x32

I will be adding a header, footer and logo as soon as Adam gives me the sizes.
I want to try and keep the layout images like Programmers Voice.

Included:

These can also be used in Adam's Auth 1.0.6

Shopping Cart
Pages
Page
Email
Internet
Site Tools
Site Config
Auth Security
Groups
Users
Plus more.

All have edit, delete, view and add.

These will be licensed under the Fresh CMS, and are free to the Fresh CMS community.

Link: http://www.procoversfx.com/download/code.../black.zip

If you find any problems please leave me a message here in the forums.
Also if you find something I missed or you want added let me know.

Enjoy
Everyone




Theme © iAndrew 2016 - Forum software by © MyBB