cmsgears / template-community
The community template for community module having default theme set to community.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
- bower-asset/chart.js: 2.7.*
- bower-asset/cmt-iconlib: dev-1.0.0-alpha
- bower-asset/cmt-js: dev-1.0.0-alpha
- bower-asset/cmt-ui: dev-1.0.0-alpha
- bower-asset/fontawesome: 5.0.*
- bower-asset/handlebars: 4.0.*
- bower-asset/imagesloaded: 4.1.*
- bower-asset/jquery-ui: 1.12.*
- bower-asset/malihu-custom-scrollbar-plugin: 3.1.*
- bower-asset/moment: 2.22.*
- cmsgears/module-cms: dev-1.0.0-alpha
- cmsgears/module-community: dev-1.0.0-alpha
- cmsgears/module-core: dev-1.0.0-alpha
- cmsgears/module-forms: dev-1.0.0-alpha
- cmsgears/module-newsletter: dev-1.0.0-alpha
- cmsgears/module-notify: dev-1.0.0-alpha
- cmsgears/module-sns-connect: dev-1.0.0-alpha
- cmsgears/plugin-file-manager: dev-1.0.0-alpha
- cmsgears/plugin-icon-picker: dev-1.0.0-alpha
- cmsgears/plugin-social-meta: dev-1.0.0-alpha
- cmsgears/widget-block: dev-1.0.0-alpha
- cmsgears/widget-block-dynamic: dev-1.0.0-alpha
- cmsgears/widget-blog: dev-1.0.0-alpha
- cmsgears/widget-category: dev-1.0.0-alpha
- cmsgears/widget-cleditor: dev-1.0.0-alpha
- cmsgears/widget-comment: dev-1.0.0-alpha
- cmsgears/widget-form: dev-1.0.0-alpha
- cmsgears/widget-form-ajax: dev-1.0.0-alpha
- cmsgears/widget-gallery: dev-1.0.0-alpha
- cmsgears/widget-grid: dev-1.0.0-alpha
- cmsgears/widget-login: dev-1.0.0-alpha
- cmsgears/widget-nav: dev-1.0.0-alpha
- cmsgears/widget-nav-dynamic: dev-1.0.0-alpha
- cmsgears/widget-newsletter: dev-1.0.0-alpha
- cmsgears/widget-popup: dev-1.0.0-alpha
- cmsgears/widget-social-counts: dev-1.0.0-alpha
- cmsgears/widget-social-share: dev-1.0.0-alpha
- cmsgears/widget-tag: dev-1.0.0-alpha
- cmsgears/widget-text: dev-1.0.0-alpha
- foxslider/cmg-plugin: dev-1.0.0-alpha
- yiisoft/yii2: 2.0.14
- yiisoft/yii2-swiftmailer: 2.1.*
- yiisoft/yii2-twig: ~2.2.0
Requires (Dev)
- codeception/base: ^2.2.3
- codeception/verify: ~0.3.1
- yiisoft/yii2-debug: 2.0.*
- yiisoft/yii2-faker: 2.0.*
- yiisoft/yii2-gii: 2.0.*
This package is auto-updated.
Last update: 2024-12-04 09:19:44 UTC
README
Project - CMSGears (https://www.cmsgears.org)
Template - Community
License - GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
Description - The community template requires below listed modules, plugins, themes and widgets freely provided by CMSGears.
Modules
- Core Module to manage site users, galleries, newsletters, roles and permissions.
- Forms Module to accept forms in both ajax and regular way.
- CMS Module to manage page, post, blocks, menus, sidebars and widgets.
- Community Module to manage groups, group members, group messages, friends.
Plugins
- File Manager Plugin provide default component to accept uploaded files and File Uploader Widget to uploads files.
- Social Meta Plugin provides options to customise pages and posts on facebook and twitter wall.
Widgets
- CLEditor Widget can be used to edit content using CLEditor WYSIWYG editor.
- Block Widget can be used to form pages using Blocks.
- Nav Widget can be used to form navigation menus.
- Login Widget can be used to login or register on site using Ajax.
- Gallery Widget can be used to show Image Galleries.
- Newsletter Widget can be used to allow site users to register for news and updates from site.
- Form Widget can be used to display forms stored in database using yii way.
- Ajax Form Widget can be used to display forms stored in database. These can be submitted using Ajax.
- Blog Widget can be used to show blog posts.
Themes
- Admin Theme provide layouts to manage Core, Forms and CMS modules. It also provide options to configure modules and plugins.
- Community Theme for frontend. It provide layouts and views for Core, Forms and CMS modules.
Template Details
The Community Template is a group of directories and configuration files used to manage the backend and frontend applications.
It also provide DB configuration having required test data. The uploads directory is uploaded by default files required for demonstration purpose.
Template Demo
- Frontend - https://demo.cmsgears.com/templates/community (demouser@cmsgears.com, test#123)
- Admin - https://demo.cmsgears.com/templates/community/admin (demomaster@cmsgears.com, test#123)
Template Installation
The Community Template can be installed via composer using the below mentioned command. To install composer, please refer to their official site https://getcomposer.org.
We can install release and pre-release i.e. alpha, beta versions using composer as mentioned below.
// Release Versions
php composer.phar create-project --prefer-dist --stability=stable cmsgears/template-community cmgdemocommunity
or
composer create-project --prefer-dist --stability=stable cmsgears/template-community cmgdemocommunity
We can also use below mentioned commands to access the pre release code
// Pre-release Versions
php composer.phar create-project --prefer-dist --stability=<alpha or beta or RC> cmsgears/template-community cmgdemocommunity
or
composer create-project --prefer-dist --stability=<alpha or beta or RC> cmsgears/template-community cmgdemocommunity
We can also install the template for latest code by cloning Community Template for the pre-release branch i.e. alpha, beta. In this case, we need to install composer.json file to initialise vendor directory.
Server Details
- Apache - If we are using Apache web server, we need to run either of the above mentioned command under Apache web root directory. More details can be found at http://www.cmsgears.org. The modules rewrite and headers must be enabled for apache.
Template Configuration - New
- Create the database, database user and update both the environments config - environments/dev/common/config/config-env.php, environments/prod/common/config/config-env.php. The default database and database user are cmgdemobasic.
- To trigger real-time mails in production environment, remove the config param 'useFileTransport' from the environments/prod/common/config/config-env.php.
- Install the DB using all-in-one-d.sql provided within the console/migrations directory. We might need to change database name if it's different than cmgdemobasic.
- Run the php script init.php to initialize the application for the predefined environments. The script will ask to choose environemnt among prod or dev.
- Update htaccess located under template root based on your web server needs. More details about live application settings can be found at http://www.cmsgears.org.
- Download the Admin, Mutisite and Blog Themes and place them under /themes/admin, /themes/community and /themes/blog directories respectively.
- Now we can run the template using our preferred browser. Example links are as mentioned below.
- Login to admin and update file upload url in case project name is different.
- By default all the files uploaded by users will be stored in uploads directory.
- Landing - Site index page.
- Login - Login page allows users to login.
- Register - Register page allows users to sign up.
- Confirm Account - Users can confirm account by following the link sent to their email while submitting Register form.
- Forgot Password - It can be used to generate password reset link.
- Reset Password - Users can reset password by following the link sent to their email while submitting Forgot Password form.
- Activate Account - User accounts added by site admin can be activated using this page.
- Blog - The blog page shows most recent posts published on site.
- User Home - Page displayed on login.
- User Profile - User profile page allows users to configure their profile details.
- User Settings - Settings page allows users to configure settings icluding account, notifications, reminders.
- CMS Page - The published pages can be accessed by site url followed by page slug.
- CMS Post - The published posts can be accessed by site url followed by post/(post slug).
Frontend - http://localhost/cmgdemocommunity/frontend/web
Admin - http://localhost/cmgdemocommunity/frontend/web
Template Configuration - Update
We can update the dependencies using composer.json file located at the root of template. Once done the standard composer command can be used to update dependencies.
Default Pages
The Blog Theme installed for Community Template provide views for default system pages as listed below.