Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • JoomlaWorks
  • JoomlaWorks's Avatar
05 Jan 2021 02:13
  • Sori
  • Sori's Avatar
04 Jan 2021 23:30
Replied by Sori on topic k2 mess up the html language tag

k2 mess up the html language tag

Category: English K2 Community

Thanks Fotis,

It was the weirdest problem I ever had. but it arised after I got hacked. I had to install a new fresh joomla and go into the pain of transfering all data to this new one and now I have the latest K2 and it works fine.
  • Sori
  • Sori's Avatar
04 Jan 2021 23:27 - 04 Jan 2021 23:39
Replied by Sori on topic changing item images names

changing item images names

Category: English K2 Community

Hi Fotis,

Thanks a lot for your reply.
Econa looks fun and expensive. I will try to try it.

I am continuously developing a photography website.
For the matter of copyright protection I have to go above and beyond. I have added codes into my K2 that will attach schema.org micro tags for each individual item images which makes it even more SE friendly.
However, when the files are downloaded anywhere on internet I would prefer it to have the site name attached to it. not a kdslkdjfsneiesdjsdlk_L.jpg file sitting in someones computer.
I also have watermarks and anticopy plugin but still I believe that can be helpful as well.

So would you please still let me know which php file controls the naming of the file?
I will promise to have a backup ;-)

The other problem is that all the cached file sizes are available in the source code. the XL, L , M and small. I need to work around that too.
  • JoomlaWorks
  • JoomlaWorks's Avatar
04 Jan 2021 19:50
Replied by JoomlaWorks on topic changing item images names

changing item images names

Category: English K2 Community

In short, you can't. K2 uses proper HTML tags to allow for better search engine indexing than relying solely on file names. Not to mention it makes things a lot easier to manage in the long run.

If you MUST be able to have a different file name that the one autogenerated by K2, have a look at this extension: www.firecoders.com/joomla-extensions/econa
  • JoomlaWorks
  • JoomlaWorks's Avatar
04 Jan 2021 19:43
Replied by JoomlaWorks on topic K2 Import/associate +10k Images

K2 Import/associate +10k Images

Category: English K2 Community

I would recommend this:
- Embed the imported images as an <img> tag at the very top of the imported content (text).
- Use this plugin github.com/getk2/k2-iaki to convert these images to K2 images, meaning images that are referenced as a different property in each K2 item object.

Otherwise, if you know the ID for each import Drupal post in K2 you can easily move its image into the /media/k2/items/src/ directory and rename it according to this pattern:
md5("Image" . $ID_OF_THE_ITEM);

By moving the Drupal images in that folder (I assume a single image per post), you essentially create your K2 image registry. Then you can use this PHP (CLI) script github.com/getk2/rebuildK2imageCache to generate 6 images per K2 item ("small" to "extra large") that K2 uses in different parts of the site (e.g. "Medium" size for categories, "Large" for the item view).

If it's unclear, let me know.
  • JoomlaWorks
  • JoomlaWorks's Avatar
04 Jan 2021 19:19
Replied by JoomlaWorks on topic Get items tags of specific K2 category

Get items tags of specific K2 category

Category: English K2 Community

The tags can be in the thousands. Is this practical for some reason?

Even if you only use a handful of tags, it's most likely a direct SQL query is faster that combining data that comes from K2's data models.
  • JoomlaWorks
  • JoomlaWorks's Avatar
04 Jan 2021 19:10
Replied by JoomlaWorks on topic k2 mess up the html language tag

k2 mess up the html language tag

Category: English K2 Community

The issue is most likely related to plugin ordering. Try v2.10.4 (dev) from getk2.org/downloads/?f=K2_Development_Release.zip - it will probably resolve your issue. Getting a file from v2.8 as you said is a bad, bad option...
  • JoomlaWorks
  • JoomlaWorks's Avatar
04 Jan 2021 18:59
Replied by JoomlaWorks on topic K2_RELATED_ITEMS_BY_TAG

K2_RELATED_ITEMS_BY_TAG

Category: Offizielle deutsche Gemeinschaft

Just override item.php in K2.

