Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • JoomlaWorks
  • JoomlaWorks's Avatar
05 Nov 2019 22:33

K2 image insertion via JCE is not recognised as image

Category: English K2 Community

Check if you're using a word limit for introtext. This would effectively kill any image being loaded there in category listings (in order to avoid any issues with breaking HTML tags).
  • JoomlaWorks
  • JoomlaWorks's Avatar
05 Nov 2019 18:39
Replied by JoomlaWorks on topic k2_items innodb

k2_items innodb

Category: English K2 Community

First off all, run a MyISAM to InnoDB converter script like this: pantheon.io/docs/myisam-to-innodb

Such a script will change any MyISAM table that CAN be switched to InnoDB.

2 tables in K2 won't be switched and for the 2 tables you need to run some SQL commands in phpMyAdmin or a similar DB administration tool. Copy/paste the lines below into some code/text editor and then replace XYZ with your actual DB prefix, then copy/paste the changed lines into phpMyAdmin's SQL tab after you switch to your K2 database. Depending on your server specs, this may take a while. And make sure you grab both a full and also a partial backup of your database (just the 2 tables what will be affected). If sh*t happens, you'll be able to re-import them.

The SQL to execute is this:
ALTER TABLE `XYZ_k2_items` DROP INDEX `search`; ALTER TABLE `XYZ_k2_items` DROP INDEX `title`; ALTER TABLE `XYZ_k2_items` ADD INDEX `access` (`access`); ALTER TABLE `XYZ_k2_items` ADD INDEX `published` (`published`); ALTER TABLE `XYZ_k2_items` ADD INDEX `publish_down` (`publish_down`); ALTER TABLE `XYZ_k2_items` ADD INDEX `publish_up` (`publish_up`); ALTER TABLE `XYZ_k2_items` ADD INDEX `trash` (`trash`); ALTER TABLE `XYZ_k2_items` ENGINE=InnoDB; ALTER TABLE `XYZ_k2_tags` DROP INDEX `name`; ALTER TABLE `XYZ_k2_tags` ENGINE=InnoDB;
  • JoomlaWorks
  • JoomlaWorks's Avatar
05 Nov 2019 18:32
Replied by JoomlaWorks on topic Fallback image

Fallback image

Category: English K2 Community

This requires you to create K2 template overrides so you can provide a fallback image when one is not used. This basically requires to override the sub-templates in both the component and modules (if you use them).

The code example referenced here is correct: www.joomlaworks.net/forum/k2-en/41394-default-image-for-k2-item#143886

You just need to adapt it to any changes that occurred up to v2.9.0 of K2.

The basic point is that you check if $item->image or $this->item->image (depending on context) is empty and if so, you simply output your own image tag.
  • carlostegs
  • carlostegs's Avatar
24 Oct 2019 01:39

Help - Problem with News site with v2 2.9 News limit?

Category: English K2 Community

Complementing

Module k2 Tools, I use it on my site as other purposes, but these other purposes do not take the page down. (Example: As a news calendar and others)

I found out that it only took from the air was using as TAG words and when reaching the news number 193.217, that's exactly where it gave the problem.

Here's the tip to know that module k2 Tools has a bug or bug when using it as TAG CLOUD

abs
Success
Jose Carlos
Translated by Google
  • carlostegs
  • carlostegs's Avatar
24 Oct 2019 01:14

Help - Problem with News site with v2 2.9 News limit?

Category: English K2 Community

Fotis
Hello!
All well?

Problem solved was the k2 tools module

After breaking my head, talking to the provider and everything, I found that I have no limit on the server because it is our exclusive server.

I just inadvertently found out that this is a problem with the k2 tools module that I was using as TAG words and this module was on countless pages almost all and so gave error 500

As soon as I turned it off I noticed that I can put normal materials, I already tested with this module turned off and now it is perfect.

But let the hint who use the k2 Tools module as TAG words can occur the same thing limiting the number of news do not know why it comes from it.

As soon as I took it out, I had no problem posting news.

Now I'll try to find another "TAG" word module to use in its place.

Anyway thanks for the help and I will leave it saved, if one day I need you I will ask your services

Thank you very much
Success
Jose Carlos
Translated by Google
Brazil
  • JoomlaWorks
  • JoomlaWorks's Avatar
21 Oct 2019 13:16

K2 Category display setting - Impossible to change layout grid

Category: English K2 Community

The content in one (or more) of your K2 items contained invalid HTML (=unclosed p or div tag). This caused the grid to break. I enabled HTML tag stripping for the introtext (which is used in category listings) in K2's Settings (see bottom option here jmp.sh/wzjwSBM) and the grid has been restored.
  • JoomlaWorks
  • JoomlaWorks's Avatar
