Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [k2]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
448 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 ...
1
vote
2answers
535 views

How can I limit what asset of K2 component a user group can see?

I'm using k2. I need to restrict "group A" users can see "Items" only. How can I do that? Any dirty/hacky ways are acceptable no matter what. Thank you.
1
vote
1answer
453 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
286 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,...
1
vote
1answer
133 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
1answer
658 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
2answers
72 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
265 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 ...
0
votes
1answer
428 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
73 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
140 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
3answers
887 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
589 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
94 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
512 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
430 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
510 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 ...
0
votes
1answer
87 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
178 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
194 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
12k 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
156 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
417 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
509 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
565 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
229 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
78 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
912 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
140 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
81 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
359 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
32 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
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?
1
vote
1answer
372 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
520 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
210 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
134 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
161 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
923 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
170 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
163 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 ...