Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
11 Feb 2015 16:28 - 11 Feb 2015 16:32
Extra fields of related items not available! was created by Mohamed Abdelaziz

Extra fields of related items not available!

Category: English K2 Community

Hi All,

More than a year ago, I wrote a small tutorial for how to make it possible to display extra fields of related items in the related items section, by hacking components/com_k2/models/itemlist.php, you can read it here: www.joomreem.com/joomla-developer-s-tips-and-tricks/item/51-how-to-show-extra-fields-for-k2-related-items.html

Then, I received a suggestion to convert this hack into a plugin, which is very interesting to me, after I started to develop this plugin, I found it is very easy to include this feature in core K2, without any more plugins.

I will be happy if K2 developers agreed to include this small hack in a coming release, just in case K2 community needs it.

The simple solution is just to modify components/com_k2/models/item.php, replace the below code, line ~181:
//Extra fields if (($view == 'item' && $item->params->get('itemExtraFields')) || ($view == 'itemlist' && ($task == '' || $task == 'category') && $item->params->get('catItemExtraFields')) || ($view == 'itemlist' && $task == 'tag' && $item->params->get('tagItemExtraFields')) || ($view == 'itemlist' && ($task == 'search' || $task == 'date') && $item->params->get('genericItemExtraFields'))) { $item->extra_fields = $this->getItemExtraFields($item->extra_fields, $item); }

With the following:
//Extra fields if ((($view == 'item' || $view == 'relatedByTag') && $item->params->get('itemExtraFields')) || ($view == 'itemlist' && ($task == '' || $task == 'category') && $item->params->get('catItemExtraFields')) || ($view == 'itemlist' && $task == 'tag' && $item->params->get('tagItemExtraFields')) || ($view == 'itemlist' && ($task == 'search' || $task == 'date') && $item->params->get('genericItemExtraFields'))) { $item->extra_fields = $this->getItemExtraFields($item->extra_fields, $item); }

So, it is just ORing $view == 'relatedByTag' to allow getting extra fields of related items.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
11 Feb 2015 13:12
Replied by Krikor Boghossian on topic No image when sharing on Facebook

No image when sharing on Facebook

Category: English K2 Community

Hello, the og: tags tags are wrong in your site.
<meta property=og:image content=http://www.opismenise.comhttp://www.opismenise.com/media/k2/items/cache/37d94cffab20228fab482582b7bd4773_M.jpg />

Note the double url.
This is probably caused by an performance extension. Try disabling these extensions one by one to see if the issue is solved.
  • Marco
  • Marco's Avatar
11 Feb 2015 10:53

k2 high number of running processes php

Category: English K2 Community

Hi,

i found in nginx access log many entries like this every second.:
09/Feb/2015:17:01:46 +0100] "GET /component/k2/starterpaket HTTP/1.1" 499 0 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"

But everytime the reference ip is the server itself. I think this issue came with the last update of k2, but i don´t know that can be the cause for this...

Some 3rd Party Extensions i´ve: Image Gallery Pro, dynamic 404, k2 canonical tags.

Thanks
Marco
  • Michael Yaeger
  • Michael Yaeger's Avatar
11 Feb 2015 00:33
Replied by Michael Yaeger on topic [SOLVED] K2 Data Map

[SOLVED] K2 Data Map

Category: English K2 Community

