This is something I’ve been working on and still am constantly to make it better, This is a CMS system that allows you to control an entire multi-language website simply from within it’s built in Admin control panel.
Some of the features
Blogs – Full System (Includes categories, tags, posts, replies, multi-language, permission based and more)
Custom Pages – Full System (Includes categories, tags, posts, replies, multi-language, permission based and more)
Articles – Full System (Includes categories, tags, posts, replies, multi-language, permission based and more)
Tutorials – Full System (Includes categories, tags, posts, replies, multi-language, permission based and more)
Downloads System – Full System (Includes categories, tags, posts, replies, multi-language, permission based and more)
User Manager – Full user manager
Permission Manager – Hierarchy based permissions
Forum – Includes topics, replies, editor, topic subscription, topic & replies management and more.
Newsletter Manager – Allows you to send an email to all users subscribed
Contact Manager – Allows users to contact you through the website and it will email those to a certain email and add them to the admin control panel where you will be able to view and reply directly from the admin control panel.
Full featured Control Panel with ability to restrict certain users to certain places in the ACP
Facebook integration – Ability to allow users to login and register from their facebook account
Social ready – You can share pretty much everything with Twitter and facebook share buttons
Signup & Login – Ability to signup for the site and login, includes forget password option that verifies the user through his email same thing applies for the signup process.
Settings Manager – You can change the sites settings right from the built in admin control panel, You can add settings at any time from the ACP and use them in the code as well.
User public profiles – Displays what content is user submitted, his info and role in the application.
SEO Ready – All links are SEO ready that includes the user profiles, articles, blogs, custom pages, downloads forum topics etc…
Feeds – Includes feeds to all content based on category/language
Ability to print or download PDF/Doc for all content available
And more features
It has no installer and you’ll need to configure it manually by importing the base.sql file and changing the db connection settings from the protected/config files.
This is published for learning purposes, And is released under the new GPL license.
This has one restriction, The CMS can be used for other websites, But you can’t user the theme that comes with this CMS as it’s a personal theme i bought from themeforest.net.
I have checked the code out from google repository into a local folder yiicms which is accessible on my http://localhost/yiicms. I followed the readme but I get this error when I try to access the site through my browser:
Fatal error: Call to a member function createCommand() on a non-object in /htdocs/yiicms/protected/components/CustomUrlManager.php on line 19
I have tried to set
– no luck.
Any help appreciated. Thanks.
Okay, I figured it was a database config issue, and along, I found out, that the DEV part doesn’t work. So I am trying to run the PROD, which defaults to Hebrew, and when I try to change to English by clicking the top right language switcher the site jumps to http://en.yiiframework.co.il/index despite the fact that I have changed CURRENT_ACTIVE_DOMAIN in the index.php for both DEV and PROD.
I am not going to inspect any more code now, as this steals too much time and I think basic stuff like this should have been fixed before the code was released in public. Looking forward to an update from the issuer!
I released this so others can take a look at the code and do as they like, Not to sit down and support every issue every person runs into. By just looking at your issue i can say that this is caused by the redirects in .htaccess file, Which i did not remove when i uploaded it to the repo, Since the first issue was due to the fact you did not configure the required parameters in the config file as it stated in the readme, I can’t do anything about it.
I did not force you to use it, I gave you the option to. If you plan on complaining about it then i’d rather you not to use it at all. I gave this out for free with some modification required obviously for it to work.
Makes sense yes, But those are also part of the translations, So when the hebrew site is viewed the text are translated to hebrew and since the application runs in hebrew by default it shows the texts in hebrew as well. I will do this at some point. At the mean time just use http://en.yiiframework.co.il and it will be english by default.
Thank you for taking your time to respond, and of course for releasing your code to the community. I did follow the readme file - in every detail - and did modify the config files. The problem is that the DEV didn’t work for me. However, as stated in my previous post, running the PROD was also unsuccessful. I do not expect you to fulfil a support role for every single question that might arise from various users, and I am not here to complain. All I hoped for was to see the system’s backend and eventually inspect some code to see how different issues were addressed. I will try to follow your advices on the virtual host and the .htaccess file; I will post my results.
I am aware that you have done a great job, and I have only respect for your work. Peace.
Do let me know if that worked for you, That system was never intended to be released like this so i did customize it to my needs and i can’t remember everything i did so i will probably take some time to figure all the issues out but when i figure an issue i always add it to the readme or somewhere as a note for others to see.
Hi Vince and thanks for sharing your code.I have managed to get the site to work locally on my virtual host,after solving some problems,a few more remain.
First,importing the database,there were some empty string default values for integer typed columns,that raised MySQL errors,I replaced these with 0.
Then the facebookLibclass,it game me an error:Fatal error: Class ‘facebookLib’ not found in J:\vhosts\yii.gr\yii\protected\modules\site\controllers\IndexController.php on line 40 The line that caused the problem was :
.Correct me if I am wrong,but in order to import a class with import function,the first class letter should be capital both in filename and declaration inside the file.I got this working after replacing
Then I got "CDummyCache.directoryLevel" is not defined.No idea how to fix it,so I just commented out the cache in config.
I created a custom page in admin panel,(approved) but it does’nt show up anywhere,I tried the url but no luck.
Any 400 page not found error is accompanied with Notice: Undefined index: source in J:\vhosts\yii.gr\yii\protected\modules\site\views\error\error.php on line 32.
Last I had to set in main config file ‘subdomain_languages’ => false,to avoid the generation of links to non-existing languge subdomains,
Vince I hope you help us with these problems,I am looking forward to study the code in your site,there’s so much for me to learn from it. And for everybody,I think.Thanks in advance.
Totally agree.This high quality code should be promoted to an official archetypal skeleton for a full featured CMS Yii application.
I am ‘stealing’ quite a few bits and integrating them into my own skeleton template.
This application can be customized-(if stripped of the parts that are too specialized for it’s purpose)-and serve as a full featured Yii application skeleton.Vince if you did that,I am sure you will be worshipped as a Yii god!