Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • JoomlaWorks
  • JoomlaWorks's Avatar
01 Aug 2019 11:18
Replied by JoomlaWorks on topic which file to edit to show the tag I clicked ?

which file to edit to show the tag I clicked ?

Category: English K2 Community

This should actually be default but I somehow missed it all these years. To be added in K2 v2.10.
  • JoomlaWorks
  • JoomlaWorks's Avatar
31 Jul 2019 17:01
Replied by JoomlaWorks on topic which file to edit to show the tag I clicked ?

which file to edit to show the tag I clicked ?

Category: English K2 Community

Source: /components/com_k2/templates/default/tag.php
Target: /templates/YOURTEMPLATE/html/com_k2/default/tag.php
  • JoomlaWorks
  • JoomlaWorks's Avatar
31 Jul 2019 12:38
Replied by JoomlaWorks on topic which file to edit to show the tag I clicked ?

which file to edit to show the tag I clicked ?

Category: English K2 Community

It's the file tag.php.

Learn how to copy K2 source template overrides into your Joomla template by reading this: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
  • Robert Watson
  • Robert Watson's Avatar
30 Jul 2019 23:52 - 31 Jul 2019 00:06
which file to edit to show the tag I clicked ? was created by Robert Watson

which file to edit to show the tag I clicked ?

Category: English K2 Community

I have a K2 Tools module which lists all the K2 tags in a tag cloud .
When i click a K2 tag - all K2 items with matching tags are displayed in a list in the main body of the site.

i want to ADD THE NAME OF THE SELECTED K2 TAG to the top of the item list to show what's been selected.

I am new to sub-templating - I just need to know WHICH K2 FILE to edit to do this.

Help !!

k2 version 2.9.0
  • JoomlaWorks
  • JoomlaWorks's Avatar
27 Jul 2019 23:49
Replied by JoomlaWorks on topic Multi languages tags translation

Multi languages tags translation

Category: English K2 Community

If you take a look at the relevant query here github.com/getk2/k2/blob/master/components/com_k2/models/itemlist.php#L86 you'll see the language is always passed before returning results. So even if the same tag is applied to 2 items of different languages, the tag listing page would always return the 1 with the correct language.

So you probably just need to make sure that ?lang=XX is appended on the auto-generated tag URLs.

No need for additional filtering.
  • Klaus Veliu
  • Klaus Veliu's Avatar
27 Jul 2019 17:46
Replied by Klaus Veliu on topic Multi languages tags translation

Multi languages tags translation

Category: English K2 Community

Yes, I admit it this was the first time after many years of work that I had this request.
The site now has 3 languages, maybe in the future, an extra more is going to be added.

As this feature is not even a "translation" I am going to alter the K2 tags table to assign the extra information to each tag. In this way at least I will be able to enable this feature in the website.

If there is an extension that gives the ability to add some extra information to a tag this would be a solution for my case, so if anyone has a suggestion please tell me.

Thank you!
  • JoomlaWorks
  • JoomlaWorks's Avatar
27 Jul 2019 12:54
Replied by JoomlaWorks on topic Multi languages tags translation

Multi languages tags translation

Category: English K2 Community

That's because K2 content assigned to different languages will likely have different tags as well. There are edge cases of course where different languages may require tags that are common in different languages. In that case, you can just filter the tag view with ?lang=XX.
  • Klaus Veliu
  • Klaus Veliu's Avatar
27 Jul 2019 00:44
Multi languages tags translation was created by Klaus Veliu

Multi languages tags translation

Category: English K2 Community

Hello,

In a recent website that I am working on the client has very strict requirements regarding SEO in a multi-language website.

For the first time, I found myself in a very specific request, when the user switches the website language when viewing a tag page the browser should be redirected to the corresponding tag page of the new language

Example,
Current URL(English): example.com/en/tags/help
The user switches the language to Spanish
New URL: example.com/es/tags/ayuda

Unfortunately, I was not able to find an extension that gives the ability to translate the K2 tags and also it seems that the database table of _k2_tags lacks the structure to manage this feature.

As I am using Joomla just to manage the content of the website an extension that offers the users to translate the tags in administrator area would do the job.

Thank you!
  • Red Evolution
  • Red Evolution's Avatar
25 Jul 2019 11:35 - 25 Jul 2019 12:16
Replied by Red Evolution on topic Layout Bug On Some K2 Items

Layout Bug On Some K2 Items

Category: English K2 Community

They put the img tag in but had missed to close it off properly so it was like this:
<img href="test.jpg" title="test
Rather than this:
<img href="test.jpg" title="test" />
  • Head
  • Head's Avatar
24 Jul 2019 13:56

K2 - where's Linked Titles can be disabled?

Category: English K2 Community

Sorry, i thought i was clear enough - there's no <a> tag in template,
it's core-related, as template uses $this->params->get('page_title') which returns title already wrapped into anchor.
  • JoomlaWorks
  • JoomlaWorks's Avatar
24 Jul 2019 13:50
Replied by JoomlaWorks on topic K2 - where's Linked Titles can be disabled?

K2 - where's Linked Titles can be disabled?

Category: English K2 Community

This is an edge case really. It may exist in Joomla Articles, but a whole bunch of other weird stuff do too.

K2 is based on common sense configurations.

If you fall into an edge case, you can just utilize K2 template overriding to modify and remove the link for K2 item titles.

First off, basic K2 templating: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

Then you must edit category_item.php, locate where the title is output (it should be wrapped by an <a> tag), remove the <a> tag and save. Links will now be gone from the category listings.

If you need to do this for select categories, you can create a 2nd sub-template group inside your Joomla template, for K2 overrides (e.g. /templates/YOUR_TEMPLATE/html/com_k2/NoLinksForItems/category_item.php). Then head over to your categories and select the "NoLinksForItems" subtemplate to use. Done.
  • Red Evolution
  • Red Evolution's Avatar
