After doing some research, it turns out that the third party component I am using doesn't have a file created as ..\components\com_thirdparty\helpers\category.php which is required to implement a class ThirdPartyCategories which extends JCategories in the component's helpers directory as described below
defined('_JEXEC') or die;
* ThirdParty ...
Option 1: Create a menu for your categories and articles. Everytime you add an article to your category, you also add it to your menu. Then you use the menu module to call in that information. It'll be a menu, but it'll look like categories and articles.
Option 2: Create multiple modules, one for each category, and call them all into that space. They'll ...
As @Sasi varna kumar showed with the screenshot in his answer, what you need to adjust is what articles should be shown in your blog layout.
The settings you were adjusting are about showing categories and subcategories, which (the categories) can be considered as an independent content entity. Showing categories's data, like category's and subcategories' ...
I finally solved it myself. I modified my com_contact category default_children template to load another template part (called it catitems):
<?php if ($child->numitems > 0 ) :
$this->children[$child->id] = $child->getChildren();
$this->category = $child;
In #__categories table ordering field is named as lft. So, this column saves the ordering of the categories.
If you want to look more into code side then you can see:
And check the function populateState(), there ordering is defined.
In your query, you just need to add an order by clause and ...
We made this problem go away by updating Joomla to 2.5.24 (a painless point-release upgrade) and updating Document Seller to its 3.5 version, and the problem described above resolved itself exactly as @johanpw suggested.
This is a candidate for a CCK, like Zoo.
You want to structure content based on different factors, and select multiple categories, etc. It's possible with Joomla articles but it's not the most organized or elegant way.
With a CCK, each item type has its own fields, structure, and display layout-- if you customize it that far. And for your proposed ...
If your template does not recognize any of usual options to enable the parent category, you can create a new layout override to include it specifically: http://docs.joomla.org/Understanding_Output_Overrides#Layouts
________ /com_content (this directory matches the component directory name)
Welcome to Stack Exchange.
This is controlled in the menu item. You need to:
Go into your administration section of Joomla!
Click on Menus
Go to the menu that you are using e.g. "main menu"
Select the menu item e.g. "day trips"
Click on the tab called "category"
You can choose the dropdown I show in my image "subcategory levels", set this to "none" and ...
You'll want to override the category blog layout template.
Copy all the code from:
and paste into a new file you'll create at:
/templates/<your active template>/html/com_content/category/blog_children.php
This will result in Joomla using that new file instead of the original one you ...
I can see a couple of options depending on your situation.
If you sub-categories are not going to change then you could set up a 'Articles - Category' module for each sub-category. This allows you set the number of articles to show and the introtext limit will allow you to show a set number of characters. Then make a category blog list showing ...
If I understand well, you want to display the category select in the edit form or in a list view as a filter ?
If so, I guess you use a form for that. Just like the docs say about adding category to the admin.
Developing an MVC Component/Adding categories
The only thing you need to do is to add the Category field in your form xml and then render the field ...
Here is query that gets data from category table and display using following code:
there find com_thirdparty and replace with com_your-component-name
$db = JFactory::getDBO();
$query = "SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time,
c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language,...
You could try using a subquery... Given that you know the id of your father category, and the alias is unique, you might want to try this idea (would need to convert it to PHP or SQL code with quotes and so on, of course):
WHERE path LIKE CONCAT(%,(SELECT alias FROM categories WHERE id = yourid),%)
AND WHERE id NOT IN
You can create your own layout file in /templates/your_template/html/com_content/category/default.php and show everything as you wish there. Or you can just override the part for the subcategories which should be the default_children.php file.
That is assuming you want to override the default layout. If you want to override the blog one, change default to `...
In Joomla 3.x, you could use the Joomla's native Categories module.
Your example shows 3 categories, so I would load three modules from within the article, and configure these modules to display the informaiton you want.
MODULE CONFIGURATION I WOULD DO:
Parent Category: Introduccion
Category Descriptions: No
Show Number of Articles: No
There are few solutions:
If you want to get categories tree only
Use Template Overrides to create alternative layout for categories view. In this view use use JCategories to get categories tree. Here is a sample:
$model_categories = JCategories::getInstance('Content');
$root = $model_categories->get('root');
$categories = $root->getChildren();
You can ...
It should be a matter of assigning each featured article to a specific category, then displaying these chosen categories on your page. Change the article global config options;
You can find The global options for the configuration of a blog page on:
Content->Article Manger->Options (from the topmenu);
The tabs for all the global options is on the right ...