Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • praveen
  • praveen's Avatar
27 Jul 2016 14:12
Replied by praveen on topic issue with k2 after update

issue with k2 after update

Category: English K2 Community

i got 2 issues my

issue 1 : Popular tags (Tag cloud) is not working it just displayed like list of text
issue 2: got below error on webpage
JUser: :_load: Unable to load user with ID: 42
  • Joe Campbell
  • Joe Campbell's Avatar
27 Jul 2016 14:02

K2 Power Tip: Use PHP Includes to Render Override Files

Category: English K2 Community

Using K2 overrides can do wonders for website creation, but prove challenging when have many overrides (each with many elements).

To reduce the number of override files you can use PHP includes.

For example, I have a Quotes section for which I display the list page in a Pinterst-like manner. It's the only section of my website that is like that. But the item page is the same as every other section. So in this case, I use a PHP include to render the item.php file housed in my primary override.

Best of all, you can use this method for each and every override file (category.php, category_item.php, tag.php, etc.)

Here's the code, simply change the areas denoted in red:

<?php include($_SERVER.'/templates/TEMPLATE-NAME/html/com_k2/OVERRIDE-FOLDER/item.php'); ?>

Happy K2 Coding :)
  • praveen
  • praveen's Avatar
27 Jul 2016 13:13
issue with k2 after update was created by praveen

issue with k2 after update

Category: English K2 Community

i have updated my K2 module but after update my cloud module is not working ,
i need to Popular tags module most be work or else back to my old K2

please help to fix......
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
26 Jul 2016 13:03
Replied by Krikor Boghossian on topic 404 in admin panel

404 in admin panel

Category: English K2 Community

It could be a server or database hiccup.
You can insert spaces in tags and delete them manually.
Was the 404 error through all of K2's admin views?
  • Mzlaki
  • Mzlaki's Avatar
26 Jul 2016 07:33 - 26 Jul 2016 07:47
404 in admin panel was created by Mzlaki

404 in admin panel

Category: English K2 Community

Hi. This has happened to me twice.
I was adding a bunch of tags for K2 using the tags page (not while editing an item). Suddenly, my admin panel gives 404 page. I think it's because of a space character within a K2 tag. Could it be so? Can I delete tags manually, since I don't have access to joomla admin page?
Joomla version is 3.6.
Can you help?

*EDIT*
This lasted for half an hour or so, and now it's back. Frontend was fine all the time. Nothing in error.log. :(
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
24 Jul 2016 22:12
Replied by Krikor Boghossian on topic [SOLVED] Where to turn off adding # to tags in K2 articles?

[SOLVED] Where to turn off adding # to tags in K2 articles?

Category: English K2 Community

Mohamed is right, as always :)

You can also move the components/com_k2/css/k2.css file into your template's /css folder and remove this CSS rule.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
24 Jul 2016 21:48
Replied by Krikor Boghossian on topic Import via MySQL

Import via MySQL

Category: English K2 Community

Did you import the rest of K2's data, extra fields, users tags etc?
Did you import the Joomla! users as well?
  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
24 Jul 2016 19:24
Replied by Mohamed Abdelaziz on topic [SOLVED] Where to turn off adding # to tags in K2 articles?

[SOLVED] Where to turn off adding # to tags in K2 articles?

Category: English K2 Community

Hi Chad,

It is added using CSS, look into your k2.css, and find this rule definition:
div.latestItemTagsBlock ul.latestItemTags li a::before { content : "#"; }

You can override this rule in your custom.css file, if your template has this feature.
  • Chad Criswell
  • Chad Criswell's Avatar
24 Jul 2016 05:35

[SOLVED] Where to turn off adding # to tags in K2 articles?

Category: English K2 Community

When I add a tag to an article in K2 I am not adding the hashtag to them, yet when the article is displayed in the front end the system is adding the #. How do I turn this feature off?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
18 Jul 2016 19:21
Replied by Krikor Boghossian on topic Facebook Share Thumbnail

Facebook Share Thumbnail

Category: English K2 Community

Facebook uses cache so changes are not immediately seen.
Facebook Debugger says "
Provided og:image, thegamerslife.eu/gamers/media/k2/items/cache/e17bf28887a04e7713039bc3ae638d41_XL.jpg could not be downloaded because it exceeded the maximum allowed sized of 8Mb or your server was too slow to respond."

So you need to use a smaller image size.
You can check your og: tags here developers.facebook.com/tools/debug/sharing/?q=http%3A%2F%2Fthegamerslife.eu%2Fgamers%2Ftemplate%2Fk2%2Fk2-categories%2Fnews%2Fitem%2F282-overwatch-new-map
  • Nick
  • Nick's Avatar
18 Jul 2016 16:18
Replied by Nick on topic Facebook Share Thumbnail

Facebook Share Thumbnail

Category: English K2 Community

@Mohamed The cache is enabled

