Hot answers tagged

11 votes
Accepted

How to show tagged items in category blog layout

Since this problem seems has been already asked several times and there is still no good answer for that, I'd like to try to provide my solution from the template override side. The steps are quite ...
  • 2,388
7 votes

Facebook Share - Remove: "The Joomla! content management system lets you create webpages..."

When you Share something on Facebook, Facebook will use the most recent information that its scraper has cached from your pages. If FB scraper has not yet crawled a page, then it will read your ...
  • 19.5k
6 votes
Accepted

Get tags for an article

Use TagsHelper::getItemTags(): use Joomla\CMS\Helper\TagsHelper; $tags = new TagsHelper; $tags->getItemTags('com_content.article', $articleId); Where $articleId is article ID. Tags will be ...
  • 8,776
5 votes
Accepted

Language tags in article content

You can use this language plugin: http://extensions.joomla.org/extension/easy-language Once installed in your article you can do: {lang en}Monday{/lang}{lang es}Lunes{/lang} It will display the ...
4 votes
Accepted

Migrate meta keywords to tags

We have developed a script that does that and that can be found here. Essentially, we loop through articles and then we grab the keywords, add them as tags, and then tag the articles. We have mainly ...
  • 3,186
4 votes

How can I get a List of All Tags to have no pagination by default?

Go to the menu that includes the list of all tags, then open up the page you created as a list of all tags. There should be a menu tab called "selection options". Set "Display Select", "Pagination" ...
  • 341
4 votes
Accepted

Adding a new view to built in component (com_tags)

There are multiple ways to add functionality or output views to existing components. You could try a template override. If you need more data then available in the component's model, then you could ...
  • 1,533
3 votes

Query database for articles, filtering by tag

You could Join the #__content table with the one of the #__contentitem_tag_map, which is the table that stores the many-to-many relationships among the various content items and the tags: $query->...
  • 19.5k
3 votes

How to Joomla 3 use tags on extension?

You can use the tags functionality in your custom extension as follows: models/forms/formfile.xml - <field name="tagfieldname" type="tag" mode="ajax" label="Tag Field Name" description="" ...
  • 1,365
3 votes

How do I get an unordered list of article tags in category blog view?

Try the following code and see if it gives you the output you want: <ul> <?php foreach ($this->item->tags->itemTags as $tag) : echo "<li>" . $tag->title . "</li&...
  • 13.3k
3 votes
Accepted

How can I filter downloadable documents using tags?

Joomla! 3 has native tagging features built in. See the Joomla! documentation How To Use Content Tags in Joomla! One way to accomplish your goals is to create a seperate article (i.e. a web page) ...
  • 2,087
3 votes
Accepted

How to query for users that have all tags when searching for multiple tags?

Tags - Similar module uses HAVING clause to achieve this. $query->having('COUNT(' . $db->quoteName('tags.tag_id') . ') = ' . count($tags)); But I'm not sure if this is the best possible ...
  • 8,776
2 votes

Joomla Tag Result Page Accordion

Not quite the full answer, BUT someone has already started working on this, though not really a rendering of the search page, more of a menu module, but certainly a very nice start http://www.demo-...
2 votes
Accepted

Uploading Tags In Bulk

There is no import option for the Tags component. This will make a such import directly into the database a tough process, as you will have to take into consideration all the fields of the table for ...
  • 19.5k
2 votes
Accepted

K2 Add tag to article if the keyword is in the article title

There are a couple of queries that you need to execute. Please use these queries first on a test environment. There is an idea: /* Query 1: Select the id of the tag */ SELECT id FROM `#__k2_tags` ...
2 votes

Facebook Share - Remove: "The Joomla! content management system lets you create webpages..."

Apart from the Global Configuration, meta data can be included in articles, categories and menus (see "Meta data hierarchy in Joomla" at https://joomla.stackexchange.com/a/5241/120 for more details). ...
2 votes
Accepted

Load articles by tag

As per @johanpw's comment, I used the linked module, forked it, and brought it up to date. Now the module can accept multiple tags, filter by content type, as well as more options for ordering / ...
  • 2,295
2 votes

This page isn't redirecting properly when clicking a Joomla tag

This is looping behavior, but I can't pinpoint the cause from the information given. What it is implying is that it's trying to link http://website.com/firstaddress to redirect to http://website.com/...
  • 1,079
2 votes
Accepted

Module to show all articles with Tag and in a Category

Some nice chap has already created a module that displays articles with a certain TAG so no hacking involved, I suppose it would be simple (depending on your coding experience) to add a new ...
2 votes
Accepted

Displaying tagged items like category

You can display more by overriding /components/com_tags/views/tag/tmpl/default_items.php. If you make: <pre><?php print_r($item); ?></pre> after this line: <?php foreach ($...
  • 4,055
2 votes

Joomla 3.4.x: Tags are not saved

Got the error: Filter does not work here. Removing filter = "safehtml" solves the problem.
  • 667
2 votes
Accepted

How to edit Popular Tags search parent (page/menu/URL)?

You can control this by creating menu items first for the Joomla articles category (blog/newsfeed or whatever), then for the tag component itself. 1. JOOMLA CONTENT You want to have a page where the ...
  • 19.5k
2 votes

Block K2 tag pages from being indexed by search engine

You may have to insert a meta tag manually for each page into a block of content that you do not want robots to index. <meta name="robots" content="noindex, nofollow"> OR You can go into your ...
2 votes

How to show tagged items in category blog layout

This is not currently possible. The closest you can get is Tagged Items. There is an article in the Joomla Forums about how to add the read more. http://forum.joomla.org/viewtopic.php?f=708&t=...
2 votes

Joomla assets table ucm rows

The #__ucm_content database table is used to store tags for core extensions, so I would not remove them, else you may get an error along the line in the future. See more information tags with ...
  • 26.5k
2 votes

Tag List Template Global Setting is Ignored

I just asked Google 'joomla tag list override' and it told me: http://forum.joomla.org/viewtopic.php?f=706&t=854545 Edit - Update 1: Copy components/com_tags/views/tag/tmpl/default.php and rename ...
  • 3,017
2 votes

Get parent category tags in template override

I did not remember how to get the parent category of article item, but to get the tags for current category you can try to use this code: $categoryTags = new JHelperTags; $categoryTags->...
  • 4,055
2 votes

Create Numbered List of Tagged Articles

Hi you can use these CSS properties: counter-reset, counter-increment. for instance: .tag-category table { counter-reset: section; } .tag-category table tr{ counter-increment: section; } ....
2 votes

Tagged items blog layout

This is now a core feature in Joomla 3.8, i.e. filtering articles category blog layout with tags.
2 votes

Category blog - hide category (options) makes tags disappear

Using Protostar as Template and set in Menu "Show Category" to "Hide" and "Show Tags" to "Show" give what expected: No Category shown, Tags shown. No Matter if "Position of Article Info" is set to "...

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