Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • burnyourears
  • burnyourears's Avatar
05 Dec 2018 19:01
Tags listed in RSS Feed under <category> was created by burnyourears

Tags listed in RSS Feed under <category>

Category: English K2 Community

Hi,

I want to display my Artcle Tags in the RSS-Feed of my site. Unfortunately the system is embedding it it in a "k2FeedTags"-class within the the "description"-Tag, so it can not be recognized as a regular tag. Here an example, please feel free to check it live on www.burnyourears.de/feed >

<description><![CDATA[<div class="K2FeedTags"><ul><li>ARTICLETAG</li><ul></div>[/b]]]></description>

All I want to do is to get rid of the whole class-thing and have it like a stand-alone-category-tag:

<category>ARTICLETAG </category>

Has anybody an idea what to change in components/com_k2/models/item.php ?

All the best,
Chris
  • JoomlaWorks
  • JoomlaWorks's Avatar
05 Dec 2018 16:55
Replied by JoomlaWorks on topic K2 Extra Fields Image Tag Src Extract

K2 Extra Fields Image Tag Src Extract

Category: English K2 Community

I think we can add a "$this->item->extraFields->EXTRAFIELDALIASHERE->rawValue" output to only grab the image path. We already have this option for dates either way.
  • JoomlaWorks
  • JoomlaWorks's Avatar
05 Dec 2018 16:47
Replied by JoomlaWorks on topic Why does K2 have to load CloudFlare's CDN files?

Why does K2 have to load CloudFlare's CDN files?

Category: English K2 Community

In the upcoming K2 v2.10.0 (currently 2.9.1 on GitHub) we use jsDelivr's CDN so the K2 package is smaller and so client-side performance is better. There is no option to disable it currently.

If you wish to manually change the CDN references, only 4 files contain jsDelivr URLs:
/administrator/components/com_k2/elements/k2tags.php
/administrator/components/com_k2/elements/k2users.php
/administrator/components/com_k2/helpers/html.php
/administrator/components/com_k2/helpers/stats.php
  • Michael Rosa
  • Michael Rosa's Avatar
04 Dec 2018 16:22
Replied by Michael Rosa on topic K2 Extra Fields Image Tag Src Extract

K2 Extra Fields Image Tag Src Extract

Category: English K2 Community

If your Extra field image name is something other then Image like in my case it's calle List iamge the above regex doesn't work.

This should work better, at least for me it does.
$var = $this->item->extraFields->EXTRAFIELDALIASHERE->value ; $var = preg_replace('/<img src="(.*?)".*?\/>/', '$1', $var);
  • JoomlaWorks
  • JoomlaWorks's Avatar
03 Dec 2018 15:26
Replied by JoomlaWorks on topic Addon for keeping change history for K2 items?

Addon for keeping change history for K2 items?

Category: English K2 Community

Not really. But you can enforce cleanup rules in the HTML so it doesn't break. There are global settings and per category settings. You can even use these options/filters to cleanup HTML tags you want to use (e.g. <img> tags) from bad HTML attributes (e.g. enforced width/height).
  • Laurent Levasseur
  • Laurent Levasseur's Avatar
29 Nov 2018 09:18
recherche par tag was created by Laurent Levasseur

recherche par tag

Category: Communauté française K2

Bonjour ,

j'ai activé dans le plugin de recheche ! la recheche par tag mais quand j'utilise le module de recherche de K2 et que je cherche un "tag" il ne me retourne rien ? je vous remercie
  • JoomlaWorks
  • JoomlaWorks's Avatar
23 Nov 2018 23:44
Replied by JoomlaWorks on topic Taxonomy Best Practices: Catagories vs Tags

Taxonomy Best Practices: Catagories vs Tags

Category: English K2 Community

My 2 cents...

Categories are drawers. And in your drawers you have files. Categories should rarely change.

Tags on the other hand are like post-its. You could even say they are ephemeral. Use them as a way to organize content based on less important factors or based on trends. Or when you need to organize content that hierarchically is inside very different categories.

Let me give you a practical example.

A website that covers news for motorcycles is struggling to organize its content so that menus are simple for users to navigate, yet information can easily be filtered. Such a website would cover news for brands, races & tournaments, travel guides, motorcycling accessories etc. etc.

