Install K2 component
JA Jason template supports K2 by default with customized style. The customized style is included in the template, what you have to is installing the K2 component to your Joomla system and configure. Here is the steps to install K2 component to your Joomla system.
Step 1: download K2
Please download latest K2 component version at: http://getk2.org/
Step 2: install K2 component in your Joomla system
From back-end of your site, go to: "Extensions → Extension Manager", browse the K2 installation package then install.
Global configuration
To configure the global settings of K2 component, please go to: Components → K2 then hit the "Parameters" on the top right corner.
In JA Jason demo, we just change settings of images, other settings are default so we don't provide screen shots for those settings.
Category configuration
Category tree of K2 in JA Jason template demo.
The category configuration is based on JA Jason demo.
Other categories have same settings with "Graphic designs" category.
K2 Module configuration
1. K2 Comment module
K2 Comments is a dual-function module used to display:
- latest comments (from one or more categories)
- a list of the top commenter.
Module position: sidebar-2 Module Suffix: NOT USED
2. K2 Content module
K2 Content is the primary "content" retrieval module for K2. You can set various category and item element filters to display a number of items coming from the K2 component. Using multiple copies of this module (with varying settings) you can achieve complex news publishing/magazine site layouts.
Module position: sidebar-2 Module Suffix: NOT USED
3. K2 Tools module
There are 4 K2 Tools modules used in JA Jason demo site.
3.1 K2 Tools - Categories
Module position: sidebar-2 Module Suffix: NOT USED
3.2 K2 Tools - Search
Module position: sidebar-2 Module Suffix: NOT USED
3.3 K2 Tools - Archive
Module position: sidebar-2 Module Suffix: NOT USED
3.4 K2 Tools - Tags
Module position: sidebar-2 Module Suffix: NOT USED
4. K2 Users module
Module position: sidebar-2 Module Suffix: NOT USED
4. K2 User module
Module position: sidebar-2 Module Suffix: NOT USED
Supported K2 pages
In JA Jason template, it supports 5 K2 menu types:
- K2 → Categories: using K2 default template
- K2 → Categories: using
jasonlist
template - added theme for K2 in the template - K2 → Tags
- K2 → User page (blog)
- K2 → Latest items from (one or more) category and user
1. K2 → Categories: using K2 default template
For this menu type, we have 2 cases:
- Displaying list of all sub-categories
- Displaying list of items from a category
1.1 Displaying list of all sub-categories
The menu type displays list of sub-categories.
Page structure
Please follow this link → to view live demo
To have same front page like demo, please check out the back-end setting:
1.2 Displaying list of items from a category
The menu type displays items from one or many categories with leading items, primary items and secondary items.
Page structure
Please follow this link → to view live demo
To have same front page like demo, please check out the back-end setting:
2. K2 → Categories: using "jasonlist" template
This is a bonus template for JA Jason. It displays list of K2 items with leading items, primary items and secondary items.
Page structure
Please follow this link → to view live demo
To assign jasonlist
template for the menu item, open the setting panel of the menu item, in the "Options" tab, assign jasonlist
for the field "Select a template".
To have same front page like demo, please check out the back-end setting:
3. K2 → Tags
The menu type displays items of selected tag in the menu item setting.
Page structure
Please follow this link → to view live demo
To have same front page like demo, please check out the back-end setting:
4. K2 → User Page (blog page)
The menu type items of one author (user) as blog page.
Page structure
Please follow this link → to view live demo
To have same front page like demo, please check out the back-end setting:
5. K2 → Latest items from (one or more) category and user
The menu type display latest items from (one or more) category and user
Page structure
Please follow this link → to view live demo
To have same front page like demo, please check out the back-end setting:
Customize K2 style
We put all customized style of K2 into templates/ja_jason/less/k2.less
file so that it's easy for you to find the customized style and change the customized style or add new customized styles.
T3 Framework allows you to add customized style for specific k2 pages. There are 2 steps required to implement that:
Step 1: add customized style
For the styles, you have to add to the file: templates/ja_jason/less/extras/com_k2.less
.
Step 2: select pages that apply the style
Open template style manager of JA Jason, in the "Add-ons" tab, you will see the "Template Extended styles", select the K2 pages that you want to apply the your customized style. If you leave it blank, it's not applied for any page.
Override K2 default layouts
K2 style is customized and its default layouts are overridden.
Override K2 component default layouts
The overridden layouts are located in: templates/ja_jason/html/com_k2/default
. You can customize K2 layouts using the overridden layouts.
Customize "jasonlist" template
This is an extra K2 template for K2 in JA Jason template. It's applied for K2 → Categories menu type. You can find the theme in the path: templates/ja_jason/html/com_k2/jasonlist
. Using existing files in the folder to customize the template if you want.
Override K2 module layouts
K2 modules used in JA Jason template style and layout are overridden, you can find the override files of the modules in the folder: templates/ja_nuevo/html/
.
You can customize style and layouts of the modules using the overridden layout files of the modules.