I did a print_r command on the item array and got the following output:
stdClass Object ( [id] => 3 [title] => Wild Juniper [alias] => wild-juniper [catid] => 4 [published] => 1 [introtext] => High Density Ceramic Body Porcelain Finish Light Commercial Interior Use Rustic Travertine Effect [fulltext] => Tile Outline [video] => [gallery] => Click to enlarge image sunvalleyplank.jpg Mojave Scene #1 Click to enlarge image sunvalleyplank.jpg Click to enlarge image sunvalleyplank2.jpg Click to enlarge image sunvalleyplank3.jpg [extra_fields] => Array ( [0] => stdClass Object ( [id] => 1 [name] => PEI Rating [value] => III [type] => textfield [group] => 1 [published] => 1 [ordering] => 1 [alias] => PEIRating ) [1] => stdClass Object ( [id] => 2 [name] => Shade Variation [value] => 1 [type] => textfield [group] => 1 [published] => 1 [ordering] => 2 [alias] => ShadeVariation ) [2] => stdClass Object ( [id] => 3 [name] => MOHS Rating [value] => 3 [type] => textfield [group] => 1 [published] => 1 [ordering] => 3 [alias] => MOHSRating ) [3] => stdClass Object ( [id] => 4 [name] => SCOF Wet [value] => 0.63 [type] => textfield [group] => 1 [published] => 1 [ordering] => 4 [alias] => SCOFWet ) [4] => stdClass Object ( [id] => 5 [name] => SCOF Dry [value] => 0.86 [type] => textfield [group] => 1 [published] => 1 [ordering] => 5 [alias] => SCOFDry ) [5] => stdClass Object ( [id] => 6 [name] => DCOF [value] => 0.65 [type] => textfield [group] => 1 [published] => 1 [ordering] => 6 [alias] => DCOF ) [6] => stdClass Object ( [id] => 7 [name] => Composition [value] => High Density Ceramic Body [type] => textfield [group] => 1 [published] => 1 [ordering] => 7 [alias] => Composition ) [7] => stdClass Object ( [id] => 8 [name] => Usage [value] => Interior [type] => textfield [group] => 1 [published] => 1 [ordering] => 8 [alias] => Usage ) [8] => stdClass Object ( [id] => 9 [name] => Installation [value] => Floor, Wall [type] => textfield [group] => 1 [published] => 1 [ordering] => 9 [alias] => Installation ) [9] => stdClass Object ( [id] => 10 [name] => Swatchboard [value] => http://www.surfaceartinc.com/files/Tile%20Images/Mojave/mojave-bd.jpg [type] => textfield [group] => 1 [published] => 1 [ordering] => 10 [alias] => Swatchboard ) [10] => stdClass Object ( [id] => 11 [name] => Suggested Grout [value] => http://www.surfaceartinc.com/files/Grout/quartzlock-swatch.png [type] => textfield [group] => 1 [published] => 1 [ordering] => 11 [alias] => SuggestedGrout ) [11] => stdClass Object ( [id] => 12 [name] => Complimentary Glass [value] => http://www.surfaceartinc.com/files/Glass/cl-gl-slate-zm.jpg [type] => textfield [group] => 1 [published] => 1 [ordering] => 12 [alias] => ComplimentaryGlass ) ) [extra_fields_search] => III 1 3 0.63 0.86 0.65 High Density Ceramic Body Interior Floor, Wall http://www.surfaceartinc.com/files/Tile%20Images/Mojave/mojave-bd.jpg http://www.surfaceartinc.com/files/Grout/quartzlock-swatch.png http://www.surfaceartinc.com/files/Glass/cl-gl-slate-zm.jpg [created] => 2015-01-29 16:45:09 [created_by] => 381 [created_by_alias] => [checked_out] => 0 [checked_out_time] => 0000-00-00 00:00:00 [modified] => 2015-02-10 18:56:53 [modified_by] => 847 [publish_up] => 2015-01-29 16:45:09 [publish_down] => 0000-00-00 00:00:00 [trash] => 0 [access] => 1 [ordering] => 1 [featured] => 0 [featured_ordering] => 0 [image_caption] => [image_credits] => [video_caption] => [video_credits] => [hits] => 5 [params] => Joomla\Registry\Registry Object ( [data:protected] => stdClass Object ( [enable_css] => 1 [jQueryHandling] => 1.8remote [backendJQueryHandling] => remote [userName] => 1 [userImage] => 1 [userDescription] => 1 [userURL] => 1 [userEmail] => 0 [userFeedLink] => 1 [userFeedIcon] => 1 [userItemCount] => 10 [userItemTitle] => 1 [userItemTitleLinked] => 1 [userItemDateCreated] => 1 [userItemImage] => 1 [userItemIntroText] => 1 [userItemCategory] => 1 [userItemTags] => 1 [userItemCommentsAnchor] => 1 [userItemReadMore] => 1 [userItemK2Plugins] => 1 [tagItemCount] => 10 [tagItemTitle] => 1 [tagItemTitleLinked] => 1 [tagItemDateCreated] => 1 [tagItemImage] => 1 [tagItemIntroText] => 1 [tagItemCategory] => 1 [tagItemReadMore] => 1 [tagItemExtraFields] => 0 [tagOrdering] => [tagFeedLink] => 1 [tagFeedIcon] => 1 [genericItemCount] => 10 [genericItemTitle] => 1 [genericItemTitleLinked] => 1 [genericItemDateCreated] => 1 [genericItemImage] => 1 [genericItemIntroText] => 1 [genericItemCategory] => 1 [genericItemReadMore] => 1 [genericItemExtraFields] => 0 [genericFeedLink] => 1 [genericFeedIcon] => 1 [feedLimit] => 10 [feedItemImage] => 1 [feedImgSize] => S [feedItemIntroText] => 1 [feedTextWordLimit] => [feedItemFullText] => 1 [feedItemTags] => 0 [feedItemVideo] => 0 [feedItemGallery] => 0 [feedItemAttachments] => 0 [feedBogusEmail] => [introTextCleanup] => 0 [introTextCleanupExcludeTags] => [introTextCleanupTagAttr] => [fullTextCleanup] => 0 [fullTextCleanupExcludeTags] => [fullTextCleanupTagAttr] => [xssFiltering] => 0 [linkPopupWidth] => 900 [linkPopupHeight] => 600 [imagesQuality] => 100 [itemImageXS] => 76 [itemImageS] => 268 [itemImageM] => 556 [itemImageL] => 844 [itemImageXL] => 1132 [itemImageGeneric] => 556 [catImageWidth] => 268 [catImageDefault] => 1 [userImageWidth] => 172 [userImageDefault] => 1 [commenterImgWidth] => 76 [onlineImageEditor] => splashup [imageTimestamp] => 0 [imageMemoryLimit] => [socialButtonCode] => [twitterUsername] => [facebookImage] => Medium [comments] => 1 [commentsOrdering] => DESC [commentsLimit] => 10 [commentsFormPosition] => below [commentsPublishing] => 1 [commentsReporting] => 2 [commentsReportRecipient] => [inlineCommentsModeration] => 0 [gravatar] => 1 [antispam] => 0 [recaptchaForRegistered] => 1 [akismetForRegistered] => 1 [commentsFormNotes] => 1 [commentsFormNotesText] => [frontendEditing] => 1 [showImageTab] => 1 [showImageGalleryTab] => 1 [showVideoTab] => 1 [showExtraFieldsTab] => 1 [showAttachmentsTab] => 1 [showK2Plugins] => 1 [sideBarDisplayFrontend] => 0 [mergeEditors] => 1 [sideBarDisplay] => 1 [attachmentsFolder] => [hideImportButton] => 0 [googleSearch] => 0 [googleSearchContainer] => k2GoogleSearchContainer [K2UserProfile] => 1 [redirect] => 101 [adminSearch] => simple [cookieDomain] => [taggingSystem] => 1 [lockTags] => 0 [showTagFilter] => 0 [k2TagNorm] => 0 [k2TagNormCase] => lower [k2TagNormAdditionalReplacements] => [recaptcha_public_key] => [recaptcha_private_key] => [recaptcha_theme] => clean [recaptchaOnRegistration] => 0 [akismetApiKey] => [stopForumSpam] => 0 [stopForumSpamApiKey] => [showItemsCounterAdmin] => 1 [showChildCatItems] => 1 [disableCompactOrdering] => 0 [metaDescLimit] => 150 [enforceSEFReplacements] => 0 [SEFReplacements] => À|A, Á|A, Â|A, Ã|A, Ä|A, Å|A, à|a, á|a, â|a, ã|a, ä|a, å|a, Ā|A, ā|a, Ă|A, ă|a, Ą|A, ą|a, Ç|C, ç|c, Ć|C, ć|c, Ĉ|C, ĉ|c, Ċ|C, ċ|c, Č|C, č|c, Ð|D, ð|d, Ď|D, ď|d, Đ|D, đ|d, È|E, É|E, Ê|E, Ë|E, è|e, é|e, ê|e, ë|e, Ē|E, ē|e, Ĕ|E, ĕ|e, Ė|E, ė|e, Ę|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ж|zh, ӂ|dzh, җ|zh, ӝ|dzh, з|z, ҙ|z, ӟ|dz, ӡ|dz, ѕ|dz, и|i, ѝ|i, ӥ|i, ӣ|i, і|i, ї|ji, Ӏ|i, й|y, ҋ|y, ј|j, к|k, қ|q, ҟ|q, ҡ|k, ӄ|q, ҝ|k, л|l, ӆ|l, љ|l, м|m, ӎ|m, н|n, ӊ|n, ң|n, ӈ|n, ҥ|n, њ|n, о|o, ӧ|o, ө|o, ӫ|o, ҩ|o, п|p, ҧ|pf, р|p, ҏ|p, с|s, ҫ|s, т|t, ҭ|th, ћ|t, ќ|k, у|u, ў|u, ӳ|u, ӱ|u, ӯ|u, ү|u, ұ|u, ф|f, х|h, ҳ|h, һ|h, ц|ts, ҵ|ts, ч|ch, ӵ|ch, ҷ|ch, ӌ|ch, ҹ|ch, џ|dz, ш|sh, щ|sht, ъ|a, ы|y, ӹ|y, ь|y, ҍ|y, э|e, ӭ|e, ю|yu, я|ya [k2Sef] => 0 [k2SefLabelCat] => content [k2SefLabelTag] => tag [k2SefLabelUser] => author [k2SefLabelSearch] => search [k2SefLabelDate] => date [k2SefLabelItem] => 0 [k2SefLabelItemCustomPrefix] => [k2SefInsertItemId] => 1 [k2SefItemIdTitleAliasSep] => dash [k2SefUseItemTitleAlias] => 1 [k2SefInsertCatId] => 1 [k2SefCatIdTitleAliasSep] => dash [k2SefUseCatTitleAlias] => 1 [sh404SefLabelCat] => [sh404SefLabelUser] => blog [sh404SefLabelItem] => 2 [sh404SefTitleAlias] => alias [sh404SefModK2ContentFeedAlias] => feed [sh404SefInsertItemId] => 0 [sh404SefInsertUniqueItemId] => 0 [cbIntegration] => 0 [categories] => Array ( [0] => 3 ) [menu_text] => 1 [show_page_heading] => 0 [secure] => 0 [mega_showtitle] => 1 [mega_tooltip] => 0 [mega_cols] => 1 [mega_group] => 0 [submenu_align] => auto [mega_subcontent] => 0 [page_title] => High Desert [page_description] => Premium tile and stone [page_rights] => [robots] => [inheritFrom] => 0 [theme] => product [num_leading_items] => 0 [num_leading_columns] => 1 [leadingImgSize] => Large [num_primary_items] => 0 [num_primary_columns] => 2 [primaryImgSize] => Medium [num_secondary_items] => 40 [num_secondary_columns] => 3 [secondaryImgSize] => Small [num_links] => 0 [num_links_columns] => 1 [linksImgSize] => XSmall [catCatalogMode] => 0 [catFeaturedItems] => 1 [catPagination] => 2 [catPaginationResults] => 1 [catTitle] => 1 [catTitleItemCounter] => 0 [catDescription] => 1 [catImage] => 0 [catFeedLink] => 1 [catFeedIcon] => 1 [subCategories] => 1 [subCatColumns] => 2 [subCatTitle] => 1 [subCatTitleItemCounter] => 1 [subCatDescription] => 1 [subCatImage] => 1 [catItemTitle] => 1 [catItemTitleLinked] => 0 [catItemFeaturedNotice] => 0 [catItemAuthor] => 0 [catItemDateCreated] => 0 [catItemRating] => 0 [catItemImage] => 1 [catItemIntroText] => 1 [catItemExtraFields] => 1 [catItemHits] => 0 [catItemCategory] => 1 [catItemTags] => 1 [catItemAttachments] => 0 [catItemAttachmentsCounter] => 0 [catItemVideo] => 0 [catItemVideoAutoPlay] => 0 [catItemImageGallery] => 1 [catItemDateModified] => 0 [catItemReadMore] => 0 [catItemCommentsAnchor] => 0 [catItemK2Plugins] => 1 [itemDateCreated] => 0 [itemTitle] => 1 [itemFeaturedNotice] => 0 [itemAuthor] => 0 [itemFontResizer] => 0 [itemPrintButton] => 0 [itemEmailButton] => 0 [itemSocialButton] => 0 [itemVideoAnchor] => 0 [itemImageGalleryAnchor] => 0 [itemCommentsAnchor] => 0 [itemRating] => 0 [itemImage] => 1 [itemImgSize] => Small [itemImageMainCaption] => 1 [itemImageMainCredits] => 1 [itemIntroText] => 1 [itemFullText] => 1 [itemExtraFields] => 1 [itemDateModified] => 0 [itemHits] => 0 [itemCategory] => 1 [itemTags] => 0 [itemAttachments] => 0 [itemAttachmentsCounter] => 0 [itemVideo] => 0 [itemVideoAutoPlay] => 0 [itemVideoCaption] => 0 [itemVideoCredits] => 0 [itemImageGallery] => 1 [itemNavigation] => 1 [itemComments] => 0 [itemTwitterButton] => 1 [itemFacebookButton] => 1 [itemGooglePlusOneButton] => 1 [itemAuthorBlock] => 0 [itemAuthorImage] => 0 [itemAuthorDescription] => 0 [itemAuthorURL] => 0 [itemAuthorEmail] => 0 [itemAuthorLatest] => 0 [itemAuthorLatestLimit] => 5 [itemRelated] => 1 [itemRelatedLimit] => 20 [itemRelatedTitle] => 1 [itemRelatedCategory] => 0 [itemRelatedImageSize] => 0 [itemRelatedIntrotext] => 0 [itemRelatedFulltext] => 0 [itemRelatedAuthor] => 0 [itemRelatedMedia] => 0 [itemRelatedImageGallery] => 0 [itemK2Plugins] => 1 [galleries_rootfolder] => [vfolder] => [afolder] => [vwidth] => [vheight] => [autoplay] => [enabledownload] => ) ) [metadesc] => [metadata] => robots= author= [metakey] => [plugins] => [language] => * [categoryname] => Mojave [categoryid] => 4 [categoryalias] => mojave [categoryparams] => {"inheritFrom":"0","theme":"product","num_leading_items":"0","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"0","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"40","num_secondary_columns":"3","secondaryImgSize":"Small","num_links":"0","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"0","catDescription":"1","catImage":"0","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":"0","catItemFeaturedNotice":"0","catItemAuthor":"0","catItemDateCreated":"0","catItemRating":"0","catItemImage":"1","catItemIntroText":"1","catItemIntroTextWordLimit":"","catItemExtraFields":"1","catItemHits":"0","catItemCategory":"1","catItemTags":"1","catItemAttachments":"0","catItemAttachmentsCounter":"0","catItemVideo":"0","catItemVideoWidth":"","catItemVideoHeight":"","catItemAudioWidth":"","catItemAudioHeight":"","catItemVideoAutoPlay":"0","catItemImageGallery":"1","catItemDateModified":"0","catItemReadMore":"0","catItemCommentsAnchor":"0","catItemK2Plugins":"1","itemDateCreated":"0","itemTitle":"1","itemFeaturedNotice":"0","itemAuthor":"0","itemFontResizer":"0","itemPrintButton":"0","itemEmailButton":"0","itemSocialButton":"0","itemVideoAnchor":"0","itemImageGalleryAnchor":"0","itemCommentsAnchor":"0","itemRating":"0","itemImage":"1","itemImgSize":"Small","itemImageMainCaption":"1","itemImageMainCredits":"1","itemIntroText":"1","itemFullText":"1","itemExtraFields":"1","itemDateModified":"0","itemHits":"0","itemCategory":"1","itemTags":"0","itemAttachments":"0","itemAttachmentsCounter":"0","itemVideo":"0","itemVideoWidth":"","itemVideoHeight":"","itemAudioWidth":"","itemAudioHeight":"","itemVideoAutoPlay":"0","itemVideoCaption":"0","itemVideoCredits":"0","itemImageGallery":"1","itemNavigation":"1","itemComments":"0","itemTwitterButton":"1","itemFacebookButton":"1","itemGooglePlusOneButton":"1","itemAuthorBlock":"0","itemAuthorImage":"0","itemAuthorDescription":"0","itemAuthorURL":"0","itemAuthorEmail":"0","itemAuthorLatest":"0","itemAuthorLatestLimit":"5","itemRelated":"1","itemRelatedLimit":"20","itemRelatedTitle":"1","itemRelatedCategory":"0","itemRelatedImageSize":"0","itemRelatedIntrotext":"0","itemRelatedFulltext":"0","itemRelatedAuthor":"0","itemRelatedMedia":"0","itemRelatedImageGallery":"0","itemK2Plugins":"1","catMetaDesc":"","catMetaKey":"","catMetaRobots":"","catMetaAuthor":""} [itemGroup] => secondary [category] => TableK2Category Object ( [id] => 4 [name] => Mojave [alias] => mojave [description] => [parent] => 3 [extraFieldsGroup] => 1 [published] => 1 [image] => 4.jpg [access] => 1 [ordering] => 1 [params] => {"inheritFrom":"0","theme":"product","num_leading_items":"0","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"0","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"40","num_secondary_columns":"3","secondaryImgSize":"Small","num_links":"0","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"0","catDescription":"1","catImage":"0","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":"0","catItemFeaturedNotice":"0","catItemAuthor":"0","catItemDateCreated":"0","catItemRating":"0","catItemImage":"1","catItemIntroText":"1","catItemIntroTextWordLimit":"","catItemExtraFields":"1","catItemHits":"0","catItemCategory":"1","catItemTags":"1","catItemAttachments":"0","catItemAttachmentsCounter":"0","catItemVideo":"0","catItemVideoWidth":"","catItemVideoHeight":"","catItemAudioWidth":"","catItemAudioHeight":"","catItemVideoAutoPlay":"0","catItemImageGallery":"1","catItemDateModified":"0","catItemReadMore":"0","catItemCommentsAnchor":"0","catItemK2Plugins":"1","itemDateCreated":"0","itemTitle":"1","itemFeaturedNotice":"0","itemAuthor":"0","itemFontResizer":"0","itemPrintButton":"0","itemEmailButton":"0","itemSocialButton":"0","itemVideoAnchor":"0","itemImageGalleryAnchor":"0","itemCommentsAnchor":"0","itemRating":"0","itemImage":"1","itemImgSize":"Small","itemImageMainCaption":"1","itemImageMainCredits":"1","itemIntroText":"1","itemFullText":"1","itemExtraFields":"1","itemDateModified":"0","itemHits":"0","itemCategory":"1","itemTags":"0","itemAttachments":"0","itemAttachmentsCounter":"0","itemVideo":"0","itemVideoWidth":"","itemVideoHeight":"","itemAudioWidth":"","itemAudioHeight":"","itemVideoAutoPlay":"0","itemVideoCaption":"0","itemVideoCredits":"0","itemImageGallery":"1","itemNavigation":"1","itemComments":"0","itemTwitterButton":"1","itemFacebookButton":"1","itemGooglePlusOneButton":"1","itemAuthorBlock":"0","itemAuthorImage":"0","itemAuthorDescription":"0","itemAuthorURL":"0","itemAuthorEmail":"0","itemAuthorLatest":"0","itemAuthorLatestLimit":"5","itemRelated":"1","itemRelatedLimit":"20","itemRelatedTitle":"1","itemRelatedCategory":"0","itemRelatedImageSize":"0","itemRelatedIntrotext":"0","itemRelatedFulltext":"0","itemRelatedAuthor":"0","itemRelatedMedia":"0","itemRelatedImageGallery":"0","itemK2Plugins":"1","catMetaDesc":"","catMetaKey":"","catMetaRobots":"","catMetaAuthor":""} [trash] => 0 [plugins] => [language] => * [_tbl:protected] => #__k2_categories [_tbl_key:protected] => id [_tbl_keys:protected] => Array ( [0] => id ) [_db:protected] => JDatabaseDriverMysqli Object ( [name] => mysqli [nameQuote:protected] => ` [nullDate:protected] => 0000-00-00 00:00:00 [_database:JDatabaseDriver:private] => surface_alpha [connection:protected] => mysqli Object ( [affected_rows] => 1 [client_info] => 5.6.21 [client_version] => 50621 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 1 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.6.22 [server_version] => 50622 [stat] => Uptime: 572306 Threads: 3 Questions: 15141512 Slow queries: 10 Opens: 78128 Flush tables: 7 Open tables: 768 Queries per second avg: 26.457 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 84448 [warning_count] => 0 ) [count:protected] => 47 [cursor:protected] => [debug:protected] => [limit:protected] => 0 [log:protected] => Array ( ) [timings:protected] => Array ( ) [callStacks:protected] => Array ( ) [offset:protected] => 0 [options:protected] => Array ( [driver] => mysqli [host] => localhost [user] => surface_alpha [password] => UT*p65!38g5) [database] => surface_alpha [prefix] => ddxnf_ [select] => 1 [port] => 3306 [socket] => ) [sql:protected] => SELECT COUNT(*) FROM #__k2_comments WHERE itemID=3 AND published=1 [tablePrefix:protected] => ddxnf_ [utf:protected] => 1 [errorNum:protected] => 0 [errorMsg:protected] => [transactionDepth:protected] => 0 [disconnectHandlers:protected] => Array ( ) ) [_trackAssets:protected] => [_rules:protected] => [_locked:protected] => [_autoincrement:protected] => 1 [_observers:protected] => JObserverUpdater Object ( [observers:protected] => Array ( ) [doCallObservers:protected] => 1 ) [_jsonEncode:protected] => Array ( ) [_errors:protected] => Array ( ) [link] => /premium-tile/by-collection/high-desert/itemlist/category/4-mojave.html ) [link] => /premium-tile/by-collection/high-desert/item/3-wild-juniper.html [printLink] => /premium-tile/by-collection/high-desert/item/3-wild-juniper.html?tmpl=component&print=1 [tags] => Array ( ) [imageXSmall] => /media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_XS.jpg [imageSmall] => /media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_S.jpg [imageMedium] => /media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_M.jpg [imageLarge] => /media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_L.jpg [imageXLarge] => /media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_XL.jpg [imageGeneric] => /media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_Generic.jpg [extraFields] => stdClass Object ( [PEIRating] => stdClass Object ( [id] => 1 [name] => PEI Rating [value] => III [type] => textfield [group] => 1 [published] => 1 [ordering] => 1 [alias] => PEIRating ) [ShadeVariation] => stdClass Object ( [id] => 2 [name] => Shade Variation [value] => 1 [type] => textfield [group] => 1 [published] => 1 [ordering] => 2 [alias] => ShadeVariation ) [MOHSRating] => stdClass Object ( [id] => 3 [name] => MOHS Rating [value] => 3 [type] => textfield [group] => 1 [published] => 1 [ordering] => 3 [alias] => MOHSRating ) [SCOFWet] => stdClass Object ( [id] => 4 [name] => SCOF Wet [value] => 0.63 [type] => textfield [group] => 1 [published] => 1 [ordering] => 4 [alias] => SCOFWet ) [SCOFDry] => stdClass Object ( [id] => 5 [name] => SCOF Dry [value] => 0.86 [type] => textfield [group] => 1 [published] => 1 [ordering] => 5 [alias] => SCOFDry ) [DCOF] => stdClass Object ( [id] => 6 [name] => DCOF [value] => 0.65 [type] => textfield [group] => 1 [published] => 1 [ordering] => 6 [alias] => DCOF ) [Composition] => stdClass Object ( [id] => 7 [name] => Composition [value] => High Density Ceramic Body [type] => textfield [group] => 1 [published] => 1 [ordering] => 7 [alias] => Composition ) [Usage] => stdClass Object ( [id] => 8 [name] => Usage [value] => Interior [type] => textfield [group] => 1 [published] => 1 [ordering] => 8 [alias] => Usage ) [Installation] => stdClass Object ( [id] => 9 [name] => Installation [value] => Floor, Wall [type] => textfield [group] => 1 [published] => 1 [ordering] => 9 [alias] => Installation ) [Swatchboard] => stdClass Object ( [id] => 10 [name] => Swatchboard [value] => http://www.surfaceartinc.com/files/Tile%20Images/Mojave/mojave-bd.jpg [type] => textfield [group] => 1 [published] => 1 [ordering] => 10 [alias] => Swatchboard ) [SuggestedGrout] => stdClass Object ( [id] => 11 [name] => Suggested Grout [value] => http://www.surfaceartinc.com/files/Grout/quartzlock-swatch.png [type] => textfield [group] => 1 [published] => 1 [ordering] => 11 [alias] => SuggestedGrout ) [ComplimentaryGlass] => stdClass Object ( [id] => 12 [name] => Complimentary Glass [value] => http://www.surfaceartinc.com/files/Glass/cl-gl-slate-zm.jpg [type] => textfield [group] => 1 [published] => 1 [ordering] => 12 [alias] => ComplimentaryGlass ) ) [cleanTitle] => Wild Juniper [numOfComments] => 0 [text] => High Density Ceramic Body Porcelain Finish Light Commercial Interior Use Rustic Travertine Effect [event] => stdClass Object ( [BeforeDisplay] => [AfterDisplay] => [AfterDisplayTitle] => [BeforeDisplayContent] => [AfterDisplayContent] => [K2BeforeDisplay] => [K2AfterDisplay] => [K2AfterDisplayTitle] => [K2BeforeDisplayContent] => [K2AfterDisplayContent] => ) [image] => /media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_S.jpg [imageWidth] => 268 ) 1
This will be a good starting point. I'll try to do the same on the category, tag, etc. elements to see what all else is available.
  • indiscoveries
  • indiscoveries's Avatar
10 Feb 2015 15:49 - 10 Feb 2015 16:28
Replied by indiscoveries on topic My Meta Name and Meta Description are Totally Broken

My Meta Name and Meta Description are Totally Broken

Category: English K2 Community

It's not a template issue

I have almost fixed the problem with meta. Now I have meta description, keywords and all the proper things for seo, but every article its showing the keywords from the K2 Category not the ones from K2 meta information of that particular article.

<meta name="keywords" content="discover tech, discover tech news, tech news, tech news magazine, the best tech news, discover new technology" />
<meta name="rights" content="All rights reserved to indiscoveries.com" />
<meta property="og:title" content="Corning Project Phiri: Gorilla Glass advantages" />
<meta property="og:type" content="article" />

The keys for this article should be : Gorilla Glass technology, Project Phiri, Corning new material, sapphire
  • Marco
  • Marco's Avatar
09 Feb 2015 21:27

k2 hohe Anzahl laufender Prozesse php

Category: Offizielle deutsche Gemeinschaft

Hi,

mir ist im nginx Access Log aufgefallen, das mehrere folgender Einträge die Sekunde eingetragen werden
09/Feb/2015:17:01:46 +0100] "GET /component/k2/starterpaket HTTP/1.1" 499 0 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"