21 Oct 2019 10:56

K2 Category display setting - Impossible to change layout grid

Category: English K2 Community

I've never seen this before. The issue is caused by unclosed div tags. Mail me a temporary super user access to have a look please. Use this: www.joomlaworks.net/support/get-help/contact
  • JoomlaWorks
  • JoomlaWorks's Avatar
17 Oct 2019 21:55
Replied by JoomlaWorks on topic Change RSS feed output

Change RSS feed output

Category: English K2 Community

You can't override how RSS/Atom are produced without modifying core K2 views.

As for JSON, it works just fine, e.g.: getk2.org/blog?format=json

That view is available for categories/tags/users (any itemlist) and items only. Perhaps you were testing a different view (e.g. "latest from X").
  • Marcus
  • Marcus's Avatar
04 Oct 2019 14:46

Simple Article Directory with Multiple Authors (and Personal Introduction)

Category: English K2 Community

I have not worked on designing websites in about five years, so I have some catching up to do as well.

I am currently working on building a relatively basic article directory for numerous authors, to expand an old site many of me and my friends used to use but has since gone down. CB is definitely financially burdensome (at this stage) and a bit too expansive for what I need, whereas K2 seems to be an ideal solution. I hope mainly to include expanded profiles with pictures, chat, messaging and links to all of the latest articles on the front page, including graphics ... magazine style perhaps?

I am currently browsing the forums and documentation in hopes of needing very little assistance, though it seems inevitable that I may need some help, so I am going ahead and introducing myself now.

Most of what I need I am sure is already posted elsewhere, so if I do not respond here, I am reading in hopes of avoiding any stupid questions down the line.

Thank you for an awesome product and such a strong level of community support!
  • JoomlaWorks
  • JoomlaWorks's Avatar
28 Sep 2019 09:31

Result of 3 identical K2 Tools modules in 3 languages differ for one of them

Category: English K2 Community

The English page has HTML code that is not properly closed, right before that module. It's an <a> element as you can see here: jmp.sh/8HNN7PF

Clean up the HTML there (close with an </a> tag or remove overall) and you should be fine :)
  • JoomlaWorks
  • JoomlaWorks's Avatar
26 Sep 2019 17:22
Replied by JoomlaWorks on topic K2 tools Archive redirects to homepage. How to fix?

K2 tools Archive redirects to homepage. How to fix?

Category: English K2 Community

I think you're missing <jdoc:include type="component" /> from your template's index.php file, that's why it appears as though nothing happens. If you do have it, then there must be a check that detects if the current menu item is the homepage and if so, it disables loading <jdoc:include type="component" />. In that case, when you click a link in the K2 Tools module, because these links don't have a menu item assigned to them, Joomla simply re-uses the homepage menu item ID. In which cases it's like you're reloading your frontpage. To bypass that, simply create a menu item in a hidden Joomla menu (=a menu that does not necessarily show up in the frontend of your site) that points to all K2 categories and use a generic menu item alias like "content". This way, provided you're not missing the <jdoc:include type="component" /> tag in your template's index.php file, K2 content will be loaded just fine.
  • natecovington
  • natecovington's Avatar
25 Sep 2019 19:08 - 25 Sep 2019 19:10
Replied by natecovington on topic Multiple select all check box not working

Multiple select all check box not working

Category: English K2 Community

I'm having the same issue with a Joomla 3.9.11 and K2 2.9.0

PHP 7.2.22

No errors in the console.

Edit: I can select all in other areas of the Joomla admin panel, it's just the entire K2 component that "Select all" is not working (Items, Tags, Categories, Comments, Extra Fields, Users)

Any ideas?

Thanks!
  • Franz Heine
  • Franz Heine's Avatar
07 Sep 2019 09:07
Problems with php 7.3 -> now php 7.4.33 was created by Franz Heine

Problems with php 7.3 -> now php 7.4.33

Category: English K2 Community

with php 7.3 i get this error:

Warning: Use of undefined constant com_k2 - assumed 'com_k2' (this will throw an Error in a future version of PHP) in /www/htdocs/w0154391/projekt-rechnung/templates/yoo_stage/layouts/theme.php on line 125

Warning: Use of undefined constant itemlist - assumed 'itemlist' (this will throw an Error in a future version of PHP) in /www/htdocs/w0154391/projekt-rechnung/templates/yoo_stage/layouts/theme.php on line 125

This is my code in the template:


