Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [k2]

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

0
votes
1answer
21 views

Bulk delete disabled k2 users Joomla 2.5

I have thousands of spam users. I use K2 and I would want to delete them from "k2_users" and from "users". I want to delete the blocked ones. I have tried deleting K2_users from the admin, but it does ...
3
votes
2answers
45 views

How to use convert_tz in a joomla query?

This is my current query: $uvdatetime = JFactory::getDate('now', new DateTimeZone('Europe/Athens')); $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select("distinct ". $db-&...
1
vote
1answer
16 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
164 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, ...
0
votes
0answers
9 views

Extensions for reading and writing to CRS API using XML/JSON

Im working on a site for a hotel to display the rooms available and allow for booking via their Central Reservations Systems API using XML/JSON. I was wondering the best approach and what extensions ...
0
votes
0answers
17 views

Add Module to Menu ID Component disappears.

I'm not a Joomla Developer by any stretch, but my client has asked me to do some work on a Joomla site. I've added a Component where the image exists as part of an Isotope linking to a page with the ...
0
votes
0answers
21 views

K2 articles don't give 404 error if the URL is incorrect

I have a problem with Joomla K2. When I write wrong url on the standart joomla article page Joomla gives 404 page. All work correctly. But if I write wrong url on the K2 article page then nothing ...
3
votes
1answer
56 views

Is there still no convenient way to hide an article's content on the category blog page?

I've been using K2 since Joomla 1.5. I noticed that in recent versions Joomla has done a lot of improvements to its content system, so I decide to switch back to use vanilla Joomla com_component for ...
0
votes
0answers
105 views

How to pass variables from k2 to chronoforms?

I need to transmit data from extrafields of k2 items to values in form fields by Chronoforms 6 which is on the same K2 item page. How can I do this?
2
votes
2answers
547 views

K2 Item view —Call to undefined method K2HelperHTML::loadjQuery()

my client has updated to the latest version of Joomla: 3.8.1 und K2 to 2.8.0. Frontend and Backend are working, but it is not possible to edit a k2 item or k2 category. List view is working, but not ...
0
votes
1answer
570 views

How to display social sharing buttons in k2 category items, tag list, and item's page?

The native K2 CKK social sharing feature don't pop by default so i spent some time and came up with this social sharing codes i want to share with the community. See my answer below and hope it helps ...
1
vote
0answers
219 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 ...
0
votes
0answers
173 views

Preventing from K2 front end item editing form opening in popup window

we are developing site on Joomla! 3.7.3 system. We let users to create articles using K2 component. At the moment when creating new article (K2), editing form is loaded in popup window. That's ...
1
vote
1answer
171 views

Wrong Creation time for article and error on edit of existing article

This may have been discussed but I can't find a fix. I get the following error when Saving an existing article. 0 DateTime::__construct(): Failed to parse time string (-1-11-30 03:00:00) at position ...
-4
votes
2answers
54 views

Align to center JO K2 Slideshow

How to aling to center JO K2 Slideshow of my web site? http://www.enpi-medscapes.org/index.php/en/
0
votes
1answer
65 views

K2 Category Filter Extension freezes after selection and filter

Just need a little bit of help with this extension: https://extensions.joomla.org/extension/filter-for-k2/ Basically it is a dropdown filter for K2 articles. My problem is that after you make a ...
1
vote
1answer
169 views

Joomla K2 articles redirect

I have a lot of URLs like this: www.mywebsite.com/blog/item/1021-le-foreste.html that becomes, after SEF changes, like this: www.mywebsite.com/blog/le-foreste.html How can I write an .htaccess rule ...
3
votes
2answers
135 views

Get rid of 404 Errors after removing K2

I want to explain the issue so hopefully any body can help me I had a website that use to contain K2 Component on it for different reasons that website got destroy so I had it to redo the whole ...
0
votes
2answers
197 views

K2 Items edit icon missing

I have been trying a lot lately to get this thing work.I'm using Joomla 3.6.5 and I am using JA University Template.I see when I log in through front end I am able to see the K2 edit icon for modules....
2
votes
2answers
125 views

Fatal error in K2 Tools Module

Every so often, I get this error in one of the sites I manage: [16-Dec-2016 17:08:20 America/Detroit] PHP Warning: require_once(/path/to/site/modules/mod_k2_toolsDShelper.php): failed to open stream:...
0
votes
0answers
611 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
91 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. ...
0
votes
0answers
75 views

How to upload K2 images in other server (different domain)

i 'm using K2 & joomla 3.6. As you know K2 component save uploaded pictures to echo "media/k2/items/cache/".md5("Image".K2 ITEM ID HERE)."_XL.jpg"; Now, i want to upload K2 images to a ...
0
votes
1answer
44 views

K2 show items to selected users

Using K2, I want to select the users of whom the K2 items would be shown to. How do I do this? So far I have created user groups and put them under registered users. Are there any components that ...
2
votes
5answers
1k views

How to change home page title and description in meta tag

I have a test website running joomla 3.4: http://test.amberaviation.com.au If you look at the source code of the home page. It says <meta name="description" content="change_here" /> <title&...
0
votes
0answers
287 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 ...
3
votes
1answer
151 views

K2 User show total number of Item hits

I have a requirement where I want to show the total number of hits that a user's items have been read. For example, if they have ten K2 items, each have been read 10 times, then I want to show the ...
1
vote
1answer
43 views

Editing K2 Items showing error

I am running K2 (Version 2.7.1) on a local instance of WAMP running Joomla 3.6.2. I was able to edit K2 items perfectly, but suddenly this morning, when trying to go into K2 (just the items) I'm being ...
1
vote
1answer
352 views

How to Select K2 Category to Show When Creating Menu Item

Can anyone tell me how you select WHICH K2 category to show when assigning it to a new menu item? It gives you the option to show a list of items under a specific category, but no way to pick which ...
0
votes
0answers
36 views

How to cancel image re-sizing in K2?

I have a WARP6 template with K2 installed. I'm having a problem with not being able to open a full sized image if I use widgekit lightbox or SigPlus gallery (same result). Once I click on thumbnail, I ...
0
votes
1answer
310 views

Koowa suddenly throwing strict errors

Got a call from a client today who suddenly had these errors on the site, on Joomla 2.5.28 Really interesting is - no one has made edits to this site in over a month, but these errors were not ...
1
vote
1answer
506 views

How to add link to the image uploaded in image tab of K2 item

Defining a Item in K2, we can upload an image in the Image tab of the K2 Item. Is it possible to create a link to that image? So when a user click in the image is redirect to the same link of the ...
1
vote
1answer
123 views

Joomla 3.6.2 - wbAMP Plugin not take author from k2 article [closed]

i have plugin wbAMP for Accelerate Mobile Pages of Google. But i have a problem about this plugin. wbAMP is 1.4 version, and when i start this plugin and I check with google developer operation i see ...
1
vote
2answers
65 views

What would be the best approach to modify multiple articles' content programatically?

Joomla 3.6 + k2 2.7 hosted on my own linux server. I am assuming someone else's webmaster job. He has had hundreds of k2 items on hte site, with a major problem: most of the articles have some ...
1
vote
1answer
190 views

How to add submenus to a menu?

My main menu is: Home | Software | Contact I have two K2 items in 'Software' category: Soft1 and Soft2. I want to make the Soft1 and Soft2 appear as submenus in the 'Software' menu. The Software ...
1
vote
1answer
211 views

K2 : Redirect user after login to User Blog Page

I am using K2 extension in a website. When a user logs in, I want the page to be redirected to the user page automatically where he can see his posts. I am using K2 login module. When the user logs in,...
0
votes
1answer
52 views

Why can googlebot crawl to author page while I never actually show author link on my website?

My website is built by Joomla3.6+k2 2.7. Today I find out that Google Webmaster indicates that "Googlebot found an increase in server errors". On the "Crawl Error" page, I see something like the ...
0
votes
1answer
123 views

How does K2 Custom HTML module differ from Joomla's?

I know there's a K2 Tool's module and it has among other things, its own Custom HTML module. The only difference that I've noticed is that it has a "Parse PHP code" option. So my question is... is ...
0
votes
1answer
307 views

K2: Call To A Member Function Get() On Null

I want to create a page where visitors can submit an article from frontend in K2. But when I create a menu item with type as item edit form in K2, it throws an error in frontend. The whole website ...
0
votes
1answer
446 views

K2: Show 5 articles per page

I have created a Categories menu item and wants to show only 5 articles per page. But can't find the option to add the limit in K2 component. Kindly, let me know where I can change this limit for ...
1
vote
1answer
362 views

How to call K2 currently viewed item's title / creation date on my template index.php?

As mentioned in the title, I'd like to know how to call the K2 current item's title & creation date in my template's index.php. What I'm trying to achieve is to display (if the user is on a K2 ...
1
vote
1answer
88 views

Integration of Facebook Comments

I am making a blogging website and planned to use Facebook comments rather than the native comment system.Used the following extensions to achieve this: K2 blog SP comments for adding facebook ...
0
votes
1answer
208 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 ...
2
votes
1answer
423 views

Get K2 Extra Field Name Using Id

I'm building a module that will read parameters from the current page's K2 extra fields, and use them to load modules. I've successfully loaded the current page's item, but it's "extra_fields" array ...
1
vote
1answer
317 views

Redirect K2 article url after alias change

I need to change the alias of a K2 article from id-alias1 to id-alias2. The issue is that search engines have already indexed the url with id-alias1 so I need to use a 301 redirect from id-alias1to id-...
0
votes
1answer
70 views

K2:How to run a certain task every time an item is saved

I am using k2 to buildg my Joomla 3.5 site. My k2 items are basically youtube videos, every youtube video has a URL pattern for its preview image and I want it to be the item's image. But I don't want ...
2
votes
2answers
368 views

Override category list of K2 frontend item form

I have overwritten K2 Frontend item submit I made a copy of components/com_k2/templates/default/itemform.php to templates/YOUR TEMPLATE/html/com_k2/SUBTEMPLATE NAME/itemform.php Based on the ...
1
vote
2answers
884 views

How do I get category object from within an item's template?

This is more of a PHP question but it is also related to Joomla. In K2's category.php file, there are these lines: <?php foreach($this->links as $key=>$item): ?> <div class="...
0
votes
1answer
492 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
0answers
115 views

Simple joomla k2 plugin not working

Just I started to make a plugin for Joomla k2, but somehow it does not work or I did something wrong. Plugin files: plg_k2_imagecrw.xml <?xml version="1.0" encoding="utf-8"?> <extension ...