Es werden als Ursache immer bots oder User agents ausgegeben aber die Referenz ip ist der Server selbst.

Das verhalten kahm erst mit dem aktuellen k2 Update.
3rd Party plugins im Bezug auf k2 sind noch: dynamic404 und k2 canonical Tag installiert.

Ich habe keine Ahnung was die Ursache ist, aber betrifft nur k2 URLs und diese Prozesse belasten den Server schon.

Jemand ne Idee was das sein könnte?

Besten dank,
LG Marco
  • Inze A. Markogiannopoulos Th. ΟΕ
  • Inze A. Markogiannopoulos Th. ΟΕ's Avatar
09 Feb 2015 15:17 - 15 Mar 2015 21:23
Replied by Inze A. Markogiannopoulos Th. ΟΕ on topic date of rss item don't appear in browser

date of rss item don't appear in browser

Category: Simple RSS Feed Reader

Hello,

I have a problem like that.

here is my rss feed . I didn't managed to appear the date and time of publication even ifthere is the xml tag <pubDate> in source code.

When I also parse the above feed with this validator I get various issues.

My joomla version is 2.5.28 and k2 version is v2.6.9

it is a bug or something I doing wrong?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
09 Feb 2015 14:04
Replied by Krikor Boghossian on topic Item View in Category - Limit Intro text by Character Limit