<?php if ($this->count('main-topkategorie') && JRequest::getCmd( 'option' )==com_k2 && JRequest::getCmd( 'view' )==itemlist) : ?>


The reason is, i just want to show this module pos. in the itemlist view.

With php 7.1 is everything fine.
  • JoomlaWorks
  • JoomlaWorks's Avatar
29 Aug 2019 11:10
Replied by JoomlaWorks on topic html comment tag

html comment tag

Category: AllVideos

A toggle switch will be added for the HTTP header sent by K2 (and used for statistics reasons).

But this won't change a bit for bots or crawlers scanning your site. Determining a site is Joomla is a matter of just calling the robots.txt file, /configuration.php (which outputs a typical Joomla error message) or one of the Joomla XML or INI files used for updates. Not to mention, you can just call a typical Joomla file path and see what's returned.

Your best bet is to have a secure Joomla site with few trusted extensions (like K2).
  • Red Evolution
  • Red Evolution's Avatar
22 Aug 2019 11:05
Database Query Overloading CPU was created by Red Evolution

Database Query Overloading CPU

Category: English K2 Community

Hi Fotis,

We've been running the dev version of K2 on afloat.ie and it had been gradually getting slower and slower. Our server guy noticed that the CPU was getting absolutely hammered by the site and it used to be really quick. When he did some digging into it he found a few issues and said this:

"For example, this query:
SELECT tag.*
FROM vfi6j_k2_tags AS tag
JOIN vfi6j_k2_tags_xref AS xref ON tag.id = xref.tagID
WHERE tag.published = 1
AND xref.itemID = 41910
ORDER BY xref.id ASC
Was looking at over 20,000 rows to return a SINGLE row, with no indexes or anything! It looks like the developers did not profile their sql queries.]
I have added two indexes, and now that query loads and process 1 row and is a magnitude faster
And this was just one of the several queries I saw tonight."

Is this something you could look at implementing into your next version to help streamline it all a bit more.

Thanks,
Dave
  • JoomlaWorks
  • JoomlaWorks's Avatar
07 Aug 2019 14:08
  • bender
  • bender's Avatar
06 Aug 2019 16:03 - 06 Aug 2019 16:04
Replied by bender on topic Can't hide modules on K2 tag page? [SOLVED]

Can't hide modules on K2 tag page? [SOLVED]

Category: English K2 Community

Thanks a lot Fotis!!!
Thats helped.
  • JoomlaWorks
  • JoomlaWorks's Avatar
06 Aug 2019 15:44
Replied by JoomlaWorks on topic Can't hide modules on K2 tag page? [SOLVED]

Can't hide modules on K2 tag page? [SOLVED]

Category: English K2 Community

K2 tag pages don't have a specific menu item ID by default, so the modules you see in these pages will be assigned to the page you were before clicking on a K2 tag OR these modules are simply published everywhere.

To enforce a menu item ID on all K2 autogenerated pages like tags, user blogs, searches, date listings etc., just create a hidden menu in Joomla and in it add a menu item to all K2 categories. Then head over to the K2 component settings and under the Advanced tab look for the SEF section of K2 (near the end). Configure these accordingly and now your autogenerated pages will properly get the menu item ID of the menu item you previously created.
  • bender
  • bender's Avatar
06 Aug 2019 15:19

Can't hide modules on K2 tag page? [SOLVED]

Category: English K2 Community

Hi friends,
having a problem with K2 articles by tag page.
The results pages has urls such *****club.net/tag/S&P.html
And All modules are displayed on it.
The most of them has filtered by menu "display only on selected pages" for homepage.
Category & search results pages are working properly.
K2 v2.10.0 [Dev Build 20190522]

How to solve this?
  • JoomlaWorks
  • JoomlaWorks's Avatar
02 Aug 2019 16:18

Problem with display / linking of K2 - Articles on Joomla - Website

Category: English K2 Community

Replying...

1. An article overview does not contain other items, just the item you see. If you mean categories, then how items are presented in what you see is controlled first by the respective K2 category or if you're creating a menu item pointing to multiple categories, some parameters like the grid are controlled by the menu item options.

2. Not out of the box. A plugin is currently being tested for that and will be released in September as part of the K2 Pro suite of extensions. See a preview here: www.nationalopera.gr/en/alternative-stage/es-children-s-performances/item/2250-the-emperor-s-nightingale (language switcher is on the left sidebar).

3. When K2 content is assigned to a menu item, the URLs are indeed simplified. But I did not suggest this change for that. You need different menu items if you need your layout (=modules) to be different across pages/sections.
Displaying 441 - 460 out of 6582 results.

Powered by Kunena Forum