can i use pyroCMS for multilanguage, and multiuser project? - codeigniter

I need 1 suggestion, This is best platform for my question so i post here.
I think i will use PyroCMS for my new project.
Project has following features:
Multilagnguage in front end
User management
super Admin, country admin, advertisement admin
In frontend users export_type and import_type.
Can i use PyroCMS for this project? I need to make fast develop this. or can i do with core?? what you suggest.
I am bigner in PyroCMS, but i am good in Codeigniter.
Thanks in Advance :)

Looking at your project features:
Multilingual in front end - PyroCMS has built in multilingual support.
User management - Yup, you can extend Users Module as per your need
And use Groups Module to create respective (super Admin, country admin, advertisement admin) authentication hierarchy.
In frontend users export_type and import_type - can you clarify it further ? if it's about user type (Groups Module as I mentioned in 3) - it's doable.
Can i use PyroCMS for this project?
Definitely. PyroCMS would be perfect base for your project and will help you build your project at speed. The more I look into PyroCMS the more I feel like it's Codeigniter made easier. Also, Pyro community is very supportive.
Check these links:
To understand PyroCMS basics, module structure and module development: http://bhu1st.blogspot.com/2010/09/hello-world-pyrocms-module.html
Pyro - Theming, Module & Widget Creation guide and sample code: http://echo.semicolondev.com/

Also the multilingual solution for pyro is that you make multiple subdomains for each language and make multiple sites. Which is problem if you want to share the user database. One domain multilanguage site is a little more dificult but also possible. You can read more about it in this post: https://www.pyrocms.com/forums/topics/view/16237
Despite this i also suggest Pyro for the project and for others also :)

In the pyro modules you can have roles which set the permissions, using this along with a users helper you can then have in your module
if(user_has_role('super_user')){
// do stuff
}
Sample module : https://github.com/pyrocms/sample
http://docs.pyrocms.com/2.1/manual/developers/addons/modules/basic-structure

Related

Add static javascript to every page of joomla

Im completely new to Joomla development. I need to develop Joomla plugin that adds static javascript to the footer of all the pages of a Joomla site. Also, the plugin would need to save 2 fields in database, and access these fields on per page basis. Also, Admin panel is needed.
Now, my questoion is, where do i start? Joomla plugin development is a big task, so if I can get some pointers as to where to start, it would be very supporting.
Im not asking for direct code, but just the right direction to start.
Thanx in advance....
Joomla has three types of extensions (what you refered to as plugin): components, modules and plugins, where each has a different purpose.
If you need to add javascript to all pages, the best place is your template. If you don't have access to template, just building an extension, then you have to create a content plugin.
If you need to create extension with admin panel which also works with database, you need to create a component. The best place to get started is tutorial Developing a MVC component for Joomla 2.5

Joomla newsletter module for my application

I am looking for a newsletter module for my Joomla based site. I checked at Joomla Extension Forum but did not find any suitable component.
You can give a try to
http://extensions.joomla.org/extensions/content-sharing/newsletter/10341
also if you are familiar with Mailchimp and want to integrate with joomla them
Joomlamailer will be best for you.
You can try ACYMailing component: http://www.acyba.com/en/acymailing.html . I have been using it for 2 years. Scheduling tasks and grouping users are really helpful features you will enjoy

Orchard cms - custom login module with users in another database

Im evaluating orchard cms for my employer and just wanted to ask a question about login and membership.
Our users and their roles are in another database which are exposed via an API and i would need to just get pointed in the right direction if it is possible to solve this in orchard.
The users must be able to login on the orchard site and it will display different content depending on their role. The admins and editors will use the built in user db.
What would be the correct way to solve this? Some kind of module or custom membership provider?
Also, is it possible to set visibility rules in orchard admin for content based on the roles from the other external DB?
Please do ask if you find something in my question confusing.
There were not that many modules in the orchard gallery but have been playing around with a few so i am now answering my question and hope it helps others looking to build their own custom login.
The one which helped me most was the windows authentication module which was really easy to rewrite to work against an external service.
edit: typo

CMS for existing CI 2 site

I have a site build with CI 2 and I wonder if there is a CI2 based CMS out there which I can use for content management. I've written a very basic CMS myself but I have no time to develop it further.
Thanks in advance.
we have some options here .
PyroCMS
Lightweight, themeable and dynamic. PyroCMS is perfect for CodeIgniter
developers to kickstart your projects.
FuelCMS
An easy, flexible, empowering Content Management System for rapid
development that transforms your CodeIgniter projects into client
manageable brilliance.

Codeigniter expressionEngine

I just started working with codeigniter and i found it easy to work with. I recently came across expressionEngine and seems like a great add-on for codeigniter. My questions is, after i install expressionEngine, will that change the way i work with codeigniter where code goes in controller and view in the view folder.
Apples and Oranges,
Codeigniter is a framework that allows you to create a Web Application like an admin system. The customer does not add any content or touch anything. You can add CMS functionality to your codeigniter Web Application however in this sense you are actually building your own CMS on top of your Web Application.
ExpressionEngine, built with codeigniter, is a CMS that allows clients to add content without actually giving them access to your HTML - That is not to say that you can't give them access but this would defeat the purpose of a CMS.
Because expressionEngine is built on top of codeigniter it is possible to access it's functionality (I've seen posts on this but haven't tried it yet myself).
I think you would use the two together if you had a Web Application with a Website around it. In this way the client would be able to add content to the website and even some of the Application information areas but you would use Codeigniter to build the Web Application's functionality.
I don't think it would be a waste of a week to get into expressionEngine. LevelUpTuts has some great video tutes on expressionEngine 2 and try Nettuts+ CodeIgniter from Scratch for, suprisingly, codeigniter.
(For those who are new to CMS) The general process of development is:
- Translate your website design to HTML/CMS/jQuery
- Translate your HTML to expresionEngine Templates
- Define your Channels which your clients will add content to
- Embed those Channels into your templates to display that content dynamically
- In administration, assign permissions to who can add content to which channels for your clients
It will start to make sense once you try it.
You can't layer ExpressionEngine on top of CodeIgniter since CodeIgniter is extracted from ExpressionEngine. It's EE all the way, or use CodeIgniter to build your own thing.
ExpressionEngine supports PHP code inside it's templates if that's what your asking.
EE(2.0) is a CMS built on the CI2.0 framework.
If you are familiar with CI you will be able to hack, modify and extend EE with ease, as well as develop your own plugins etc.
You can of course, have an EE installation and a CI installation on the same server, but the two do not interact directly - CI is a framework, EE is a CMS.
Not sure I would call EE an "add-on"...
EE is it's own standalone Content Management System. Generally EE and CI are not meant to be mixed. While EE is built on CI, it is not meant to be extended/changed etc... They (Ellislab) will tell you, If EE doesn't fulfill your requirements, then you need to use CI exclusively.
Plus, a 300$ license is pretty expensive for something that you view as an "add-on".
I would reccomend looking into PyroCMS, which is also a free (beer and speech) CMS built on CI that directly allows for "Module" development which is straight codeigniter development with a few added meta/installation files that would allow you to build the extra functionality you need within the Codeigniter structure.
There are four files for expression engine.
For Example i have module named "Products"
1)mcp.products for admin end or admin control panel just admin controller in pyrocms
2)mod.products front end code is placed here 3)tab.products tabs are here 4)upd.products installation code. There are views in "views" folder and model is in "model" folder in our case "products_model". Just copy your controllers methods and paste them in mcp.products.php on admin side. and copy your controllers methods and paste them in mod.products.php on front end side. in udp file place the table structure.and it will treat as you are in Pyrocms.

Resources