Item View in Category - Limit Intro text by Character Limit

Category: English K2 Community

Hello, the word/character limit will strip all tags.
This is nothing that can be changed. You way try to replace all the <br/> tags prior to applying a limit with PHP's str_replace php.net/manual/en/function.str-replace.php

You can find an example here: www.joomlaworks.net/forum/k2-en/17656-parameter-for-maximum-caracter-in-the-title#62142
  • Uwe Bethmann
  • Uwe Bethmann's Avatar
09 Feb 2015 11:13

Artikel bei K2 bearbeitet, jetzt ist alles weg

Category: Offizielle deutsche Gemeinschaft

Hallo,

habe gerade einen Artikel bei K2 bearbeiten wollen. Dann kam eine Fehlermeldung und nun ist alles weg. Er zeigt mir keine Artikel mehr an , sondern nur oben ganz klein die Meldung:
Warning: Invalid argument supplied for foreach() in /srv/www/vhosts/uwebethmannfoto.de/httpdocs/administrator/components/com_k2/views/items/tmpl/default.php on line 112

Habe auch schon geschaut, aber die default.php die er hier nennt scheint es nicht mehr zu geben. Vieleicht kann mitr ja jemand hier helfen, dass wäre super.

Update : default.php ist doch vorhanden, in den Zeilen 107 bis 112 steht folgendes :
</li>
<?php endforeach; ?>
<?php endif; ?>
<li class="tagAdd">
<input type="text" id="search-field" />
</li>