@Krikor I used that code because before i added it, thumbnails and titles when sharing on facebook didn't work. So I added the code. Worked for one article, then stopped working again. I deleted the piece of code, still nothing. The site is always online, did you see it down in some particular moment ?

Another thing is that the template I use, I think overrides the k2. It's the Game quickstart from Gavick. Does this matter ?

Also, when inspecting any article througt chrome inspection tool, I see all the og tags in the head of the code. But still facebook ignores them.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
18 Jul 2016 11:48 - 18 Jul 2016 11:49
Replied by Krikor Boghossian on topic Auto add tag to specific group form

Auto add tag to specific group form

Category: English K2 Community

If I remember correctly this is close to the functionality you want.
www.joomreem.com/extensions-store/item/53-chained-fields-for-k2.html#.V4yXvZN95n4
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
15 Jul 2016 12:32
Replied by Krikor Boghossian on topic Auto add tag to specific group form

Auto add tag to specific group form

Category: English K2 Community

Hello Rakesh,

A K2 plugin (custom one if something is not found on the JED or the KED) is needed for this functionality.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
15 Jul 2016 12:04
Replied by Krikor Boghossian on topic Facebook Share Thumbnail

Facebook Share Thumbnail

Category: English K2 Community

Was the http:// prefix present in the tag?
If not, this will break the URL.
Furthermore, how come are you not using K2's default og: image tag?

thegamerslife.eu/gamers/media/k2/items/cache/f8a458e18503c86603dc02339a944feb_L.jpg
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
14 Jul 2016 13:24
Replied by Krikor Boghossian on topic How to add custom meta tags to items?

How to add custom meta tags to items?

Category: English K2 Community

Hello Nikita,

K2 will automatically set these tags for you.
The item's title, image and introtext are being used to populate this data.

You can change the behaviour by adding custom tags in your template with this function - docs.joomla.org/JDocument/setMetaData
Remember to use overrides getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

However if you need a K2 plugin to manually enter these values through the backend you need to search the JED. I 'm sorry but I am not aware an extension so I can recommend one.
  • Nick
  • Nick's Avatar
14 Jul 2016 01:22
Replied by Nick on topic Facebook Share Thumbnail

Facebook Share Thumbnail

Category: English K2 Community

for an example article, when inspecting the code, I see the og tags (in the picture), but then again facebook does not give me a proper thumbnail.

i.imgur.com/pTLTu8g.png

I also tried to add a piece of code in my html/com_k2/templates/default item.php file. I added the code below

$doc =& JFactory::getDocument();
$doc->setMetaData( 'og:image', 'thegamerslife.eu/'.$this->item->image);

but still nothing
  • Nick
  • Nick's Avatar
14 Jul 2016 00:34
Facebook Share Thumbnail was created by Nick

Facebook Share Thumbnail

Category: English K2 Community

I know it's a heavily discussed topic, but as a newcomer to Joomla I kinda need a bit more explanation.

So I have a website ( thegamerslife.eu ) and I use K2 to create the content. The website is not fully complete, but as I try to finish it, I upload some content as well. So when trying to share an article of my website to facebook, the thumbnail preview is just the name of my website. No intro image,no title, no description. I know that it is something to do with og tags but, I can not figure out what exactly to do or what piece of code to paste. TL;DR : I need everytime I share an article on facebook, to have a thumbnail preview with the title of the article, and the intro image of that article. Help will be kidly appriciated.

Thank you in advance,
Nick
  • Nikita
  • Nikita's Avatar
13 Jul 2016 21:09

How to add custom meta tags to items?

Category: English K2 Community

I use joomla with k2 and i need to add Opeh Graph meta tags to my items. I alreday have meta description and others which i don't need. I need to add meta og:image ,og:image:height and og:image:width. I try to do this with JS, but than facebook grabber doesn't see my meta tags. So i need to add them with backend part. Also i need the oportunity to change thir values from my admin panel. Maybe you know some plugins(free) or something else? Maybe k2 have some own solutions?
Thanks!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
13 Jul 2016 13:35
Replied by Krikor Boghossian on topic K2 Tools search result page modules?

K2 Tools search result page modules?

Category: English K2 Community

Hello Ben,

If you followed the method I mentioned in my earlier post you will get a menu item which holds search listings (as well as orphan user/ tags).
Generally speaking items should not be rendered through that menu item. To ensure this, map each K2 category into separate menu items.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
11 Jul 2016 19:39
Replied by Krikor Boghossian on topic Infinite scroll for k2 articles

Infinite scroll for k2 articles

Category: English K2 Community

This can be done on a template override.
You can use a script like github.com/infinite-scroll/infinite-scroll (oldie but goodie) or you can take advantage of K2's JSON feeds and build your own script using a library like Underscore.js or airbnb.io/infinity/
Displaying 1161 - 1180 out of 6582 results.

Powered by Kunena Forum