Questions tagged [joomla-k2]

K2 is a Content Extension for Joomla! that provides more features than the standard content component.

222 questions
2
votes
2 answers

Joomla - Where is the code in K2 which saves a new item's Title and alias

I have looked every where in the administrator\components\com_k2 folder but am not able to find the code that saves a new item\article in K2. I checked the item.php file under models folder. No luck. I need to override the K2 item save method. I…
Viktor Tango
  • 453
  • 9
  • 19
2
votes
1 answer

How can I ajax within a joomla component's view (k2) to access & update user profile data from the database?

I am using joomla 2.5 with it's default "user profile" plugin that adds extra fields to the profile page of joomla. I am also using k2 and have a template override setup for the view I am working…
DigitalMediaGuy
  • 421
  • 1
  • 5
  • 18
2
votes
1 answer

Getting K2 extra fields and rating into the search results, generic.php

I try to show tags, item rating and exztra fields in the search results. I got tags to show, but i fail with rating and extra fields. Can somebody advice me or give a code example? Here is the code to show tags in generic.php:
Evgeniy
  • 2,337
  • 2
  • 28
  • 68
2
votes
1 answer

How to Remove main category from URL in K2 in Joomla 2.5

What I have: Joomla 2.58 , K2 , sh404sef Problem : I want to put K2 main category on my Homepage, so it shows a few folders of Sub-categories... But I don't want the main category to be seen in URL. But all other categories should be seen. How to do…
2
votes
1 answer

Why Joomla! K2 does not support Chinese search?

I used K2, but I have found search Chinese have no result via K2 search model. Joomla 3.0.X, K2 v2.6.1 file: /plugins/search/k2/k2.php . WHERE ("; if ($pluginParams->get('search_tags') && count($itemIDs)) { …
ray
  • 41
  • 1
  • 4
2
votes
3 answers

How do I survive from Joomla K2 image handling?

I have started a news website for a specific area of business one year ago. The website lists news and for every post there is a featured image. Unfortunately, there have been posted about 1500 news in a year and the website is taking 1,07Gbytes of…
Radolino
  • 1,834
  • 4
  • 26
  • 48
2
votes
1 answer

Joomla K2 content sort by number of votes

I'm using Joomla 2.5 and K2 2.5.7. I have a category with posts with a different number of votes. In the front end, I need to sort the items of this category by number of votes. I re-configured standard stars rating systems to simple "Give one…
CZBios
  • 57
  • 1
  • 10
2
votes
1 answer

Joomla Rating, intead of showing % i want it to view '8.2/10'?

Im using the component K2, and it's voting/rating system. Currently it displays the rating as a percentage, with some css to view stars. But instead of showing the stars, I want it to say for example, 4.5/5 This is the code for viewing it:
2
votes
1 answer

k2 limit number of items that can be created by user

I'm building a K2-website where I'd like to limit the cration of items per user. In this case there are "schools" with f.i. "news", "pictures", "events". school (max. 1) news (> 1) pictures (> 1) events (> 1) There should be only one…
2
votes
1 answer

Adding a custom field type on K2 component joomla 2.5

I'm trying to search on google for days already but I couldn't find some useful articles or resources that may able to help me with my concern. I would like to know if how I would be able to create a plugin for K2 component to add a new field type…
2
votes
1 answer

How to include new module in Joomla k2 item.php

I want to include one new module position inside the item.php of K2. Is it possible? I want to add advertisement in that module (diff in different categories) . This module should align left in the article and item image should align right in the…
SrikanthG
  • 25
  • 1
  • 6
1
vote
4 answers

How to override stylesheets - Joomla

I'm struggling with a property that is defined in 3 stylesheets: Joomla.css My Site's Template.css Content extension using K2.css The problem is that I need to align a toolbar to the right. The property text-align is correctly defined in the…
Eyal Kattan
  • 31
  • 1
  • 3
1
vote
2 answers

Joomla K2 Frontend page Modification

I have K2 plugin installed and my users are able to make posts, i want to modify the "Add Item" page , where could be its possible PHP file? in com_k2 folder or...? I am totally lost ! Any help will be greatly appreciated!
Ahsan
  • 459
  • 8
  • 22
1
vote
1 answer

Joomla main menu not showing all K2 Product Categories

I am using K2 component to showcase my products. I have created a menu item in my main menu for showing all my product categories (without sub categories) in a catalog style (To do this I went to- menu item> K2>Item Listing>Categories). I have…
black_belt
  • 6,601
  • 36
  • 121
  • 185
1
vote
1 answer

How to create a custom template for k2 category and assign this template into Joomla backed?

I read many answers on stack overflow and Joomla community but I didn't find how to display the category override template in the backend. Please check this screenshot.
Matthew
  • 13
  • 3
1 2
3
14 15