Vieleicht hilft das. Ach ja Joomla 1.7 und k2 2.5.4

Schon mal besten dank.

Gruß

Uwe
  • Tracey
  • Tracey's Avatar
08 Feb 2015 00:51

Item View in Category - Limit Intro text by Character Limit

Category: English K2 Community

Hi,

Forgive me if this has been discussed before but i would like to limit my intro text in the item category view. I know I can limit intro text by word count however I would like to limit by character count.

As you know k2 can also strip html tags from the intro text which is good. I am however having a problem with this when it comes to the
<br>
tag. Is there a way to replace that tag with a space in the intro text?

Does anyone have a code snippet I can use that will limit the category item intro text by character count and replace the
<br>
tag with
&nbsp;
.

I assume I will need to replace a block of code in the html override file category_item.php. If anyone knows how to accomplish the above, could you show the code that needs to be replaced and the replacement code.

I understand this will most likely cause the "Introtext word limit" in "Item view options in category listings" to stop working but thats ok.

Thanks
  • Lars Kühn
  • Lars Kühn's Avatar
05 Feb 2015 15:26
Replied by Lars Kühn on topic K2 tools dont search tags

K2 tools dont search tags

Category: English K2 Community

Hello Krikor,

could you please help me understand this?

In our tries to search and find K2 items by their tags I have red your answer to Philippe that we need to modify the K2 tools search.