The dumb approach would be to create a category per motorcycle brand in order to add more categories in it to cover news, races, pricing etc. The smart way would be to create the categories that actually matter: news, races/tournamenents, travel guides, accessories etc. Instead of making motorcycle brands as categories, convert them (or start using them) as tags. So if I need to add a travel guide with a KTM, Ducati and BMW touring motorcycles, I categorize the item under "travel guides" and add 3 tags for each brand. This way a user can instantly filter e.g. all items associated with "Ducati".

You may be thinking that tags may get out of hand, or that you can't filter them. That's wrong. First off, you can create direct menu links to tags if you want to. So you could make a "Motorcycle Brands" menu with K2 tags in it. And you could even filter from which categories to display items that have each tag referenced (in order to create separate menus for news, travel guides etc.). And what about tags getting out of hand. Now, this is where K2 shines and why Joomla's content is 10 years back. K2 (under Settings >> Advanced (tab)) allows for rules to be placed when entering tags (e.g. change the tag characters case or transliterate to latin). Hell, you can even predefine your tags and prevent editors from creating their own (e.g. on a sports news site, team names could be tags).

See: jmp.sh/gcsEnVG

Of course these examples can easily be expanded to other use cases. E.g. product websites, corporate websites etc. It really is a matter of properly orchestrating your content. And K2 provides you the tools to do that since the day it was launched.

That being said, if you ever stumble on the 3% that doesn't fit what K2 provides out of the box, you can always use the awesome third-party K2 extensions from the likes of web357.com (Multiple Categories for K2) and joomreem.com & joomcar.net (for filters/search/sorting etc.) - just to name a few...

In any case, we're always here to help :)
  • JoomlaWorks
  • JoomlaWorks's Avatar
23 Nov 2018 23:22
Replied by JoomlaWorks on topic K2 tag problem

K2 tag problem

Category: English K2 Community

All tag URLs redirect to different URLs than their source links.

E.g. verticalife.it/it/content/tag/miniguide redirects to verticalife.it/it/blog/tag/miniguide and the tag "trekking" as you mentioned to the homepage. Are you using some SEF extension in Joomla?
  • JoomlaWorks
  • JoomlaWorks's Avatar
23 Nov 2018 21:41
Replied by JoomlaWorks on topic Should the Josetta - K2 categories be updated?

Should the Josetta - K2 categories be updated?

Category: English K2 Community

K2 just appends some additional meta tags for Facebook and other social network sharing. Your template is the one that should output the language tag in place of lang="de-DE". See the default (protostar) template on how that is done (it's just a PHP variable to output).
  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
22 Nov 2018 11:32
Replied by Mohamed Abdelaziz on topic Taxonomy Best Practices: Catagories vs Tags

Taxonomy Best Practices: Catagories vs Tags

Category: English K2 Community

Hello Howard,

K2 items can't be added to multiple categories without a 3rd party plugin, so tags can be utilized to implement this feature.
I think it depends on the structure of your different content types.
The most important to care about, from my point of view, is sorting and filtering items, specially in the directory and event listings, you need to plan this well and find out what information will be extra fields and what will be tags.

Good luck
  • SPOTTERON
  • SPOTTERON's Avatar
21 Nov 2018 23:13 - 21 Nov 2018 23:15
Replied by SPOTTERON on topic Should the Josetta - K2 categories be updated?

Should the Josetta - K2 categories be updated?

Category: English K2 Community

ok, thanks for the info!

regarding the lang tag: yes, it is defiantly not in the template (using the gantry framework),
when i disable "Enable Facebook meta tags" in K2, the exact line is reduced to:
<html lang="de-DE" dir="ltr"> - it seems it is generated by K2, but the language tag is still wrong.
  • Howard White
  • Howard White's Avatar
21 Nov 2018 19:10
Taxonomy Best Practices: Catagories vs Tags was created by Howard White

Taxonomy Best Practices: Catagories vs Tags

Category: English K2 Community

I'm in the planning stages of a site that will entail a blog, directory, and event listings. With K2's tagging capability, I wondering if anyone has established any best practices regarding the use of tags in relationship to categories.
  • Do you every have tags with the same value of categories?
  • How do you determine what becomes a tag versus a category?

Thanks
  • JoomlaWorks
  • JoomlaWorks's Avatar
21 Nov 2018 18:28
Replied by JoomlaWorks on topic Should the Josetta - K2 categories be updated?

Should the Josetta - K2 categories be updated?

Category: English K2 Community

Josetta plugins have been removed in the latest K2 release. You can safely uninstall the Josetta plugins.

As for the language attribute in the <html> tag not updating, did you verify your template has the right PHP variable there and not a fixed string?
  • Andrea
  • Andrea's Avatar
21 Nov 2018 17:44
K2 tag problem was created by Andrea

K2 tag problem

Category: English K2 Community

Hi,

i have a problem with a specific blog tag on my website. Every other tag properly redirects to the various articles with that tag, however the tag "trekking" doesn't, redirecting on the homepage.

Please see here for a reference: verticalife.it/it/blog

Any idea on how i could solve this?
Thank you,

Andrea
  • Philippe
  • Philippe's Avatar
21 Nov 2018 08:30

Google creating wrong sitelink to tags not working

Category: English K2 Community

Thanks for your response

a) How do I «check for broken links» in my k2 template overrides?

