How to publish Joomla! articles into multiple categories without 3rd extensions
Alot of people have question about how to add article (an article) for Multiple categories in joomla system, or some one ask me How to create a blog of articles from multiple categories?
From Doc Joomla: How to create a blog of articles from multiple categories?
“No, Articles and other content items cannot be assigned to multiple categories or sections.” this is main problem.
In Joomla! Joomla 1.0 and Joomla 1.5: Content items are restricted to a single category in a single section. In Joomla! Joomla 2.5 and newer: Content items are restricted to a single category in a category tree.
Possible work-arounds include:
- creating duplicate articles in multiple categories.
- using menus rather than dynamic lists of content items.
- using various third party extensions that simulate assignment to multiple categories.
- using key words to simulate categories and sections.
Problem: not Good for SEO contents duplicate,
Most of them answers to use 3rd extensions from JED http://extensions.joomla.org/extensions/structure-a-navigation/multi-categorization
Problem: You must to paid for download, and not easy for you to control it if you joomla newbie.
So what is best solution for you can creat a articles blog from multiple categories with joomla CMS without 3rd extensions.
1. Fisrt of Fisrt is login Joomla administrator 🙂
In topbar Content menu Select Category mannager, Creat New category if you have new system else remmeber all your categories name.
2. Creat Tags
In topbar tooin Menu Components Select Tags component and this case creat new one.
Titled as the same your category name, and descriptions allow you to remember it, then click Save.
Do for all tags as same your categories.
3. Creat joomla content for multiple tags
Now in Topbar Content menu Select Article Manager: Add New Article
Create new article and assign to category as default your system, but with Tags, remember to add multiple tags as your categories, or tags you just created in step 2.
4. Creat your Artiles Blog with articles from multiple categories
in Topbar backend – Menus select your menu and Menu Manager: New Menu Item
named as News (this is my demo category name in this tut, for you can creat new one)
and Select menu item is Tags => Tagged Items – This links to a list of items with specific tags.
With Tag* requiment field please select your Tag. (in this tut I select is News)
then click to Save and close,
Now you can creat new One Menu named is Technology with Tag is technology
Remmeber publish it and assign to Menu you want to display in Frontend.
now can check your Frontend
5. Make your menu same as blog.
If you are coder or webdesigner can easy to do for step 5, else you can download my file.
Login your hosting controlpanel or can use FTP liek FileZilla to creat new folder in your Joomla template named com_tags
then copy files from folder: components/com_tags/views/tag/tmpl to your_template/html/com_tags/tag
Will like that
Use your Editor, I like NotePad++ free and easy to use.
Open your your_template/html/com_tags/tag/default_items.php
Line 74 Before
: <?php echo $item->event->afterDisplayTitle; ?>
$articleId = $item->content_item_id;
$table_plan = & JTable::getInstance(‘Content’, ‘JTable’);
$table_plan_return = $table_plan->load(array(‘id’=>$articleId));
Save and upload to your server,
Now you can check your Frontend for result.
And what will be Solve
- No creating duplicate articles in multiple categories. – so dont affect to SEO Contents Duplicate
- No using various third party extensions that simulate assignment to multiple categories, Will Save your Money
- Easy to do yet, and using Joomla default component, no hack Joomla Core
Happy with my tutorial dont forget to by me a beer 🙂