I thought that I modify the K2 finder plugin so that the K2 tags will be inserted in the
FinderIndexerAdapter::index()
-process. Or are the tags already indexed?

Regards,
Lars
  • Philippe Bouvet
  • Philippe Bouvet's Avatar
05 Feb 2015 15:20
Replied by Philippe Bouvet on topic K2 tools dont search tags

K2 tools dont search tags

Category: English K2 Community

thanks.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
05 Feb 2015 15:18
Replied by Krikor Boghossian on topic K2 tools dont search tags

K2 tools dont search tags

Category: English K2 Community

Open the /modules/mod_k2_tools folder.
You will find all of K2 Tools's files there.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
05 Feb 2015 15:06
Replied by Krikor Boghossian on topic Facebook Like - Blank image

Facebook Like - Blank image

Category: English K2 Community

These items have not regenerated K2's images. This means that items bellow 200px in each dimensions are not suitable for Facebook.

This means practically that the issue lies with these specific items. Once you replace the image, the og tags will work fine.

Hint: Since Facebook caches the content of your site, you might have to wait some time in order to see any results.
  • Philippe Bouvet
  • Philippe Bouvet's Avatar
05 Feb 2015 14:02
Replied by Philippe Bouvet on topic K2 tools dont search tags

K2 tools dont search tags

