Questions tagged [k2]

K2 is a Content and CCK (content construction kit) Extension for Joomla! that provides more features than the standard content component.

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
36 views

K2 SEF issues including Joomla Smart Search

I am having an issue with smart search and k2. If I search for a Joomla article then everything pulls the correct SEF URL. If I try to search for something that is a k2 item it loads correctly but ...
3
votes
0answers
1k views

RSS Feed for K2 Latest Items

I have created a menu item "Latest items from (one or more) users or categories" using K2. I have set it to display the latest 1 item from selected users. I want to create an RSS feed from this page -...
2
votes
0answers
24 views

K2 tools Archive redirects to homepage

K2 tools Archive redirects to homepage. How can I fix it? There's a topic with the same theme: www.joomlaworks.net/forum/k2-en/36125-k2-tools-archive-redirects-to-homepage,-how-to-fix But the advice ...
2
votes
0answers
371 views

How to dynamically add extra input fields in k2 item form

Problem I'm currently working on a form which has to implement a way to create a schedule for a single day. It should use a time for when an event starts, and a description about the events. The ...
2
votes
1answer
787 views

Problem with SEF URL For K2 Users/Authors

I'm having trouble setting up proper SEF URL's for the users / authors on a site I'm working on. I have "Enable advanced SEF for K2 URLs" on, and everything works fine as long I can associate a menu ...
1
vote
0answers
23 views

Add an Image to K2 article pragmatically

I want to add an image to a K2 article using PHP. Is there a way to add an image when I am creating the article using PHP? Adding the title, body, and category is simple enough. All you have to do is ...
1
vote
0answers
18 views

K2 SEF URls adds menu and category hierarchy

I just installed Joomla 3.9 and K2. Created few items in k2. But looks like URL generated by K2 is not really SEF Url. when categories are published as menu items I enabled SEF URLs in Global ...
1
vote
0answers
33 views

Homepage gives me a 403 resource error but still loads

I have a Joomla site using K2. If I open my site in a browser (https://www.niederlausitz-aktuell.de), everything loads as intended, but in my client-side console I get the following error: Failed to ...
1
vote
0answers
18 views

Joomla multilingual site HTML tag attributes don't change after install k2 component 2.10.3

I found a problem in the "System - K2" plugin in version 2.10.3. When the "System - K2" plugin is enabled, if the site is multilingual, the language attributes ("lang" ...
1
vote
0answers
14 views

Create 301 for Joomla K2 to Shopify Blog

We have moved to a Shopify site for our cart and moving all other data across. I'm trying to create 301 redirects for our K2 blog content and struggling. Using the Joomla Redirects (image) for all ...
1
vote
0answers
21 views

Display clicked K2 Article on new page, and not on page you already are

My website works with a main menu whose tabs are directly linked to K2 Articles / Categories of K2 Articles. The article(s) all nicely show if a given menu tab is chosen, BUT when an article is opened,...
1
vote
0answers
337 views

jQuery is not a function in ajax function

I'm modifying the website (I got it the way it is right now, maybe even worse). I'm getting the "Uncaught TypeError: jQuery(...) is not a function" on the website, the error appears in ajax function, ...
1
vote
0answers
804 views

“PHP Fatal error: Call to a member function get() on a non-object” in K2 Template

On December 8, I first received this error on a site I manage: [08-Dec-2016 13:38:28 America/Detroit] PHP Fatal error: Call to a member function get() on a non-object in /path/to/site/templates/...
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. ...
1
vote
1answer
586 views

How to get k2 item and category to use different templates?

This is a very old problem, I asked it before but never got a satisfying answer. By default, on a "k2 category" page, when you click one of the items, the "k2 item" page will keep using the current ...
1
vote
0answers
85 views

Access k2 extra field from Flexi Code module

I am using the Flexi Code module to display some php in a k2 page. This k2 page has a RoomID as extra field. How can I access it as a variable inside Flexi Code?
1
vote
0answers
578 views

K2—load Items and Categories by ID

I am about to write a little plugin for K2 what enables the user to link Items/categories to items/categories. The backend part is working and I would like to load the items/categories in public ...
1
vote
0answers
328 views

Override inner K2 function for output data?

I have developed with help of @seagul code that changes output data for K2 Authors. It adds to article an author which created the item + another authors based on author_ID located in Author alias ...
0
votes
0answers
13 views

Add tags to K2 article programically

Is there any way to add tags to a K2 article using PHP? Maybe there is a K2 tag observer class that I can use to add the tags like the code below. $tagsObserver = $Table->getObserverOfClass('...
0
votes
0answers
9 views

Modifying K2 Items Output

I am looking to edit some Joomla content and at the moment it's very difficult as I am not able to work in an office with my team. I'd like to removed some automated items from the K2 output on Joomla....
0
votes
0answers
9 views

K2 seems to be causing Googlebot issue

Recently I find out the CPU usage of my servers are extremely high. I have two different servers running Joomla websites, both of them are having this issue. By executing "top" command on each server ...
0
votes
2answers
299 views

Customize and Display Layout / URL of K2 Articles in Joomla

I'm currently designing a website in Joomla working with the k2 extension for Joomla. Let's simplify things and say I made a Category "A" of k2 articles. 1) I link a main menu to display the ...
0
votes
1answer
32 views

How to show k2 article previous date only and upcoming only

I am creating k2 articles as events. There will be: Upcoming events Old events. I am not able to show old events for current date. How to filter both types of events (Upcoming/Old) with ...
0
votes
0answers
470 views

K2 Pagination not showing on correct item

I have an issue where the pagination in K2 Category layout is not showing the active class on the correct element. This page is an example https://realsport101.com/news/page-3 This is showing the ...
0
votes
1answer
286 views

K2 Categories Upload Image

This never happneded to me before, I can't open the "Browse Server" box to search the image and upload. For some reason, I upload image from PC and when I save changes, it doesn't record the image ...
0
votes
1answer
119 views

Showing K2 itemID in frontend

Well as title says, I need to show ITEMID of K2 Item in frontend of that specific item... I know how to do this for Joomla Article, but is for K2 different?
0
votes
0answers
184 views

User Extended Fields Problem

I'm new with PHP and I'm developing a website with joomla 3. I have a module which is k2 users where I show all k2 users, well, I want to add to this module some fields from the User Extended Fields ...
0
votes
1answer
177 views

Where is K2 tag search page controller/view located?

I want to exclude K2 tag pages from being indexed by search engine by adding $document = & JFactory :: getDocument(); $document->setMetaData('robots', 'noindex'); to it's controller/view code....
-2
votes
1answer
160 views

Insering items from RSS feed every interval

I would like to insert items from RSS feed to k2, It has to happen every interval and I would like to only insert items that include at least one word from a given keyword list. Can it be done?