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
3answers
869 views

K2: Search Extra fields

My site is a photography gallery website built with K2. Each K2 item is a photo. I have attached extra fields to each of the photos, for example, resolution, shot by what camera, style, etc. I'd like ...
0
votes
1answer
537 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
93 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 ...
2
votes
1answer
485 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
402 views

K2 item association

I want to associate the k2 items in my website. I have been reading around on articles and forum saying that is possible and some others the opposite. So is there a way to associate my k2 items in the ...
2
votes
2answers
493 views

Email notifications on new K2 comment (Joomla 3)

I need either of these: a free plugin that allow me to notify a set of mails on a new k2 comment which functions in which files and order of the K2 core are called when I publish a new comment.
2
votes
2answers
3k views

Error 1146 while installing K2 extension

While installing K2 extension, Joomla 3.0, GoDaddy hosting) received error message: Table 'iWebazoid.bq1ry_k2_categories' doesn't exist SQL=SHOW FULL COLUMNS FROM bq1ry_k2_categories Unable to ...
4
votes
2answers
6k views

Error 503 service unavailable in my Godaddy hosting with Joomla 2.5 website

I create a Joomla website before 1 year, but before 1 month my Godaddy hosting said we have reached all resources and the CPU 100%, when I contact the support they said we have a PHP Script that start ...
0
votes
1answer
82 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 ...
1
vote
2answers
1k 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="...
5
votes
1answer
3k views

How to create an anchor link that points to a Joomla K2 Item

Using Joomla 3.4.1 with the K2 framework. I want to have an anchor link that points to a K2 item (article). So for example, I want to have a K2 item with several paragraphs of text. Within that text, ...
1
vote
1answer
172 views

K2 add item in frontend without registration

I wonder if there is an option in K2 to allow any visitor of my page to add an article without registration? For security reasons there also should be a recaptcha for the submitting form enabled. So ...
0
votes
1answer
185 views

joomla 2.5 / K2 - SQL Query to delete trashed items taking care of data integrity

I have not a testing environment where put this to the test: delete from k2_items where trash = 1 Of course this will remove everything that is marked as trash, but is there any other table that has ...
5
votes
3answers
11k views

Export K2 content from a joomla web site and Import to another website

I've a large amount of Joomla's K2 Categories and Items in website A. Now I need to have whole K2 Categories and Items of Website A in Website B. Are the any ways to export K2 data and import them ...
1
vote
2answers
153 views

Display Extra Fields only to Certain Users or Access Levels

I have a series of extra fields (prices) for my K2 items that I only want to show to logged in users. To add more, I need to show one field to one User Group (price A) and a different field to a ...
2
votes
1answer
390 views

K2 and duplicated Open Graph tags

I have this clien't site with Joomla 2.5 and K2 2.6.9. Yes, I know it should be updated but tell that to this 'cheap' client of mine. Nevertheless, it works flawlessly and client is happy with it for ...
1
vote
2answers
460 views

TinyMCE is deleting emoji and everything after

Whenever I embed a tweet with an emoji into a k2 field and save, everything after the first emoji is deleted. Is there some way I can make TinyMCE recognize emoji? Here's a picture of before/after ...
2
votes
1answer
1k views

K2 problem with displaying tagged content with SEF URLs

I have a Joomla K2 site (all latest versions) and I have noticed that google is finding URLs like this one : http://mysite.com/tag/some-defined-tag.html Problem is, that gives 404 error because ...
3
votes
3answers
513 views

Can a K2 attachment link to an external file?

I'm using Joomla's K2 content component. There's a bunch of reasons we're using it, but one is to provide a nice way for the client to attach files to some of their articles. This works really well ...
4
votes
1answer
226 views

Joomla K2 tags don't work with SEF

I created a multilingual web site(blog) and everything worked fine, except filtering by tag. My web site is on Joomla 3.4.3 and I am storing content using K2 ver. 2.6.9. My articles have tags and ...
0
votes
1answer
77 views

K2 extension: Social media (particularly Facebook) button with articles not working properly

Facebook button that comes by default with K2 extension under articles is not working properly. When Facebook button is clicked, the menu does not open to full length so that one can press post button ...
0
votes
1answer
896 views

How to disable Joomla k2 word limit for introtext

The website I'm working on uses component K2 for Joomla 2.5. I need to display images from introtexts on category page with list of its articles but images don't appear because of word limit filter. ...
2
votes
1answer
139 views

K2 item assigned to menu to displaying

In my menu item I assigned K2 > Item and I choosed my item to be displayed, but it's not working. I've been working with K2 for several months and this is the first time this is happening. For the ...
1
vote
1answer
74 views

Plugin result at module position

Can I display Plugin result in module position. I want to display allvideo plugin in module position. AllVideo associate video with K2 Item.
1
vote
0answers
348 views

k2 simple image gallery display at module position [closed]

I want to display gallery at module position associated with k2 item. Currently it display at bottom of K2 Item but I want to display it at Module Position "Right" How is it possible?
0
votes
2answers
1k views

How to list all users from certain user group in k2