Category: English K2 Community

Thanks Krikor, where do I find this helper?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
05 Feb 2015 13:43
Replied by Krikor Boghossian on topic K2 tools dont search tags

K2 tools dont search tags

Category: English K2 Community

What you should do is create a new module based on the K2 Tools search module.

Open the module's helper and based on this you can extend its functionality.
  • Philippe Bouvet
  • Philippe Bouvet's Avatar
05 Feb 2015 11:55
Replied by Philippe Bouvet on topic K2 tools dont search tags

K2 tools dont search tags

Category: English K2 Community

HI,

is it still true that the K2 item tags are not used in the Smart Search? I work with a programmer. Do you think it is possible to programm it? If yes, do you have the first direction?

Thanks
Philippe
  • JoomlaWorks
  • JoomlaWorks's Avatar
04 Feb 2015 13:31
February 4th, 2015: SocialConnect v1.6.0 was created by JoomlaWorks

February 4th, 2015: SocialConnect v1.6.0

Category: Product Updates [Archive]

SocialConnect v1.6.0 is now available for all active subscribers to download.

It's compatible with Joomla versions 1.5, 2.5 and 3.x and it features 6 new login options to add to your website, making SocialConnect the Joomla social login extension with the widest provider support in the Joomla community.

Features of this new update:
- Added Amazon login option.
- Added DISQUS login option.
- Added Foursquare login option.
- Added Instagram login option.
- Added Mozilla Persona login option.
- Added StackExchange login option.
- Updated extension to work with the latest Facebook API.
- Fixed login redirection issues with certain providers (due to API changes in these providers).
- Fixed conflict with T3 framework as reported from our users.
- Several other minor bugfixes.