More on K2 templating & overrides here: getk2.org/documentation/tutorials/templating-with-k2-and-the-concepts-of-sub-templates
  • JoomlaWorks
  • JoomlaWorks's Avatar
04 Jan 2021 18:57
Replied by JoomlaWorks on topic Noindex page result

Noindex page result

Category: English K2 Community

Search results have unique URLs (which is a good thing really) as they can be both cached (on the server) and indexed by search engines.

If you want Google to discard your search results entirely, use this guide developers.google.com/search/docs/advanced/crawling/block-indexing to add a custom meta tag through the generic.php override in K2. Search results displayed by K2's search view will not be indexed after that.

For Joomla's search results view, you'll need to do the same as well. Find the relevant override and add a custom metatag.

Here's how you add a meta tag in a Joomla template override:
$document = JFactory::getDocument(); // For all search engines $document->setMetaData('robots', 'noindex'); // For GoogleBot only $document->setMetaData('googlebot', 'noindex');

You can even go more creative and add this in your template, albeit with a small change to only display that header when a search page is loaded.
if (JRequest::getCmd('option') == 'com_search' || JRequest::getCmd('searchword') != '') { $document = JFactory::getDocument(); // For all search engines $document->setMetaData('robots', 'noindex'); // For GoogleBot only $document->setMetaData('googlebot', 'noindex'); }

This essentially outputs the relevant meta tags for the Search component pages (com_search) as well as K2's "searchword" URL query.
  • JoomlaWorks
  • JoomlaWorks's Avatar
04 Jan 2021 18:39

Etag for K2 Category and Joomla article pages - Urgent help needed

Category: English K2 Community

Item listings (categories, tags etc.) are better off having a fixed cache-control max-age value, because they are more likely to get updated more often that individual items. That's why I didn't add the etag header in the itemlist view in K2.
  • borja
  • borja's Avatar
28 Dec 2020 19:17
Category Image was created by borja

Category Image

Category: English K2 Community

How can i get from an item its category image in K2 Content Module ?

I know that there is a method: K2Helpers::getCategoryImage($image, $params); that perhaps can help me.

i have done a var_dump, and i can see the following params:

["categoryname"]=> string(23) "El Jardín de lan" ["categoryid"]=> string(2) "34" ["categoryalias"]=> string(22) "el-jardin-de-la-"

["categoryparams"]=> string(2873) "{"inheritFrom":"0","catMetaDesc":"","catMetaKey":"","catMetaRobots":"","catMetaAuthor":"","theme":"","num_leading_items":"2","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"4","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"4","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"4","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"0","catDescription":"1","catImage":"1","catFeedLink":"1","catFeedIcon":"1","subCategories":"1","subCatColumns":"2","subCatOrdering":"","subCatTitle":"1","subCatTitleItemCounter":"1","subCatDescription":"1","subCatImage":"1","itemImageXS":"","itemImageS":"","itemImageM":"","itemImageL":"","itemImageXL":"","catItemTitle":"1","catItemTitleLinked":"1","catItemFeaturedNotice":"0","catItemAuthor":"1","catItemDateCreated":"1","catItemRating":"0","catItemImage":"1","catItemIntroText":"1","catItemIntroTextWordLimit":"","catItemExtraFields":"0","catItemHits":"0","catItemCategory":"1","catItemTags":"1","catItemAttachments":"0","catItemAttachmentsCounter":"0","catItemVideo":"0","catItemVideoWidth":"","catItemVideoHeight":"","catItemAudioWidth":"","catItemAudioHeight":"","catItemVideoAutoPlay":"0","catItemImageGallery":"0","catItemImageGalleryWidth":"","catItemImageGalleryHeight":"","catItemDateModified":"0","catItemReadMore":"1","catItemCommentsAnchor":"1","catItemK2Plugins":"1","itemDateCreated":"1","itemTitle":"1","itemFeaturedNotice":"1","itemAuthor":"1","itemFontResizer":"1","itemPrintButton":"1","itemEmailButton":"1","itemSocialButton":"1","itemVideoAnchor":"1","itemImageGalleryAnchor":"1","itemCommentsAnchor":"1","itemRating":"1","itemImage":"1","itemImgSize":"Large","itemImageMainCaption":"1","itemImageMainCredits":"1","itemIntroText":"1","itemFullText":"1","itemExtraFields":"1","itemDateModified":"1","itemHits":"1","itemCategory":"1","itemTags":"1","itemAttachments":"1","itemAttachmentsCounter":"1","itemVideo":"1","itemVideoWidth":"","itemVideoHeight":"","itemAudioWidth":"","itemAudioHeight":"","itemVideoAutoPlay":"0","itemVideoCaption":"1","itemVideoCredits":"1","itemImageGallery":"1","itemImageGalleryWidth":"","itemImageGalleryHeight":"","itemNavigation":"1","itemComments":"1","itemTwitterButton":"1","itemFacebookButton":"1","itemLinkedInButton":"1","itemAuthorBlock":"1","itemAuthorImage":"1","itemAuthorDescription":"1","itemAuthorURL":"1","itemAuthorEmail":"0","itemAuthorLatest":"1","itemAuthorLatestLimit":"5","itemRelated":"1","itemRelatedLimit":"5","itemRelatedTitle":"1","itemRelatedCategory":"0","itemRelatedImageSize":"0","itemRelatedIntrotext":"0","itemRelatedFulltext":"0","itemRelatedAuthor":"0","itemRelatedMedia":"0","itemRelatedImageGallery":"0","k2SeoGsdType":"","itemK2Plugins":"1"}"


how can get the image of the caegory from the item?


best regards,

Borja
  • NaDu Design
  • NaDu Design's Avatar
28 Dec 2020 09:43 - 19 Jan 2022 05:06
Get items tags of specific K2 category was created by NaDu Design

Get items tags of specific K2 category

Category: English K2 Community

Gym machine are a great place to gather for sports, free play, and to cheer on your favorite team. When it comes to basketball, it feels like that is what gyms were made for. If you are responsible for choosing a basketball hoop for your máy tập gym đa năng , there are some important features to consider depending on who will be playing and what type of versatility you need.

Players will appreciate having the opportunity to play in a gym machine with this type of equipment

If your players will be high school age and above, you can go all out with a high school and NCAA regulation hoop. Regulation specifics include a rim that is 18" in diameter and 10 feet high. Regulation also states that backboards must be 72" x 42". Glass backboards are used for most high schools, colleges, and in the NBA.



You can purchase glass backboards that are guaranteed to be unbreakable during play. For a high school and above level rim, a competition breakaway goal is the ideal choice. When attached to a regulation size glass backboard, you will have the ultimate playing experience. Players will appreciate having the opportunity to play in a gym machine with this type of equipment. This combination is great for aggressive play.

Watch more:  hub.docker.com/r/harukovn/may-tap-gym-da-nang

If your players will be junior high age, you may want to consider some different type of equipment. An acrylic or steel backboard is great for this age. It still gives players all the space and rebound quality they need, while being economical. Sticking with a 42" x 72" regulation size backboard is a good idea. Junior high is a great age to learn the skills necessary to become a team player in high school. Having a regulation size backboard can give kids the confidence they need to be successful.

If you are purchasing a basketball hoop for a Gym machine that will be used by elementary age kids, an adjustable height hoop is the best choice. From ages 5-11 kids do a lot of growing and changing. Coordination is still being developed and height varies drastically from the littlest to the biggest. To have the versatility you need to accommodate growing kids, an adjustable height hoop is needed. Most adjustable hoops can be moved from 6' to 10' in 1/2" increments. Trying to teach kids to play on a hoop that is too high will make them feel defeated. An adjustable hoop lets the littlest and the biggest elementary age children participate. The size of the backboard is not as important at this age, since they are working on the most basic skills.

Click more: forums.minecraftforge.net/topic/92998-side-mouse-buttons-not-hotkeying/

No matter what age player will be playing in your gym machine Haruko, you may have space issues. If you are purchasing a basketball hoop for a gym that will be used for other sports, a fold-up basketball hoop is the choice for you. These types of hoops can be folded to the side or up when needed. This will give your gym the versatility it needs to accommodate other sports. Purchasing a basketball hoop and goal for a gym machine Haruko is a big responsibility. But by considering who will be playing and what type of room is available, you can make a purchase that will provide years of fun competition.
  • Sori
  • Sori's Avatar
22 Dec 2020 08:31
Replied by Sori on topic k2 mess up the html language tag

k2 mess up the html language tag

Category: English K2 Community

I replaced that file with an older version 2.8 and it is working alright now.
Hopefully we will find what is going on with the new version.
  • Sori
  • Sori's Avatar
22 Dec 2020 07:53
Replied by Sori on topic k2 mess up the html language tag

k2 mess up the html language tag

Category: English K2 Community

found the cuplrit:
.../plugins/system/k2

the k2 system plugin mess up Joomla language.
  • Sori
  • Sori's Avatar
22 Dec 2020 00:00
Replied by Sori on topic k2 mess up the html language tag

k2 mess up the html language tag

Category: English K2 Community

I would seriously need help.
  • Sori
  • Sori's Avatar
21 Dec 2020 23:41
Replied by Sori on topic k2 mess up the html language tag

k2 mess up the html language tag

Category: English K2 Community

I understood this file is needed on my home page :
K2HelperUtilities
which is in this directory:
..../components/com_k2/helpers/utilities.php

I don't know why my first page which has nothing to do with k2 right now is needing this file.
  • Sori
  • Sori's Avatar
21 Dec 2020 23:12
Replied by Sori on topic k2 mess up the html language tag

k2 mess up the html language tag

Category: English K2 Community

Here is a quick 60sec video on the problem:
https://i.imgur.com/r4kSlek.mp4
  • Sori
  • Sori's Avatar
21 Dec 2020 22:55 - 21 Dec 2020 22:58
k2 mess up the html language tag was created by Sori

k2 mess up the html language tag

Category: English K2 Community

I would like to let you know that after two weeks of investigation and many failures I understood K2 messup the whole language tag system in Joomla.
If you have a multilingual website, and install K2, it will change the website to only each time get the default language tag.

since I use a rtl language on my website, I went through a lot to understand what is causing this error. And it is the new version 2.10.3 .

as soon as you install K2 this happens.
What could be the reason?
Anyone has any solution?

as you can see in the image. the page is in the fa-ir language but the html tag says it is en-gb and this is bad since it changes the whole rtl styles to ltr. and creates a mess.
  • ANDweb
  • ANDweb's Avatar
18 Dec 2020 17:04
K2_RELATED_ITEMS_BY_TAG was created by ANDweb

K2_RELATED_ITEMS_BY_TAG

Category: Offizielle deutsche Gemeinschaft

Hallo zusammen,
ich habe für "K2_RELATED_ITEMS_BY_TAG" einen Override erstellt: "Weitere Beiträge des Newsletters".

Der Kunde wünscht nun in der dargestellten Liste bzw. darüber (oberhalb der Überschrift) einen Link auf die Startseite des Newsletters. Ist das ggf. über die eine PHP-Datei von K2/Joomla möglich?

www.zgdv.de/newsletter/close-up-start-up-miraminds

Danke und Grüße
Uli
  • ExquisM
  • ExquisM's Avatar
18 Dec 2020 02:57

Etag for K2 Category and Joomla article pages - Urgent help needed

Category: English K2 Community

Hello,

I wonder how etags could be added to K2 Category and Joomla article pages, just like it has been done to the K2 Items pages since V2.10.3.

It looks certain browsers (eg. iOS Safari) increasingly rely on etags for html browser cache management.

I have a couple of websites where by accident, for a while, a long max-age value was defined in the http header for the html content/files. In this situation, the only way to make sure that fresh content loads to the browser of returning visitor, as far as I know, is to have an etag in the http header of the html content/file. Fortunately, K2 now adds the etags to the http header of K2 items, but that doesn't solve the problem for the K2 category and Joomla pages.

Please let me know if you have any suggestion.

I am willing to pay for custom development / private consultation -- pls contact me through my email address provided in my profile. Prompt response and help would be much appreciated.

Cheers,
Tom
Displaying 181 - 200 out of 6582 results.

Powered by Kunena Forum