I want to list all users from one of my k2 user groups for example I've user group named as "social team" and wonder to list all members belong to social team user group in k2? is that possible? How?
8
votes
3answers
5k views

How do I pull data from a K2 extra field that is an array?

I'm building a site that uses K2 extra fields, but I'm customizing the output so I'm not just pulling the entire extra field block. Normally something like this works for single entry fields: <?...
0
votes
1answer
31 views

HTML code on K2 platform that helps to manipulate clickable images

As I add affiliate links from Amazon on my articles (two ads of books from Amazon right now posted at the bottom of the article, http://www.sdsolutions.firm.in/life-insurance/item/16-relevance-of-...
0
votes
0answers
79 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
1answer
366 views

K2 in a custom module

I am creating a custom module in a warp7 master theme, and I want to get information from K2 that is used as a content management option. I have created a sidebar and inserted a custom module (the ...
1
vote
1answer
488 views

Block K2 tag pages from being indexed by search engine

I have K2 blog and some articles have tags. When people click on tag e.g. "summer" they get all articles related to "summer" but that creates duplicated content. How can I set all K2 tag pages to ...
1
vote
1answer
1k views

Is it possible to disable the Author profile in K2?

as title goes, I'm trying to disable the Author page functionality from K2. Simply put I don't want any available author links in articles nor the possibility to access author pages. On this last ...
1
vote
1answer
205 views

Assign a subtemplate to specific items in K2

I have several items in a category. I'd like to assign to some of them another template instead of the one inherited from the category template view. I know I could create a new category with new ...
5
votes
1answer
130 views

Where is class $tableClass defined?

I have very little knowledge about joomla core and PHP. In order to better handle my website, I am trying to read a small part of joomla core, when I come across this function JTable:getInstance, (...
0
votes
1answer
158 views

How does k2 calculate item view times

I am in a big trouble. I have been using ajax to fetch k2 item and display it on my page. On my page there are both k2 category list and article area, when one of the items in the category is clicked,...
2
votes
1answer
883 views

How to remove menu item ID from k2 item link

I have two different templates on my site, lets just call them Tcat and Titem. My k2 category view page is using Tcat, that is, the menu item of k2 category view page is associated with Tcat. I want ...
0
votes
1answer
157 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....
0
votes
1answer
159 views

Check if K2 image exists in third party exention

I need to check if a K2 article image exist in a third party extension. If the image exist, it should be displayed otherwise, a default image should be fetched. I am making the image path with : $...
0
votes
1answer
203 views

List only K2 items that have a video

I need to show a list of only the items from K2 articles that have the media (video) field filled. The K2 module permit this but has no pagination and I need it. Any idea or extensions to suggest? I ...
5
votes
1answer
1k views

How to create a multi layout page using k2

I want to create different layout using k2 component. I have three blog page where i want to show every page are different layout. Where "Categories/item/tag" page show 3 layout system. How to do ...
0
votes
1answer
28 views

Force an AND search between 2 fields in CCK?

I'm trying to find a way to use Zoo or K2 (or another CCK) to create a set of customer records. The customer would be able to enter BOTH their last name and an ID code into two fields in a search ...
0
votes
3answers
320 views

Can't install K2 component

I'm trying to install K2 component, cause it's necessary to launch News Show Pro GK5. But I always have errors connected with tables, like this Table 'solitaire.sw_k2_categories' doesn't exist SQL=...
1
vote
2answers
830 views

k2: How to remove default term “Children Categories” and give it a different title

Implemented k2 extension on client's website. Would like to know how to remove default term "Children Categories" and give it a different title (http://www.wilddusk.com/wild-india).
1
vote
1answer
383 views

Display list of files under categories on K2 in visually-appealing ways

Using K2 component. Did not like default look of files listed under categories (http://www.wilddusk.com/wild-india) with images of directories. How one can explore other visually-appealing way?
0
votes
1answer
161 views

Why Item of a category is displayed in homepage, instead of its category menu item? [duplicate]

I am displaying several items in my homepage, which are grouped in a category. Let's say I have displayed several cars in my homepage, all of them are in the category 'Cars'. I have a menu item called ...
1
vote
1answer
832 views

K2 Different Url same item

I can't manage how to solve this problem with K2. I have had a problem regarding this url: mysite.com/category/1/item-1 and mysite.com/category/item-1 and I managed to solve it using the .htaccess ...
1
vote
1answer
504 views

How to prevent “Featured”appearing in the title tag of my K2 featured articles?

I would like to remove the word "Featured" that appear every time I set an article as FEATURED in K2. For example, if my article meta title is: This is my article It changes to: This is My ...
4
votes
1answer
1k views

How to set ACL for K2 items Categories in backend

Lets say i have 3 k2 categories A, B, C and defined 2 user groups --> UserGroup1, UserGroup2 The Problem is how can I : UserGroup1 can only see/edit items in category A and can only select category ...
1
vote
0answers
541 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 ...
2
votes
2answers
1k views

How to get Item's ExtraFields to display in latest.php of K2 - Joomla

Im trying to get ExtraFields from K2 Articles. I have assigned my menu to Latest from Users or Categories in order to display all articles from several categories. It displays fine. But these ...