• CW Multicategories

Installation & Guide

ComponentJoomla 3Joomla 2.5

Install the component:

Download CW Multicategories and install - component.

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

Since version 3.5.1.6 - Install file contains following group of component + plugins:

  • CW Multicategories (component)
  • Content - Page CW Multicats Navigation (plugin)
  • Content - CW Multicats Plugin (plugin)
  • System - MVC Override for CW Multicats (plugin)
  • Quick Icon - CW Multicats Updates Notification (plugin)

All is ONE-CLICK install and plugins will be installed and activated during compononent installation.

Configure component's settings

If you want to change settings in some way:

  • Use Canonical URL - 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.

Articles tab - settings for Multicategory Blog which is new custom Menu Item Type for displaying articles from more categories. 

  • Fit categories - All x Any - if articles has to belong to all or any of selected categories

Layout type removed since version 3.5.1.6

This gallery is done by CW Article Gallery plugin

Article Edit Form

there is a changed Category Field that will allow to select multiple categories. You can choose from two Layouts - Smart Chosen or Standard (removed since v3.5.1.6 - only Chosen layout stays)

#SMART Chosen Layout

Creating New Category right in the Category selectbox in article edit - Since version 3.6.0.3

smart selectbox which newly brings possibility to sort category order by drag and drop functionality(only in J3.x version of 3.4.6.14+)

This is how will look like Article Edit Form in Backend

You can use autocomplete search filter feature. You can also sort selected categories by Drag and Drop.

Multicategory is available also in Frontend Article Edit Form.

#Standard Layout - removed since version 3.5.1.6

Standard layout is the OLD layout created in first versions of CW Multicategories for Joomla 2.5. We recommend to use Chosen layout as it is usually without issues and much faster to work with in overall.

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.

Since v3.1.11 (2.6.10 for J2.5): Drag and drop sorting of categories

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)

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

Also available in Frontend

Administration - List of Articles

Now let's see how will look like articles list in administration.

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

Try filter another category

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

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

Multicategory Blog

Since version 3.4.6.11 !

New menu item for CW Multicats component. Multicategory Blog - possibility to set up blog for displaying articles from multiple categories. Possible to set if article has to belong to all selected categories or at least any of them.

Ordering with multicategorized articles

  • if you set for frontend menu type Category Blog - then dont forget that there is settings for 
    primary order - Category Order - this must be set to NO ORDER
    secondary order - Articles Order - this you can set to desired collumn (date, ID, ordering, ...) 

    ..and why primary order to "no order"? Because articles can have more categories and therefore it will sort articles by their category and then by articles ordering.

Bonus - Preview Button

Article Preview button functionality added to Toolbar!

Available after saving article

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. Joomla Native modules are fully compatible.

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.

Since version 3.5.1.6:

1) Please check folder /administrator/components/com_multicats/templates/protostar/html/
2) Then check your template folder /templates/{yourtemplatefolder}/html/
3) Copy folder from 1) into 2) ...if there are already such files, backup them first! If needed more assistance, open support ticket.

For Gantry based templates create support ticket. We are preparing a guide for this as well and will be presented as soon as possible.

ISSUES Since new version 3.5.1.6?

Question#1 - Other 3rd party plugins making TABs in article edit form are not loaded

ANSWER:
Content - CW Multicats plugin is re-loading the article form, it is NEEDED to pay attention on CONTENT plugins order. Place this plugin above other 3rd party content plugins - so they will load AFTER CW Multicats are initialized.

Supported extensions

You may find downloads to some of supported extensions here (not all that are solved under ticket support system are added there though)

Compatibility

  • Supported compatibility for Joomla 3.x
  • Compatiblity for Joomla 2.5 - development stopped with version J2.5.28

Impressed? Want to see in action?     LIVE EXAMPLES

Want to try it now?     DOWNLOAD

Related articles