You can see a demo of this new version on our website as well as the K2 website at: getk2.org/connect (top toolbar and main content).


DOWNLOAD
If you have an active SocialConnect membership, just head over to the Member Dashboard at www.joomlaworks.net/dashboard and grab your copy from your "Subscriptions" page.

Or purchase this latest release from just 19.90 EUR. More info at: www.joomlaworks.net/socialconnect


UPGRADING
Just upload the new version and it will overwrite the old one.

For more help, please visit the updated documentation page for the extension at: www.joomlaworks.net/support/docs/socialconnect

For support questions please use our Ticket Support System inside the Member Dashboard at www.joomlaworks.net/dashboard (active product membership required).
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
03 Feb 2015 17:13
Replied by Krikor Boghossian on topic facebook share didnt show title and image article

facebook share didnt show title and image article

Category: English K2 Community

Yes, these are the og:tags from the item.
You showed me a printscreen from the homepage, where there is no og:image tag.

I double checked your site and you have duplicate og:tags.
An extension you are using is creating these tags. You need to disable this extension and use K2's default og tags.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
03 Feb 2015 15:16
Replied by Krikor Boghossian on topic Modifying Tags results page

Modifying Tags results page

Category: English K2 Community

You can override the tag.php file and apply your own styling or markup.
This post will help you with the overriding getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

Now you can control the elements that are shown in K2's settings.

As for the tag displayed in the <h1> you can output the page's title.
$this->params->get('page_title') . If you want to remove the "Displaying items by tag:" you can use PHP's preg_replace php.net/manual/en/function.preg-replace.php
Displaying 2021 - 2040 out of 6582 results.

Powered by Kunena Forum