CW Joomla Extensions

English French German Italian Portuguese Russian Spanish

Multi-categories for Joomla articles

Compatibility - CW Multicategories for Joomla Articles

CW Multicategories for Joomla 2.5 and Joomla 3.0 articles

compat 25compat 30

 

See Demo site

Features - CW Multicategories for Joomla Articles:

CW Multicats has newly Two types of Interface!

Standard Interface

  • Button for modal window with category list - just like classical Category list view
  • Pagination in category list
  • Filtering categories
  • Autocomplete search input box for direct category add option
  • Drag n drop feature to sort assigned categories order

Chosen Interface

  • Known selectbox feature from Joomla 3.x
  • Available also in Joomla 2.5 version!

General features

  • ACL included - visible only categories according to user rights
  • AJAX & jQuery powered
  • No problems with SEF
  • Featured articles, Blog view, Article view - articles have all categories displayed, linking into the correct category view
  • Page navigation - in the article detail view routing correctly within the current category - even if article has multiple categories assigned
  • Breadcrumbs - showing correct path depending on in which category is the article viewed from (as it can be published in more categories)
  • Works with native Joomla article modules (adding supported 3rd party extensions f.e. News Show Pro GK4, GK5, JComments, ...) - Hint: basically extensions which use native Joomla model to get article list has no trouble with reading multicategorized article
  • Possibility to enable creating canonical urls for articles in multiple categories - for avoiding having duplicate content
  • Ordering for all assigned categories in article - long time demanded feature finally released

 


Getting started with CW Multicategories for Joomla Articles

 

Install the component

Download CW Multicategories and install - component.

And thats all. Just one click install and all is done.

 

Configure component settings

SEO feature - you can turn on/off Using canonical URLs - If enabled, article detail from the first selected category will be pointed as main content URL and details from other categories will be marked with canonical meta tag pointing on first category article detail link, preventing duplicite content for search engines.

Layout type - selecting interface type to Standard (classic one), Chosen (selectbox as known from Joomla 3.x, available also in Joomla 2.5 Multicats version)

component options

 

 

Go to Article manager

In Content → Article Manager

You can see filtered category "uncategorized" here on picture - marked with red color

multicats1

Standard Interface - Edit/create article

In article edit/create form view - you can see a button for category selection and list of selected categories in green bubbles.

You can also remove assigned categories by clicking on black/white cross icon.

edit

Since v2.6.10 (3.1.11): Drag and drop sorting of categories

drag

Since v2.9 / v3.4: Autocomplete search input box for direct category add feature

autocomplete

 

Select categories via button - Modal window

You can see modal window with list of categories with all the functionality like in Categories view - pagination and filtering. You can also see a list of selected categories (IDs and Titles)

In demo we selected new category "Test category" marked with red color

To confirm selection - we click on Submit button - after that category list in edit form will get updated

modal

 

Chosen Inerface

Now we can see in column Categories in list of articles view all categories in which is our article published and we have filtered "uncategorized" category - marked with red color

chosen-admin2

chosen-admin

 

 

List of articles

Now we can see in column Categories in list of articles view all categories in which is our article published and we have filtered "uncategorized" category - marked with red color

multicats5

 

Try filter another category

Our article is now published also in "Test category". So lets try filter view for this category.

And we can see that our article is now visible also in this category

multicats6

 

Frontend

All the functionality is also available in Frontend article management!

front
If you click on remove icon (black/white cross), you remove assigned category, meanwhile you can see a Loading process, indicating that your task is beeing processed.
front-loading
 This works also in modal window during check/uncheck process.

multicats12

Chosen Interface in Frontend: 

chosen-front

 

 

Bonus - Article Preview button!

Article Preview button functionality added to Toolbar!

Available after saving article

preview

 

You can use button to click for opening modal popup window view preview of how article looks on site or you can use right click and open in new window for full view.

Administration - configuration

In Components - CW MCats - go to Options, where you can enable/disable creating canonical urls. It solves the problem with considering multiple URLs for one article as duplicite content by Google robots while indexing. If you want on purpose to have indexed all urls for such article in all categories, set this parameter as disabled.

Also you can choose which Interface type you want to use - Standard(Classic) or Chosen.

ACL

Using native Joomla ACL offers setting access permissions to different usergroups and access levels, so you can hide the component from the Components menu in administration (doesnt have effect on functionality - which still remains active).

Multi-language

CW Multicategories offers using language files.

 

Note: CW Multicats patches some core files of com_content component in order to implement its functionality. Therefore updates are made for Joomla updates to keep patched files actual.

 

Article modules compatibility

Best way to keep compatiblity of using CW Multicategories with Article module for displaying Articles is to use CW News Module offering plenty of amazing settings and layouts.

 

Templates - using custom template

If you are using custom Joomla template on your site and you dont see all assigned categories in your blog or article detail page - it is probably because your template has override files for com_content native template files.

In that case you will find them in /templates/{yourtemplatename}/html/com_content/

Check the folders and you will find custom files like:

  • /templates/{yourtemplatename}/html/com_content/archive/default_items.php
  • /templates/{yourtemplatename}/html/com_content/article/default.php
  • /templates/{yourtemplatename}/html/com_content/category/blog_item.php
  • /templates/{yourtemplatename}/html/com_content/featured/default_item.php

 

In these files should be a place in code, where is mentioned a category title link. Usually like:

<dd class="category-name">
...something here...
</dd>

replace it by:

<dd class="category-name">
<?php
//multicats
require_once JPATH_SITE . '/components/com_multicats/helpers/content.php';
echo MulticatsContentHelper::getCategoryNames($this->item->id,$params->get('link_category'));
?>
</div>

Remember to check the code if there is mentioned $this->item->id or $item->id and use the correct variable definition.

This will show all assigned categories to the article.

Cesky WEB s.r.o. | extensions.cesky-web.eu | support @ cesky-web.com

Log in to your account OR Create an account