Open Source Yii CMS - GXC CMS


(Nganhtuan63) #1

I and my friend has made a CMS for our projects, and now we want to open source it to give back to community and make it better. You can find it at Github :

The CORE

https://github.com/nganhtuan63/GXC-CMS

The Sample Project

https://github.com/nganhtuan63/Sample-Project

This CMS uses existed extensions/modules :

Rights : http://www.yiiframework.com/extension/rights/

Translate : http://www.yiiframework.com/extension/translate

Settings : http://www.yiiframework.com/extension/settings

DISCUSSION FORUM:

http://forum.gxccms.com

Some current features of it:

  • Multiple languages ( for Content, Categories, Pages,…)

  • Multiple Content types ( Easily define new content type like : article, event…like wordpress posts custom fields but maybe better ;D )

  • User Management ( Thanks to Rights module )

  • Workflow handle ( Who can create an article, publish or cancel it, transfer to others to review )

- Multiple layouts

  • Pages management : The site can create pages. Ya, a page can have different layouts that are defined above. In each layout, we can add blocks in slots. The Blocks are ( for example : HTML Block, Content list Block, Menu Block,…). A new block can be developed easily for backend handle and frontend appearance.

Missing and going to develope features :

  • Newsletter

  • Caching management ( Re-work)

  • Ip and visits statistics

  • Multiple domain support

========================================

Update some F.A.Q

========================================

1/- The CORE is the part that will not be changed, it is the part that

is for use only (like yii/framework, but then for CMS functionallity)

True

[b]2/ - Every project has it’s own BACKEND / FRONTEND / COMMON but all

projects makes use of the same CORE[/b]

True

In fact, I am thinking about a multi-sites feature but maybe later.

[b]3/ - FRONTEND and BACKEND has it’s own main config file so different

modules can be used on different ends?[/b]

True

[b]

4/ - in COMMON are files used in both FRONTEND and BACKEND[/b]

True

[b]5/- COMMON/front_layouts holds the layout for the frontend, you can call

this the theme for the frontend.

  • COMMON/front_blocks holds Yii Widgets that are called blocks in GXC?[/b]

True

front_layouts: The layouts for frontend.

front_blocks: The blocks for frontend. It has files :

+ input: For inputting in backend


+ output: For render information in frontend


+ ClassBlock: Handle Business Stuff.

content_type: Define different content types for site.

storages : Different file storages (Save file to local, to Amazon,…)

==================================================

Happy coding! ^^


(Phpwebdeveloper900) #2

Hi.

I am agree to join this.

Thanks


(Nganhtuan63) #3

@ Pravin Gajera:

Hi, Thank you very much for your interesting in our cms. We are doing our best to make everything ready, maybe 2-3 days more! Will let you know

Happy coding


(Nminhtri0806) #4

@Pravin Gajera

Welcome you to join us :)


(Jacob Moen) #5

Looks promising! :)

What is the license?

MIT ?

BSD ?

Consider added some license headers.

If you want a good template, here’s one:





/*##################################################################

# This file is part of

#   ___   ___  _  _       ___  _  _  ____ 

#  / __) / __)( \/ )___  / __)( \/ )/ ___)

# ( (_ \( (__  )  ((___)( (__ / \/ \\___ \

#  \___/ \___)(_/\_)     \___)\_)(_/(____/

#

# Copyright 2012 someone

# License: MIT

# Website: somewebsite

##################################################################/*


(Jacob Moen) #6

Made with http://patorjk.com/software/taag/


(Phpwebdeveloper900) #7

@mr80 and Tri Nguyen

Thanks for welcome me with you.

I will so happy work with you.

THanks


(Gustavo) #8

Great work guys !

I’m glad you used the translate module I created

I’ll take a look at it when I have some time

Cheers,

Gustavo


(Nminhtri0806) #9

@jacmoe: Thanks for your suggestion and the template. We will consider to add BSD license.

@Pravin: It’s our pleasure :)

@Gustavo: The translate module is very nice, glad to use it. If you have time, please take a look at our CMS and give us some feedbacks. Thanks.


(Nganhtuan63) #10

The sample project is almost done! I will post here when we finish setting up the demo for both frontend and backend!

Happy coding! ^^


(Yiqing 95) #11

well done ! and thanks for sharing it to our community :lol:


(Yiqing 95) #12

:P @jacmoe: funny one ! pritty cool


(Nganhtuan63) #13

So, I have committed all the code for a sample project to run. You guys can check out and follow this wiki to start :

P/s: I am bringing the demo online. I’ve bought the domain gxccms.com and going to setup the trac ( and a forum if possible) on it to make things easier.

Nice day guys!


(Ivica Nedeljkovic) #14

Looking forward to see demo app :)


(Jacob Moen) #15

I think you can safely remove yii from the repository. :)

Most of us have it installed already.


(Nganhtuan63) #16

Hi guys,

Sorry for a little bit late. Get in trouble with a new shared host from Hostgator. So far, I’ve finished making a demo! You can check it at : http://www.gxccms.com!

I set up the cron job to restore database after 30 min. Currently, the frontend demo doesn’t show much features of the CMS. You can find more fun stuff at the Backend. When having time, I will make another demo of frontend with more features. Hm,…after this, I will start to write docs for cms structure, how to make a new layout, blocks for a project and continue to work on missing features…

Love to have your feedback and suggestions.

Have a nice day and happy coding guys! ^^


(Nganhtuan63) #17

@jacmoe :

We will consider that bro. In fact, we just want to make it easier for others to quickly setup the cms.

Nice day bro! :)


(Jacob Moen) #18

I just tried the demo - it’s just great!

I really like where this is going.

Since the demo server is so slow, I’ll install it and play around with it.

I’ll probably fork it too. :)


(Hamidimahdinacim) #19

Looks nice :).


(Nganhtuan63) #20

Hi, it’s really great for us to see positive feedbacks from you. Do you guys want me to setup a forum and trac for it for easier talking and working ?