16 Jul 2019 17:35
Replied by Red Evolution on topic Layout Bug On Some K2 Items

Layout Bug On Some K2 Items

Category: English K2 Community

Apologies for any time you've spent on this one Fotis, diagnosed the issue now. Turns out the client hadn't closed off an image tag properly in the 'Media' field which screwed up the layout for the whole section. Might be something to consider adding in future versions, a failsafe for layouts or a warning if incorrect code is added there although not sure how simple that would be to implement.

Thanks,
Dave
  • Steven Trooster
  • Steven Trooster's Avatar
04 Jul 2019 16:52 - 04 Jul 2019 16:55
Replied by Steven Trooster on topic Error with the K2 User module

Error with the K2 User module

Category: English K2 Community

Just a question: when will you get rid of the modal window for editing items in the frontend? It's very annoying for several reasons:
- the browser doesn't show a progress bar when saving an item. My editors tend to click multiple times on save, because they believe nothing is happening. (especially when they have a large image file attached)
- in conjunction with SIG Pro it's frustrating, because the SIG pro modal window overlaps the K2 modal window completely. Since SIG Pro doesn't have a close button, so you can't save the gallery and go back to editing the article. The workaround: save the article first, then add a gallery and save it, then click somewhere outside of the modal window to close everything and reopen the article.
- accidentally clicking somewhere outside the modal window closes the editing of the article, thus loosing everything if you didn't save it first..

Is there a good reason you chose to use a modal window for editing? I don't see any advantages.
  • sajal
  • sajal's Avatar
28 Jun 2019 08:41 - 28 Jun 2019 08:59

Tag wise listing - Pagination Issues

Category: English K2 Community

I've created a K2 tag wise listing. The tag is attached to only 2 items. I've configured 10 records per page in K2 configuration for all listings, including tag wise listing. So, it should display pagination only if records are greater than 10.

In my case, the listing displays only 2 items, that is OK. But, it also displays the pagination as well for all K2 items??

In fact, I've noticed that, even though a tag listing has more than 10 records, that pagination is still wrong. That "Last page" link start with 150000 records, even though, the tag has merely 40 records.

So, there must be something wrong going on, while the pagination is built for Tag wise listing.

Any help greatly appriciated.

K2 Version: 2.9.0
  • JoomlaWorks
  • JoomlaWorks's Avatar
29 May 2019 20:58
Replied by JoomlaWorks on topic I encountered three problems...

I encountered three problems...

Category: English K2 Community

Replying...

1. Check for a file called itemform.php inside /templates/YOUR_TEMPLATE/html/com_k2/ANY_FOLDER/. If you find one, delete it.
2. Install v2.10 (dev) from github.com/getk2/k2/archive/master.zip on top of 2.9.0 and check again if the issue is resolved.
3. You need to add the tags manually. The tags created upon import are essentially the meta tags in Joomla articles. Tags in K2 are much more powerful.

Let me know.
  • Attila Szegedi
  • Attila Szegedi's Avatar
29 May 2019 13:13
I encountered three problems... was created by Attila Szegedi

I encountered three problems...

Category: English K2 Community

Hi,
I encountered three problems.
1. On the front page, the item edit form does not appear. 403 error pages are visible instead. I don't understand what the reason is because all the settings seem okay.
2. On the Admin page, when I create K2 content, I cannot select an image from the server.
3. For articles imported from Joomla content, K2 generated the tags automatically. If I record new K2 content, don't I generate tags?

Did any setting avoid my attention?
How can I resolve these problems?

Joomla 3.9.6
K2 2.9.0
PHP 7.2.0
Shape5 Vertex framework
  • JoomlaWorks
  • JoomlaWorks's Avatar
22 May 2019 10:34
Replied by JoomlaWorks on topic Keep HTML Text Formatting in category listings?

Keep HTML Text Formatting in category listings?

Category: English K2 Community

If your K2 Settings (under the "Content" tab) are like this jmp.sh/pgSOhYC and in your category settings you don't enable the word limit option (which by default strips all HTML tags) and -if the issue happens on a certain item- your item Display Settings also don't have the word limit option enabled, then perhaps your editor or some other plugin is stripping these tags.
  • JoomlaWorks
  • JoomlaWorks's Avatar
18 May 2019 20:52
Replied by JoomlaWorks on topic Keep HTML Text Formatting in category listings?

Keep HTML Text Formatting in category listings?

Category: English K2 Community

What do you mean "keep"? Unless you have filters enforced in the K2 Settings, HTML is not filtered in any way, UNLESS you have word limit enabled, in which case we apply HTML tag stripping to ensure no HTML tags are left unclosed (and thus your page's HTML doesn't break).
  • JoomlaWorks
  • JoomlaWorks's Avatar
15 May 2019 17:55
Replied by JoomlaWorks on topic K2 and smart search plugin issues

K2 and smart search plugin issues

Category: English K2 Community

Triple checked. We check that items, categories AND tags are published in the SQL query.

I also checked the links you provided. Both work as expected, not as you describe.
  • mattian
  • mattian's Avatar
14 May 2019 13:00
Replied by mattian on topic K2 and smart search plugin issues

K2 and smart search plugin issues

Category: English K2 Community

Yes, it is, I at first used Smart Search but had issues with the indexing (could not get it go through). Then I swap into the regular K2 search plugin. I did experience the unpublished links in both, but probably the regular smart plugin was published at the same time as smart search.

It is a pity that the tags search function does shows the unpublished links also. It would be a good function to have.

- Anne
Displaying 461 - 480 out of 6582 results.

Powered by Kunena Forum