|
|
Homepage - Official home page.
This is an updated build Pagekit CMS (for developers).
Build includes:
- Pagekit CMS 1.0.18
- Blog extension
- Theme One
- New Admin Template
Download the latest build or install from source before installation.
The installation procedure is the same as in the official documentation.
Marketplace functionality like install, update and remove works the same like in original version. Note! Before enabling extensions, update them for compatibility. Debug mode and debug panel work the same as in the main version.
- Required PHP Version - 7.3 or higher(7.4+).
- Updated Composer dependencies.
- Updated Node dependencies.
- Updated PHP core components for compatibility.
- Updated all core Javascript components, views, libs.
- Removed jQuery.
Several bugs that are present in the original assembly have been fixed, some styles have been changed for ease of use. The mobile version has remained the same with minor changes.
You can install Node dependencies, build the front-end components and run scripts via yarn or NPM.
Clone Repository
$ git clone git@github.com:uatrend/pagekit.git project-folder
$ cd project-folder
Install PHP dependencies
$ composer install
$ yarn install
$ npm install
Webpack watch:
$ yarn watch
$ npm run watch
Webpack build (minified):
$ yarn build
$ npm run build
Linting with eslint:
$ yarn lint
$ npm run lint
Compile LESS:
$ gulp compile
Compile and watch LESS:
$ gulp watch
CLDR locale data for internationalization:
$ gulp cldr
Theme is fully compatible with UIkit 3. Changed default admin theme - script, layout and colors. Added side and top menus with dropdowns. For individual markup of each page added class page in the body tag generated via php.
Example, class for dashboard page look like:
<body class=“dashboard”>Added the ability to select an editor in the settings: HTML Editor, Tinymce or Codemirror.
Moved all editor component dependencies to: app/system/modules/editor/app/assets.
Added split mode for Tinymce.
(added to core /app/system/app/lib/theme.js)
Ability to programmatically configure the buttons, dropdown lists, pagination and search form in the top menu for each component used (see code).
Example: dashboard - index.js
name: 'dashboard',
mixins: [Theme.Mixins.Helper],
...
theme: {
hiddenHtmlElements: '#dashboard > div:first-child > div:last-child',
elements() {
var vm = this;
return {
addwidget: {
scope: 'topmenu-left',
type: 'dropdown',
caption: 'Add Widget',
class: 'uk-button uk-button-text',
icon: { attrs: { 'uk-icon': 'triangle-down' }},
dropdown: { options: () => 'mode: click' },
items: () => vm.getTypes().map((type) => {
let props = {
on: {click: () => vm.add(type)},
caption: type.label,
class: 'uk-dropdown-close'
}
return {...type, ...props}
}),
}
}
}
}Adding side menu items through PHP - $view->$data()
'view.data' => function ($event, $data) use ($app) {
if (!$app->isAdmin()) {
return;
}
$data->add('Theme', [
'SidebarItems' => [
'additem' => [
'addpost' => [
'caption' => 'Add Post',
'attrs' => [
'href' => $app['url']->get('admin/blog/post/edit')
],
'priority' => 1
]
]
]
]);
}Updated extensions:
- Pagekit News, Pagekit Search, Pagekit Highlight. AS IS. Need testing. Thanks to cssailing! (Be aware change 'systemApp' to '@system/app')
Thanks to Yootheme and developers!
Feel free to ask any questions - I will answer as much as possible.

