Questions tagged [category]

Joomla! Categories are used to logically group content-type data.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
42 views

Suddenly URLs with “table/”

I'm running a simple site based on Joomla. The SEF URLs are defined by SH404SEF and look like https://[domain]/[category]/[sub category]/[article title alias].html. In some cases there is a 1-to-1 ...
1
vote
0answers
24 views

Manage Categories in Site part. Is possible?

I use the com_categories in my custom component based on the joomla Docs Adding Categories. But I need to manage the categories in the site part. I was wondering if there is an easy way to do it, or ...
1
vote
0answers
52 views

Category Blog Allows Viewing of all Categories

I have a Category Blog Menu Item where I have chosen all articles with category News to be displayed and layed out how I like. However, by creating just one Category Blog menu item on my site, now all ...
1
vote
0answers
682 views

How to get main parent category id from category/subcategory

I am getting one category id in code but it can be the id of either category or subcategory. And by the following code i am able to fetch the parent category chain. $Jcategories = JCategories::...
1
vote
0answers
131 views

301 Redirect all K2 Items (or Joomla! articles) to the Parent Category

I have a Joomla! + K2 site that uses categories as main landing pages with articles filling in various sections of the page. Thus, I don't want articles to be seen or indexed by Google individually. ...
0
votes
0answers
18 views

Want to show random item title from one appointed category

I have following codes: <?php foreach ($list as $item) : ?> <li<?php if ($id == $item->id && in_array($view, array('category', 'categories')) && $option == '...
0
votes
0answers
33 views

joomla article override: poster category

Still in my recovery of overrides, I try to display in the override of an article the category in which the article is located I test this nothing is displayed I must not retrieve the variables <?...
0
votes
1answer
19 views

How to get category ID when creating new article in administration area

When creating a new article, how can I get the current selected category ID as shown in the category select field? I need to pass the value to a PHP variable. There is the javascript function ...
0
votes
0answers
5 views

Add different meta tag for articles pages, categories pages and front page

I am using Joomla 3.3 on my website and I need to insert some meta tags in my website, but I want three different tags for article pages, categories pages and, of course, on the front page. The model ...
0
votes
1answer
17 views

How to disable all category pages?

I have a Joomla site and I would like to hide the category pages. Google is indexing some of them with a number before. For example, I have a product category and the mydomain.com/2-products page is ...
0
votes
1answer
33 views

category links don't work

On my site there are 2 types of categories: the first has link mysite.com/id-category and in this case I cannot see the content of the page (the div with id "t3-mainbody" is missing in the generated ...
0
votes
0answers
30 views

Joomla blank page after migration?

I have Joomla 3.3.1 version After migrating the web site to another host (with IIS server) I had a problem with blank pages when I click on a menu The home page is displayed well, the problem is just ...
0
votes
1answer
31 views

How to conditionally filter the presentation of category when creating a new category/article?

I am looking for a solution for the following requirements: Display only the category of first level when creating new category. Display only the category of second level when creating article in ...
0
votes
1answer
34 views

Custom Category Field

Using Joomla 3.9, although Custom Fields is now available, I am opting to do this in a plugin instead for reasons. I have created a plugin to hook into the Category view in admin, so that I can add a ...
0
votes
1answer
252 views

I've missed something with how category layout override is working

I'm working on a students directory with the following structures: Directory (parent category) |_ 2017-2016 (child category) |_ 2016-2015 (child category) |_ 2015-2014 (child category) … In each ...
0
votes
0answers
85 views

Category Manager: How to show a list of a category AND ONLY its subcategory?

I have hundreds of categories on one Joomla site. Using the Joomla administrator category manager, I'd like to find a way to list a category AND ONLY its children subcategories. To be clear, I'd ...
0
votes
2answers
620 views

Need to display category dropdown for custom component on frontend site using joomla category extension

I have tring with the same thing but using following code but it not retuns any category what need to pass not getting for the same: $model_categories = JCategories::getInstance('Thirdparty'); $root =...
0
votes
0answers
159 views

Upload form to upload files and filter the public view based on category

I am looking for an extension or a way to allow users to upload their documents based on the category e.g. a User will upload food recipe document (pdf/doc) in the category of "Chinese" or "Maxican"....