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
3
votes
0
answers
2k
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
1
answer
51
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 ...
2
votes
1
answer
837
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
0
answers
78
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
0
answers
51
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
0
answers
79
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
0
answers
35
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
0
answers
19
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
0
answers
32
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 ...
1
vote
0
answers
398
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
0
answers
436
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
0
answers
187
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
0
answers
599
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
0
answers
9
views
Email notifications for expiry item on K2 (Joomla )
Is there anyway to email the author of the item/article about the upcoming expiry of an item?
0
votes
0
answers
27
views
Sort Categories for sj_k2_categories_ii Module in Page
i use this sj_k2_categories_ii module in my site
i make some menu with this module
how i can sort Categories by alphabet in my page
Categories sorted by module with k2 item ID
thanks
0
votes
0
answers
33
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
2
answers
620
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
1
answer
54
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
0
answers
881
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
0
answers
517
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
1
answer
298
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
1
answer
627
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
1
answer
134
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
0
answers
89
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
0
answers
187
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
0
answers
332
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
1
answer
195
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....