b) The strange thing is that Google changed the search results displayed for «zubermedien» every time I did changes on the website.
  • SPOTTERON
  • SPOTTERON's Avatar
21 Nov 2018 01:17
Replied by SPOTTERON on topic Should the Josetta - K2 categories be updated?

Should the Josetta - K2 categories be updated?

Category: English K2 Community

Hi,
does that mean the 2 Plugins of Josetta should be deactivated in the backend?
We have a big problem with the K2 language meta tags in head, they just show one language lang="de-De" without any change if switching from DE to EN on a multilingual site.
(all components & Joomla up to date)

Example URL: www.spotteron.net/blog-and-news/brushturkeys-citizen-science-app-australia-on-tv
Source Code shows: <html prefix="og: ogp.me/ns#" lang="de-DE" dir="ltr">
should be lang="en-.GB", Item is set to en-GB (English) in K2.


best regards,
Jonathan, SPOTTERON
  • JoomlaWorks
  • JoomlaWorks's Avatar
20 Nov 2018 19:53 - 23 Nov 2018 23:14
Replied by JoomlaWorks on topic Google creating wrong sitelink to tags not working

Google creating wrong sitelink to tags not working

Category: English K2 Community

a) These are not valid K2 paths. Check for broken URL/links in your K2 template overrides.

b) Additionally, the paths referenced by Google don't match your sitemap.xml file. I can only assume that if (a) does not occur that the URLs are old/cached by Google.
  • Philippe
  • Philippe's Avatar
20 Nov 2018 17:56 - 20 Nov 2018 18:08

Google creating wrong sitelink to tags not working

Category: English K2 Community

The solution doesn't seem to work.
The Links of «Flyer» and «Hochzeit» lead to corrupted pages.

And I liked it when google used the keywords as sitelinks. That's not happening anymore. It would be great if google used the tags of k2 as sitelinks.

This is how google sees my page. There are a lot of 404's
www.google.ch/search?q=+site:zubermedien.ch+zubermedien&sa=X&ved=2ahUKEwjJtN7arOPeAhWDTMAKHau_CWcQrAN6BAgDEBE&biw=1362&bih=623&dpr=1.5

Thanks for your help
  • JoomlaWorks
  • JoomlaWorks's Avatar
19 Nov 2018 01:00
Replied by JoomlaWorks on topic Google creating wrong sitelink to tags not working

Google creating wrong sitelink to tags not working

Category: English K2 Community

It's not a workaround, it's just a way to force a "parent" menu item for any K2 content entities that don't have a distinct or inherited menu item (e.g. tags).

Now, if you use a sitemap extension, make sure you purge any existing sitemaps and re-create them. Then request that Google re-indexes your site.

The one I see at www.zubermedien.ch/sitemap.xml probably has outdated links.
  • JoomlaWorks
  • JoomlaWorks's Avatar
17 Nov 2018 18:21
Replied by JoomlaWorks on topic Google creating wrong sitelink to tags not working

Google creating wrong sitelink to tags not working

Category: English K2 Community

Do this. Create a new menu in Joomla and in there add a K2 menu of "K2 Categories" type, pointing to all categories. Be careful to name the "menu alias" to something generic, e.g. "content". This will create a menu item for all K2 content to inherit a "menu alias" URL if another one does not already exist. So it should fix the multiple URLs that can be generated for tags (which is just a design flaw in Joomla's router).

Let me know.
Displaying 561 - 580 out of 6582 results.

Powered by Kunena Forum