Questions tagged [k2]

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

27 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
1answer
742 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
1answer
21 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 ...
1
vote
0answers
266 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
278 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 ...
1
vote
0answers
112 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
0answers
552 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 ...
0
votes
0answers
6 views

K2 content module not showing articles images in category view / article list view

I associated articles of one category via its category to a K2 - content module. They all display when the page of the module is called, but the images of the articles only show up when you click on ...
0
votes
0answers
8 views

Customize alternative layout for the K2 Content module in Joomla

I already established an alternative layout php file and it's recognized by the Joomla administrator for the K2 - content modules. What I need to do now is code the layout I want in php, but the ...
0
votes
0answers
10 views

Problem with display of K2 Articles

I'm currently designing a new website, but am having issues with the frontend layout of K2 Articles (using them in Joomla). They display well on a page, but when you open them, they open either on the ...
0
votes
0answers
16 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,...
0
votes
0answers
14 views

Avoid that text Line “Search Results” appears when switching to another language?

I can't post my URL, so to simplify it, let's say: you have a website in three languages. in your main menu (one defined for each language, that all works well), you have one menutab, whose type is ...
0
votes
0answers
10 views

Is it possible to associate two publications so that they can be redirected properly when changing language?

I work on a joomla project that uses the component k2 to manage a blog, the project allows switching between two languages, English and Spanish. I require that being in the public view of the site ...
0
votes
0answers
17 views

Customize K2 articles Layout (center articles, add titles to primary, secondary, etc.)?

I'm currently designing a website with K2 articles, but I would really like to customize their layout, further than available with the simple options as number of columns in the primary, secondary, ...
0
votes
2answers
31 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
40 views

SEF URL Issues on several sites

I am running into an issue on several sites where the urls are "nesting" other links in the main url structure. For example: https://retrolube.com/blog/five-benefits-of-new-tires-for-your-vehicle/...
0
votes
1answer
12 views

how to show joomla k2 article previous date only and up cumming only.

i am create k2 article for event type post. 1: upcoming event 2: old event. i am, not able to showing old event for current date. how to filter both type event with single category. in k2 article ...
0
votes
0answers
733 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/...
0
votes
0answers
355 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
265 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
559 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 ...
0
votes
1answer
94 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
80 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?
0
votes
0answers
179 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
0answers
323 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
1answer
166 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
145 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?