Download the PHP package cmsgears/template-blog without Composer
On this page you can find all versions of the php package cmsgears/template-blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package template-blog
CMSGears Blog Template
CMSGears Blog Template is a skeleton CMSGears application best for developing CMSGears based web applications utilizing the core modules including Core, Forms, CMS, Newsletter, Notify, and SNS Connect.
The template includes four tiers: REST, frontend, backend, and console, each of which is a separate Yii application.
The template is designed to work in a team development environment. It supports deploying the application in different environments.
The Blog Template is tailored to develop small and medium web applications and support mobile applications without needing complex modules including Module CMS, Module Community, etc. In case you need starter template without CMS, kindly look at Basic Template.
DIRECTORY STRUCTURE
Modules, Plugins, and Widgets
- It's pre-installed with the Core, Forms, CMS, Newsletter, Notify, SNS Connect, and SMS modules.
- It's pre-installed with the Assets, Breeze Templates, File Manager, Social Meta, and Icon Picker plugins.
- The widgets that ships by-default with the blog template includes CLEditor, TinyMCE, Comment, Block, Nav, Club, Elements, Login, Gallery, Newsletter, Form, AJAX Form, Tag, Category, Social, Pop-up, and Grid.
- It's also pre-installed with the FoxSlider Plugin for CMSGears.
- Apart from the modules, plugins, and widgets specified in points 1 to 3, the template is also configured for several 3-rd party assets including conditionizr, moment, chart.js, etc.
Themes
- The Admin Theme provide layouts to manage and configure the modules and plugins.
- The template is pre-configured to use the Blog Theme for front end.
Template Details
The Blog Template is a group of directories and configuration files used to manage the backend, frontend, console, and REST applications.
It also provide the migration scripts with test data.
Template Demo
- Frontend - https://demo.cmsgears.com/templates/blog ([email protected], test#123)
- Admin - https://demo.cmsgears.com/templates/blog/admin ([email protected], test#123)
Real time emails are disabled on demo sites and the database reset is done every hour.
Template Installation
The Blog Template can be installed via composer using the below mentioned command. To install composer, please refer to the official site https://getcomposer.org.
We can install release and pre-release i.e. alpha, beta versions using composer as mentioned below.
We can also use below mentioned commands to access the pre release code.
In case the web server is Apache, either of the above mentioned commands can be run directly at Apache web root directory. More details can be found at http://www.cmsgears.org.
We can also directly install the template having latest code by cloning Blog Template using the selected branch.
One Click Setup
We are working on making a one click setup which can avoid most of the steps as listed below to configure the template.
Template Configuration
- Create the database, database user and update the environments configuration - environments/dev/common/config/main-env.php, environments/alpha/common/config/main-env.php, environments/prod/common/config/main-env.php. The default database and database user are basicdemo.
- To trigger real-time mails in dev or alpha environments, remove the config param 'useFileTransport' from - environments/dev/common/config/main-env.php, environments/alpha/common/config/main-env.php.
- After configuring the database, run the php script init.php to initialize the application for the predefined environments. The script will ask to choose environment among prod, alpha or dev. It will copy the appropriate environment files to the relevant directories.
- Install the DB using the migrate-up commands available in the console/migrations directory. The command must be run from the root directory of the project. Also make sure that the migration command files have executable permissions.
- The migration scripts available at console/migrations/data directory ships with the test data required for demonstration purpose. It can be tweaked or updated based on the requirements. Make sure to execute the migrate-down command before making changes. Once done, again execute the migrate-up command to bring up the changes.
- Update htaccess located at the root directory based on your web server needs. More details about live application settings can be found at http://www.cmsgears.org.
- Download the Admin and Blog Themes and copy the themes content at /themes/admin 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 or upload directory is different.
- By default all the files uploaded by users will be stored in uploads directory. The uploads directory can be changes based on project needs.
- Update the migration scripts if required and run the commands migrate-down and migrate-up to refresh the database. Make sure that it's done only on dev and alpha environments. Do not ever run migrate-down on live environment, else it will erase all the live data.
The default application URLs will be as shown below. Replace the blogdemo with the project name, in case it's changed.
Template - Updates
The template dependencies can be updated using the composer.json file located at the root of template.
Template Pages
The template ships with pre-configured pages as listed below.
- 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.
- Forgot Password OTP - It can be used to generate OTP to reset the password. It will work if SMS manager is available.
- Reset Password - Users can reset password by following the link sent to their email while submitting Forgot Password form.
- Reset Password OTP - It can be used to reset the password by providing a valid OTP. It will work if SMS manager is available.
- Activate Account - User accounts added by site admin can be activated using this page.
- Privacy - The page to show Privacy Policy.
- Terms - The page to show Terms and Conditions.
- FAQs - The page to show the FAQs.
Notes: The pages Forgot Password OTP and Reset Password OTP will work only if the SMS manager is available with SMS balance.
Template Forms
The template also provide forms using dynamic forms and comment system.
- Contact Form (Dynamic Form)
- Feedback Form (Custom Comment)
- Testimonial Form (Custom Comment)
Private Pages
The blog template provides a blank dashboard, user blog posts, user profile, user settings, and calendar.
- Dashboard - Page displayed on login.
- Profile - Basic - The Basic Page allows user to update the basic details including email, username, name, gender, and date of birth.
- Profile - Account - The Account Page allows user to update the password.
- Profile - Address - The Address Page allows user to manage multiple address.
- Settings - Settings page allows users to configure settings including privacy, notifications, and reminders.
- Notifications - Shows user notifications.
- Reminders - Shows user reminders.
- Activities - Shows user activities.
- Events - Shows calendar events associated with the user using list view.
- Events Calendar - Shows calendar events associated with the user using calendar view.
- Events Cards - Shows calendar events associated with the user using card view.
- Event - Create - The Create Event Page allows user to add a Calendar Event.
- Event - Update - The Create Event Page allows user to update a Calendar Event.
- Blog Posts - Create/Update Blog elements, blocks, and posts.
All versions of template-blog with dependencies
yiisoft/yii2 Version 2.0.40
yiisoft/yii2-swiftmailer Version 2.1.*
yiisoft/yii2-twig Version 2.4.*
yiisoft/yii2-httpclient Version 2.0.*
kartik-v/yii2-mpdf Version 1.0.*
phpoffice/phpspreadsheet Version 1.16.*
cmsgears/module-core Version dev-1.0.0-alpha
cmsgears/module-forms Version dev-1.0.0-alpha
cmsgears/module-cms Version dev-1.0.0-alpha
cmsgears/module-newsletter Version dev-1.0.0-alpha
cmsgears/module-notify Version dev-1.0.0-alpha
cmsgears/module-sns-connect Version dev-1.0.0-alpha
cmsgears/module-sms Version dev-1.0.0-alpha
cmsgears/plugin-assets Version dev-1.0.0-alpha
cmsgears/plugin-file-manager Version dev-1.0.0-alpha
cmsgears/plugin-social-meta Version dev-1.0.0-alpha
cmsgears/plugin-icon-picker Version dev-1.0.0-alpha
cmsgears/plugin-google-api Version dev-1.0.0-alpha
cmsgears/plugin-google-maps Version dev-1.0.0-alpha
cmsgears/plugin-google-analytics Version dev-1.0.0-alpha
cmsgears/plugin-breeze-templates Version dev-1.0.0-alpha
cmsgears/plugin-seo Version dev-1.0.0-alpha
cmsgears/widget-cleditor Version dev-1.0.0-alpha
cmsgears/widget-tinymce Version dev-1.0.0-alpha
cmsgears/widget-comment Version dev-1.0.0-alpha
cmsgears/widget-block Version dev-1.0.0-alpha
cmsgears/widget-nav Version dev-1.0.0-alpha
cmsgears/widget-elements Version dev-1.0.0-alpha
cmsgears/widget-login Version dev-1.0.0-alpha
cmsgears/widget-gallery Version dev-1.0.0-alpha
cmsgears/widget-newsletter Version dev-1.0.0-alpha
cmsgears/widget-form Version dev-1.0.0-alpha
cmsgears/widget-form-ajax Version dev-1.0.0-alpha
cmsgears/widget-mapper Version dev-1.0.0-alpha
cmsgears/widget-tag Version dev-1.0.0-alpha
cmsgears/widget-category Version dev-1.0.0-alpha
cmsgears/widget-club Version dev-1.0.0-alpha
cmsgears/widget-social Version dev-1.0.0-alpha
cmsgears/widget-popup Version dev-1.0.0-alpha
cmsgears/widget-grid Version dev-1.0.0-alpha
foxslider/cmg-plugin Version dev-1.0.0-alpha
cmgtools/breeze Version dev-1.0.0-alpha
cmgtools/breeze-icons Version dev-1.0.0-alpha
cmgtools/velocity Version dev-1.0.0-alpha
cmgtools/velocity-apps Version dev-1.0.0-alpha
cmgtools/velocity-breeze Version dev-1.0.0-alpha
bower-asset/conditionizr Version 4.5.*
bower-asset/jquery-ui Version 1.12.*
bower-asset/handlebars Version 4.7.*
bower-asset/imagesloaded Version 4.1.*
bower-asset/malihu-custom-scrollbar-plugin Version 3.1.*
bower-asset/progressbar.js Version 1.1.*
bower-asset/animate.css Version 3.7.*
bower-asset/fontawesome Version 5.5.*
bower-asset/chart.js Version 2.9.*
bower-asset/aos Version 2.3.*
bower-asset/lightbox2 Version 2.11.*
bower-asset/moment Version 2.24.*
bower-asset/datetimepicker Version 2.5.*
bower-asset/intl-tel-input Version 16.0.*
cmsgears/plugin-piwik-analytics Version dev-1.0.0-alpha