6

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 ...


5

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 ...


4

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' ...


4

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; $this->maxLevel--; echo $this->loadTemplate('catitems'); $...


3

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: administrator/components/com_categories/models/categories.php And check the function populateState(), there ordering is defined. In your query, you just need to add an order by clause and ...


3

Menu - Category Blog - Blog layout options Did you check this setting too ? in the menu options ?


2

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.


2

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 ...


2

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 /templates _ /beez ____ /html ________ /com_content (this directory matches the component directory name) _____________ ...


2

Check the mysql join map here:http://www.codeproject.com/KB/database/Visual_SQL_Joins/Visual_SQL_JOINS_orig.jpg One of them is what you are looking for.


2

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 ...


1

You'll want to override the category blog layout template. Copy all the code from: /components/com_content/views/category/tmpl/blog_children.php 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 ...


1

I can see a couple of options depending on your situation. Option 1. 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 ...


1

Create Menu Item: Menu item Type:: Articles >> List All Category >> In Tab "Category" look for "Subcategories Levels"; Choos "ALL"; I hope this helps.


1

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): SELECT id FROM categories WHERE path LIKE CONCAT(%,(SELECT alias FROM categories WHERE id = yourid),%) AND WHERE id NOT IN (SELECT ...


1

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 `...


1

see link: https://stackoverflow.com/questions/17988998/joomla-get-subcategories-of-custom-parent-category $catID = JRequest::getVar('id'); $categories = JCategories::getInstance('Content'); $cat = $categories->get($catID); $children = $cat->getChildren(); print_r($children);


1

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 ...


1

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 ...


Only top voted, non community-wiki answers of a minimum length are eligible