2017 © Pedro Peláez
 

project template-community

The community template for community module having default theme set to community.

image

cmsgears/template-community

The community template for community module having default theme set to community.

  • Tuesday, May 8, 2018
  • by cmsgears
  • Repository
  • 3 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Project - CMSGears (https://www.cmsgears.org), (*1)

Template - Community, (*2)

License - GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html), (*3)

Description - The community template requires below listed modules, plugins, themes and widgets freely provided by CMSGears., (*4)

Modules

  1. Core Module to manage site users, galleries, newsletters, roles and permissions.
  2. Forms Module to accept forms in both ajax and regular way.
  3. CMS Module to manage page, post, blocks, menus, sidebars and widgets.
  4. Community Module to manage groups, group members, group messages, friends.

Plugins

  1. File Manager Plugin provide default component to accept uploaded files and File Uploader Widget to uploads files.
  2. Social Meta Plugin provides options to customise pages and posts on facebook and twitter wall.

Widgets

  1. CLEditor Widget can be used to edit content using CLEditor WYSIWYG editor.
  2. Block Widget can be used to form pages using Blocks.
  3. Nav Widget can be used to form navigation menus.
  4. Login Widget can be used to login or register on site using Ajax.
  5. Gallery Widget can be used to show Image Galleries.
  6. Newsletter Widget can be used to allow site users to register for news and updates from site.
  7. Form Widget can be used to display forms stored in database using yii way.
  8. Ajax Form Widget can be used to display forms stored in database. These can be submitted using Ajax.
  9. Blog Widget can be used to show blog posts.

Themes

  1. Admin Theme provide layouts to manage Core, Forms and CMS modules. It also provide options to configure modules and plugins.
  2. 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., (*5)

It also provide DB configuration having required test data. The uploads directory is uploaded by default files required for demonstration purpose., (*6)

Template Demo

  1. Frontend - https://demo.cmsgears.com/templates/community (demouser@cmsgears.com, test#123)
  2. 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., (*7)

We can install release and pre-release i.e. alpha, beta versions using composer as mentioned below., (*8)

// 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, (*9)

// 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., (*10)

Server Details

  1. 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

  1. 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.
  2. To trigger real-time mails in production environment, remove the config param 'useFileTransport' from the environments/prod/common/config/config-env.php.
  3. 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.
  4. 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.
  5. 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.
  6. Download the Admin, Mutisite and Blog Themes and place them under
  7. Now we can run the template using our preferred browser. Example links are as mentioned below.
  8. Login to admin and update file upload url in case project name is different.
  9. By default all the files uploaded by users will be stored in uploads directory.
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., (*11)

Default Pages

The Blog Theme installed for Community Template provide views for default system pages as listed below., (*12)

Public Pages

  1. Landing - Site index page.
  2. Login - Login page allows users to login.
  3. Register - Register page allows users to sign up.
  4. Confirm Account - Users can confirm account by following the link sent to their email while submitting Register form.
  5. Forgot Password - It can be used to generate password reset link.
  6. Reset Password - Users can reset password by following the link sent to their email while submitting Forgot Password form.
  7. Activate Account - User accounts added by site admin can be activated using this page.
  8. Blog - The blog page shows most recent posts published on site.

Private Pages

  1. User Home - Page displayed on login.
  2. User Profile - User profile page allows users to configure their profile details.
  3. User Settings - Settings page allows users to configure settings icluding account, notifications, reminders.

CMS

  1. CMS Page - The published pages can be accessed by site url followed by page slug.
  2. CMS Post - The published posts can be accessed by site url followed by post/(post slug).

The Versions

08/05 2018

dev-1.0.0-alpha

dev-1.0.0-alpha https://www.cmsgears.org

The community template for community module having default theme set to community.

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

template yii2 community cmsgears

17/02 2018

dev-master

9999999-dev https://www.cmsgears.org

The community template for community module having default theme set to community.

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

template yii2 community cmsgears

17/02 2018

1.0.0-alpha6

1.0.0.0-alpha6 https://www.cmsgears.org

The community template for community module having default theme set to community.

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

template yii2 community cmsgears

21/01 2018

1.0.0-alpha5

1.0.0.0-alpha5 https://www.cmsgears.org

The community template for community module having default theme set to community.

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

template yii2 community cmsgears