Keyword

Advanced Search

Search Results (Searched for: extra field order)

  • chrisgermany
  • chrisgermany's Avatar
13 Feb 2015 11:17
Replied by chrisgermany on topic K2 item view - Gallery/Extra fields change ordering

K2 item view - Gallery/Extra fields change ordering

Category: English K2 Community

Hi,

so, now i copied the com_k2/default into my template directory and renamed it. Now in the joomla k2 backend, i can chose this new layout for the K2 conten module for example.

But i still do not know, what/how to change the item.php so that the gallery and extra fields are displayed before the intro text.

What do i have to do?

Sorry, but my php/css knowledge is poor, but i know copy and paste and trial and error :-)

Thanks fpr further helt in advance
  • Michael Yaeger
  • Michael Yaeger's Avatar
11 Feb 2015 22:04 - 12 Feb 2015 19:39
[SOLVED] Display name of parent category was created by Michael Yaeger

[SOLVED] Display name of parent category

Category: English K2 Community

I want to show the name of the parent category on my category page (kind of like a breadcrumb, but in a different context). Here is my K2viewItemList object array:
K2ViewItemlist Object ( [_name:protected] => itemlist [_models:protected] => Array ( [item] => K2ModelItem Object ( [__state_set:protected] => [_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: 3667 Threads: 3 Questions: 37806 Slow queries: 0 Opens: 261 Flush tables: 1 Open tables: 239 Queries per second avg: 10.309 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 478 [warning_count] => 0 ) [count:protected] => 48 [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=11 AND published=1 [tablePrefix:protected] => ddxnf_ [utf:protected] => 1 [errorNum:protected] => 0 [errorMsg:protected] => [transactionDepth:protected] => 0 [disconnectHandlers:protected] => Array ( ) ) [name:protected] => item [option:protected] => com_k2 [state:protected] => JObject Object ( [_errors:protected] => Array ( ) [task] => category [parameters.menu] => Joomla\Registry\Registry Object ( [data:protected] => stdClass Object ( [categories] => Array ( [0] => 6 ) [singleCatOrdering] => [menu-anchor_title] => [menu-anchor_css] => [menu_image] => [menu_text] => 1 [page_title] => [show_page_heading] => 0 [page_heading] => [pageclass_sfx] => [menu-meta_description] => [menu-meta_keywords] => [robots] => [secure] => 0 [mega_showtitle] => 1 [mega_font_awesome] => [mega_desc] => [mega_tooltip] => 0 [mega_tooltip_content] => [mega_cols] => 1 [mega_group] => 0 [mega_width] => [mega_colw] => [mega_colxw] => [mega_class] => [submenu_align] => auto [mega_subcontent] => 0 ) ) ) [event_clean_cache:protected] => onContentCleanCache [_errors:protected] => Array ( ) [isSigInstalled] => 1 ) [itemlist] => K2ModelItemlist Object ( [__state_set:protected] => [_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: 3667 Threads: 3 Questions: 37807 Slow queries: 0 Opens: 261 Flush tables: 1 Open tables: 239 Queries per second avg: 10.310 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 478 [warning_count] => 0 ) [count:protected] => 48 [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=11 AND published=1 [tablePrefix:protected] => ddxnf_ [utf:protected] => 1 [errorNum:protected] => 0 [errorMsg:protected] => [transactionDepth:protected] => 0 [disconnectHandlers:protected] => Array ( ) ) [name:protected] => itemlist [option:protected] => com_k2 [state:protected] => JObject Object ( [_errors:protected] => Array ( ) [task] => category [parameters.menu] => Joomla\Registry\Registry Object ( [data:protected] => stdClass Object ( [categories] => Array ( [0] => 6 ) [singleCatOrdering] => [menu-anchor_title] => [menu-anchor_css] => [menu_image] => [menu_text] => 1 [page_title] => [show_page_heading] => 0 [page_heading] => [pageclass_sfx] => [menu-meta_description] => [menu-meta_keywords] => [robots] => [secure] => 0 [mega_showtitle] => 1 [mega_font_awesome] => [mega_desc] => [mega_tooltip] => 0 [mega_tooltip_content] => [mega_cols] => 1 [mega_group] => 0 [mega_width] => [mega_colw] => [mega_colxw] => [mega_class] => [submenu_align] => auto [mega_subcontent] => 0 ) ) ) [event_clean_cache:protected] => onContentCleanCache [_errors:protected] => Array ( ) ) ) [_basePath:protected] => /home/surface/alpha/components/com_k2 [_defaultModel:protected] => itemlist [_layout:protected] => category [_layoutExt:protected] => php [_layoutTemplate:protected] => _ [_path:protected] => Array ( [template] => Array ( [0] => /home/surface/alpha/templates/theme1666/html/com_k2/product/ [1] => /home/surface/alpha/templates/theme1666/html/com_k2/templates/product/ [2] => /home/surface/alpha/components/com_k2/templates/product/ [3] => /home/surface/alpha/templates/theme1666/html/com_k2/ [4] => /home/surface/alpha/templates/theme1666/html/com_k2/default/ [5] => /home/surface/alpha/templates/theme1666/html/com_k2/templates/default/ [6] => /home/surface/alpha/templates/theme1666/html/com_k2/templates/ [7] => /home/surface/alpha/components/com_k2/templates/default/ [8] => /home/surface/alpha/components/com_k2/templates/ [9] => /home/surface/alpha/templates/theme1666/html/com_k2/itemlist/ [10] => /home/surface/alpha/components/com_k2/views/itemlist/tmpl/ ) [helper] => Array ( [0] => /home/surface/alpha/components/com_k2/helpers/ ) ) [_template:protected] => /home/surface/alpha/templates/theme1666/html/com_k2/templates/product/category_item.php [_output:protected] => Dark Morro Dark Morro Swatchboard Suggested Grout [_escape:protected] => htmlspecialchars [_charset:protected] => UTF-8 [_errors:protected] => Array ( ) [baseurl] => [document] => JDocumentHTML Object ( [_links] => Array ( [http://alpha.surfaceartinc.com/premium-tile/by-collection/venetian-classics/itemlist/category/5-sun-valley-plank.html] => Array ( [relation] => canonical [relType] => rel [attribs] => Array ( ) ) [/premium-tile/by-collection/venetian-classics/itemlist/category/5-sun-valley-plank.feed?type=rss] => Array ( [relation] => alternate [relType] => rel [attribs] => Array ( [type] => application/rss+xml [title] => RSS 2.0 ) ) [/premium-tile/by-collection/venetian-classics/itemlist/category/5-sun-valley-plank.feed?type=atom] => Array ( [relation] => alternate [relType] => rel [attribs] => Array ( [type] => application/atom+xml [title] => Atom 1.0 ) ) ) [_custom] => Array ( ) [template] => [baseurl] => [params] => [_file] => [_template:protected] => [_template_tags:protected] => Array ( ) [_caching:protected] => [_html5:JDocumentHTML:private] => [title] => Sun Valley Plank - Surface Art, Inc. [description] => [link] => [base] => http://alpha.surfaceartinc.com/premium-tile/by-collection/venetian-classics/itemlist/category/5-sun-valley-plank.html [language] => en-us [direction] => ltr [_generator] => Joomla! - Open Source Content Management [_mdate] => [_tab] => [_lineEnd] => [_charset] => utf-8 [_mime] => text/html [_namespace] => [_profile] => [_scripts] => Array ( [/media/system/js/mootools-core.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/media/jui/js/jquery.min.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/media/jui/js/jquery-noconflict.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/media/jui/js/jquery-migrate.min.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/media/system/js/core.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/components/com_k2/js/k2.js?v2.6.9&sitepath=/] => Array ( [mime] => text/javascript [defer] => [async] => ) [/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_magnificpopup/jquery.magnific-popup.min.js?v=0.9.9] => Array ( [mime] => text/javascript [defer] => [async] => ) [/plugins/content/jw_sigpro/jw_sigpro/tmpl/GalleriaWhite/js/behaviour.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/plugins/content/jw_sigpro/jw_sigpro/includes/js/behaviour.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/media/system/js/mootools-more.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/media/system/js/modal.js] => Array ( [mime] => text/javascript [defer] => [async] => ) [/media/jui/js/bootstrap.min.js] => Array ( [mime] => text/javascript [defer] => [async] => ) ) [_script] => Array ( [text/javascript] => jQuery.noConflict(); jQuery(function($) { $('.magnificpopup').magnificPopup({ type: 'image', tLoading: 'Loading image #%curr%...', gallery: { enabled: true, navigateByImgClick: true, preload: [0,1] // Will preload 0 - before current, and 1 after the current image }, image: { tError: 'The image #%curr% could not be loaded.', titleSrc: function(item) { return item.el.attr('title'); } } }); }); jQuery(function($) { SqueezeBox.initialize({}); SqueezeBox.assign($('a.modal').get(), { parse: 'rel' }); }); jQuery(document).ready(function(){ jQuery('.hasTooltip').tooltip({"html": true,"container": "body"}); }); ) [_styleSheets] => Array ( [/components/com_k2/css/k2.css] => Array ( [mime] => text/css [media] => [attribs] => Array ( ) ) [/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_magnificpopup/magnific-popup.css?v=0.9.9] => Array ( [mime] => text/css [media] => [attribs] => Array ( ) ) [/plugins/content/jw_sigpro/jw_sigpro/tmpl/GalleriaWhite/css/template.css] => Array ( [mime] => text/css [media] => screen [attribs] => Array ( ) ) [/plugins/content/jw_sigpro/jw_sigpro/includes/css/print.css] => Array ( [mime] => text/css [media] => print [attribs] => Array ( ) ) [/media/system/css/modal.css] => Array ( [mime] => text/css [media] => [attribs] => Array ( ) ) ) [_style] => Array ( ) [_metaTags] => Array ( [http-equiv] => Array ( [content-type] => text/html; charset=utf-8 ) [standard] => Array ( [keywords] => [rights] => [og:url] => http://alpha.surfaceartinc.com/premium-tile/by-collection/venetian-classics/itemlist/category/5-sun-valley-plank.html [og:title] => Sun Valley Plank - Surface Art, Inc. [og:type] => website [og:description] => ) ) [_engine] => [_type] => html [mediaVersion:protected] => 0463ba70cfe64500152ce66936d97d13 ) [category] => TableK2Category Object ( [id] => 5 [name] => Sun Valley Plank [alias] => sun-valley-plank [description] => [parent] => 6 [extraFieldsGroup] => 1 [published] => 1 [image] => /components/com_k2/images/placeholder/category.png [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: 3667 Threads: 3 Questions: 37808 Slow queries: 0 Opens: 261 Flush tables: 1 Open tables: 239 Queries per second avg: 10.310 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 478 [warning_count] => 0 ) [count:protected] => 48 [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=11 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 ( ) [event] => stdClass Object ( [K2CategoryDisplay] => ) [metaDescription] => [metaKeywords] => [metaRobots] => [metaAuthor] => [link] => /premium-tile/by-collection/venetian-classics/itemlist/category/5-sun-valley-plank.html [text] => ) [user] => JUser Object ( [isRoot:protected] => [id] => 0 [name] => [username] => [email] => [password] => [password_clear] => [block] => [sendEmail] => 0 [registerDate] => [lastvisitDate] => [activation] => [params] => [groups] => Array ( [0] => 9 ) [guest] => 1 [lastResetTime] => [resetCount] => [requireReset] => [_params:protected] => Joomla\Registry\Registry Object ( [data:protected] => stdClass Object ( ) ) [_authGroups:protected] => Array ( [0] => 1 [1] => 9 ) [_authLevels:protected] => Array ( [0] => 1 [1] => 1 [2] => 5 ) [_authActions:protected] => [_errorMsg:protected] => [_errors:protected] => Array ( ) [aid] => 0 [gid] => 1 ) [feed] => /premium-tile/by-collection/venetian-classics/itemlist/category/5-sun-valley-plank.feed [leading] => Array ( ) [primary] => Array ( ) [secondary] => Array ( [0] => stdClass Object ( [id] => 17 [title] => Whitney White [alias] => whitney-white [catid] => 5 [published] => 1 [introtext] => Rustic Wood Effect Italian [fulltext] => Tile Outline [video] => [gallery] => Click to enlarge image Sun-Valley---Dark-Morro.jpg Title Click to enlarge image Sun-Valley---Dark-Morro.jpg Click to enlarge image Sun-Valley---Sugar-Brown.jpg Click to enlarge image Sun-Valley-Plank---Sage-Green.jpg [extra_fields] => Array ( [0] => stdClass Object ( [id] => 1 [name] => PEI Rating [value] => V [type] => textfield [group] => 1 [published] => 1 [ordering] => 1 [alias] => PEIRating ) [1] => stdClass Object ( [id] => 2 [name] => Shade Variation [value] => 3 [type] => textfield [group] => 1 [published] => 1 [ordering] => 2 [alias] => ShadeVariation ) [2] => stdClass Object ( [id] => 3 [name] => MOHS Rating [value] => * [type] => textfield [group] => 1 [published] => 1 [ordering] => 3 [alias] => MOHSRating ) [3] => stdClass Object ( [id] => 4 [name] => SCOF Wet [value] => 0.62 [type] => textfield [group] => 1 [published] => 1 [ordering] => 4 [alias] => SCOFWet ) [4] => stdClass Object ( [id] => 5 [name] => SCOF Dry [value] => 0.72 [type] => textfield [group] => 1 [published] => 1 [ordering] => 5 [alias] => SCOFDry ) [5] => stdClass Object ( [id] => 6 [name] => DCOF [value] => * [type] => textfield [group] => 1 [published] => 1 [ordering] => 6 [alias] => DCOF ) [6] => stdClass Object ( [id] => 7 [name] => Composition [value] => PORCELAIN, IMPERVIOUS [type] => textfield [group] => 1 [published] => 1 [ordering] => 7 [alias] => Composition ) [7] => stdClass Object ( [id] => 8 [name] => Usage [value] => INTERIOR, EXTERIOR [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/Sun%20Valley%20Plank/svalley-bd2.jpg [type] => textfield [group] => 1 [published] => 1 [ordering] => 10 [alias] => Swatchboard ) [10] => stdClass Object ( [id] => 11 [name] => Suggested Grout [value] => Quartz Lock 2 #210 Cream [type] => textfield [group] => 1 [published] => 1 [ordering] => 11 [alias] => SuggestedGrout ) ) [extra_fields_search] => V 3 * 0.62 0.72 * PORCELAIN, IMPERVIOUS INTERIOR, EXTERIOR FLOOR, WALL http://www.surfaceartinc.com/files/Tile%20Images/Sun%20Valley%20Plank/svalley-bd2.jpg Quartz Lock 2 #210 Cream [created] => 2015-02-10 10:01:53 [created_by] => 381 [created_by_alias] => [checked_out] => 0 [checked_out_time] => 0000-00-00 00:00:00 [modified] => 2015-02-10 20:40:32 [modified_by] => 847 [publish_up] => 2015-02-10 10:01:53 [publish_down] => 0000-00-00 00:00:00 [trash] => 0 [access] => 1 [ordering] => 6 [featured] => 0 [featured_ordering] => 0 [image_caption] => [image_credits] => [video_caption] => [video_credits] => [hits] => 0 [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, Ę|E, ę|e, Ě|E, ě|e, Ĝ|G, ĝ|g, Ğ|G, ğ|g, Ġ|G, ġ|g, Ģ|G, ģ|g, Ĥ|H, ĥ|h, Ħ|H, ħ|h, Ì|I, Í|I, Î|I, Ï|I, ì|i, í|i, î|i, ï|i, Ĩ|I, ĩ|i, Ī|I, ī|i, Ĭ|I, ĭ|i, Į|I, į|i, İ|I, ı|i, Ĵ|J, ĵ|j, Ķ|K, ķ|k, ĸ|k, Ĺ|L, ĺ|l, Ļ|L, ļ|l, Ľ|L, ľ|l, Ŀ|L, ŀ|l, Ł|L, ł|l, Ñ|N, ñ|n, Ń|N, ń|n, Ņ|N, ņ|n, Ň|N, ň|n, ʼn|n, Ŋ|N, ŋ|n, Ò|O, Ó|O, Ô|O, Õ|O, Ö|O, Ø|O, ò|o, ó|o, ô|o, õ|o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z, ш|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] => 6 ) [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] => Venetian Classics [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 ) )
  • Michael Yaeger
  • Michael Yaeger's Avatar
11 Feb 2015 20:41
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 category array and got the following output:
TableK2Category Object ( [id] => 5 [name] => Sun Valley Plank [alias] => sun-valley-plank [description] => [parent] => 6 [extraFieldsGroup] => 1 [published] => 1 [image] => /components/com_k2/images/placeholder/category.png [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: 644838 Threads: 3 Questions: 16275091 Slow queries: 10 Opens: 87623 Flush tables: 8 Open tables: 768 Queries per second avg: 25.239 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 90972 [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=11 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 ( ) [event] => stdClass Object ( [K2CategoryDisplay] => ) [metaDescription] => [metaKeywords] => [metaRobots] => [metaAuthor] => [link] => /premium-tile/by-collection/venetian-classics/itemlist/category/5-sun-valley-plank.html [text] => )
  • 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,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y, Ь|Y, Ҍ|Y, Э|E, Ӭ|E, Ю|YU, Я|YA, а|a, ӑ|a, ӓ|a, ә|e, ӛ|e, ӕ|e, б|b, в|v, г|g, ґ|g, ѓ|g, ғ|g, ӷ|g, y|y, д|d, е|e, ѐ|e, ё|yo, ӗ|e, ҽ|e, ҿ|e, є|ye, ж|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.
  • quebecguitare
  • quebecguitare's Avatar
10 Feb 2015 08:22
Extra Fields Value NULL was created by quebecguitare

Extra Fields Value NULL

Category: English K2 Community

Hello, I've been trying for weeks to return the value of some extra field I have in a category. We would like to return them on the category_item.php template layout just under the header. The content of the extra field value that we want is a short description of the item.

I've been working with Gavick's support but we couldn't find the data of these fields on the database:
www.gavick.com/forums/university-joomla3/k2-layout-category-item-extra-field-42956

Here is the latest post from Gavick:

I've tried with this code, but it has the same problem I was talking about before. Extra fields are not picked from database for this. I've checked dump for the whole item and the only place it's used is in search fields. Here is an image with the content of extra fields when the regular K2 display is used. As You see only 3 elements are there and all the rest is presented in dump as NULL.

This must be codded somewhere deeper in core K2 functions. I think K2 developers will be more suitable here to help.


With a dump we could only retrieve these values:

(We are looking for the Extra Field 13 value, named "Résumé" / Alias: coursresume)
object(stdClass)#974 (8) { ["id"]=> string(2) "13" ["name"]=> string(8) "Résumé" ["value"]=> NULL ["type"]=> string(8) "textarea" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(1) "3" ["alias"]=> string(11) "coursresume" } [3]=>

Here is the code used in category_item.php:
 <?php $extrafields = array(); ?> <?php if( is_array( $item->extra_fields ) ): ?> <?php //convertArray to use ids as key foreach($item->extra_fields as $extraFlds){ $extrafields[$extraFlds->id] = $extraFlds->value; } ?> <?php endif; ?> <?php if ($this->item->params->get('catItemTitleLinked')): ?> <a href="<?php echo $this->item->link; ?>"><?php echo $this->item->title; ?></a></br> <?php if($extrafields[13]): ?> <a href="<?php echo $this->item->link; ?>"><?php echo $extrafields[13]; ?></a> <?php endif; ?> <?php else: ?> <?php echo $this->item->title; ?> <?php endif; ?>

Maybe I am doing something wrong?

These are my extra field, they are used for the template Suivi_K2:


Nom Groupe Type Publié(e) Id
Avatar du Prof
Alias: AvatarProf Suivi en ligne - K2 Image 9
Date du Cours
Alias: DateduCours Suivi en ligne - K2 Date 10
Résumé
Alias: coursresume Suivi en ligne - K2 Zone de texte 13

Théorie vue
Alias: Thorievue Suivi en ligne - K2 Zone de texte 12
Technique vue
Alias: Techniquevue Suivi en ligne - K2 Zone de texte 14
Répertoire
Alias: Repertoireauprogramme Suivi en ligne - K2 Zone de texte 15
Livre ou lecture
Alias: Livre Suivi en ligne - K2 Champ Texte 16
Écoute suggérée
Alias: disco Suivi en ligne - K2 Champ Texte 17
Lien Vidéo
Alias: video Suivi en ligne - K2 Lien 18
Paiement
Alias: paiement Suivi en ligne - K2 Options 19
Note
Alias: note Suivi en ligne - K2 Zone de texte 20



This is one of the category with the template Suivi_K2 assigned:
www.quebecguitare.ca/suivi/guyla ... -m-quebec/

This is one K2 Item under that category with the extra_field_13 that contains a value:
www.quebecguitare.ca/suivi/guylaine/cours-de-guitare-classique-de-mathis-m-quebec-1

--The ExtraField13 is named "Résumé" and within this K2 Item contains the following value that we should see in the header of the category_item layout: "Bonjour Lucie, voici le Suivi pour le cours de cette semaine. On a pratiqué les pièces pour le concert. Ça va bien aller, Mathis a très bien pratiqué.

J'ai remarqué que Mathis est maintenant capable de jouer plus fort. C'est très bien. Bravo Mathis!!"


Link site / section: www.quebecguitare.ca/suivi/

Thank you,
Regards
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
06 Feb 2015 20:50
Replied by Krikor Boghossian on topic K2 item view - Gallery/Extra fields change ordering

K2 item view - Gallery/Extra fields change ordering

Category: English K2 Community

Did you check to see if your template already has overrides?

The: /templates/mytemplate//html/com_k2/default/item.php is indeed the correct path.
  • chrisgermany
  • chrisgermany's Avatar
06 Feb 2015 19:38 - 06 Feb 2015 19:48
Replied by chrisgermany on topic K2 item view - Gallery/Extra fields change ordering

K2 item view - Gallery/Extra fields change ordering

Category: English K2 Community

Krikor, thank you for your reply.

This explains, how to create a k2 subtemplate, all right, copying it into the site template, giving new name etc.

But i still have to change the ordering of the item view, how is that done in the subtemplate?

I moved the Blocks in the /componemt/k2/template....item.php, that did not work, does that mean if i do the same in the /templates/mytemplate//html/com_k2/default/item.php, editing item.php there THEN it will work??
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
06 Feb 2015 13:18
Replied by Krikor Boghossian on topic K2 item view - Gallery/Extra fields change ordering

K2 item view - Gallery/Extra fields change ordering

Category: English K2 Community

Please read this post getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

After you have overriden the item.php file, you can move the blocks (he comments will help you locate them).
  • chrisgermany
  • chrisgermany's Avatar
06 Feb 2015 10:37

K2 item view - Gallery/Extra fields change ordering

Category: English K2 Community

Hi,

first, everything is up to date (Jooomla, K2, Sigallery).

I have to change the ordering in the K2 item view. Instead of

1. Image
2. Introtext and ItemFulltext
3. Extra Fileds
4. Gallery

i need to have the gallery and then the extrafileds directly after the item image:it in that way:

1. Image
2.Gallery
3. Extra Fileds
4.Introtext and ItemFulltext

I tried it with editing the k2/templates/item.php cut/ and paste the code for the extra field for example, but then the item full text disappears.

How can i achieve that - thank you for help!


<!-- Item extra fields -->
<div class="itemExtraFields">
<h3><?php echo JText::_('K2_ADDITIONAL_INFO'); ?></h3>
<ul>
<?php foreach ($this->item->extra_fields as $key=>$extraField): ?>
<?php if($extraField->value != ''): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
<?php if($extraField->type == 'header'): ?>
<h4 class="itemExtraFieldsHeader"><?php echo $extraField->name; ?></h4>
<?php else: ?>
<span class="itemExtraFieldsLabel"><?php echo $extraField->name; ?>:</span>
<span class="itemExtraFieldsValue"><?php echo $extraField->value; ?></span>
<?php endif; ?>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>

<?php if($this->item->params->get('itemHits') || ($this->item->params->get('itemDateModified') && intval($this->item->modified)!=0)): ?>
<div class="itemContentFooter">

<?php if($this->item->params->get('itemHits')): ?>
  • pascal95223
  • pascal95223's Avatar
27 Jan 2015 15:26

[SOLVED] Returning the Value of an Extra_Field In category_item View

Category: English K2 Community

Hi Krikor,

I try this and it's same.

Category_item.php
object(stdClass)#467 (8) { ["id"]=> string(2) "22" ["name"]=> string(6) "krikor" ["value"]=> NULL ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(2) "11" ["alias"]=> string(6) "krikor" } 

item.php
object(stdClass)#756 (8) { ["id"]=> string(2) "22" ["name"]=> string(6) "krikor" ["value"]=> string(3) "sdq" ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(2) "11" ["alias"]=> string(6) "krikor" }
  • pascal95223
  • pascal95223's Avatar
27 Jan 2015 15:00

[SOLVED] Returning the Value of an Extra_Field In category_item View

Category: English K2 Community

Yes i create new one and test it:
On category_item.php
object(stdClass)#466 (8) { ["id"]=> string(2) "21" ["name"]=> string(4) "test" ["value"]=> NULL ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(2) "10" ["alias"]=> string(4) "test" }


On item.php
object(stdClass)#562 (8) { ["id"]=> string(2) "21" ["name"]=> string(4) "test" ["value"]=> string(14) "CEST OK A MORT" ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(2) "10" ["alias"]=> string(4) "test" }
  • pascal95223
  • pascal95223's Avatar
27 Jan 2015 13:48 - 27 Jan 2015 13:49

[SOLVED] Returning the Value of an Extra_Field In category_item View

Category: English K2 Community

No no it's same, i just try to remove last extrafields and create a new one to test.

On category_item.php
object(stdClass)#466 (8) { ["id"]=> string(2) "21" ["name"]=> string(4) "test" ["value"]=> NULL ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(2) "10" ["alias"]=> string(4) "test" }

On item.php
object(stdClass)#562 (8) { ["id"]=> string(2) "21" ["name"]=> string(4) "test" ["value"]=> string(14) "CEST OK A MORT" ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(2) "10" ["alias"]=> string(4) "test" }
  • pascal95223
  • pascal95223's Avatar
27 Jan 2015 13:11

[SOLVED] Returning the Value of an Extra_Field In category_item View

Category: English K2 Community

OK i test it.
<?php if( isset($this->item->extraFields->test->value)): echo ok; else: echo notok; endif; ?>

I see notok on category_item.php and i see ok on item.php

And var_dump is different on item.php
 object(stdClass)#562 (8) { ["id"]=> string(2) "21" ["name"]=> string(4) "test" ["value"]=> string(14) "OK TEST OK" ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(2) "10" ["alias"]=> string(4) "test" }

It's very strange.
  • pascal95223
  • pascal95223's Avatar
26 Jan 2015 21:34

[SOLVED] Returning the Value of an Extra_Field In category_item View

Category: English K2 Community

Result:
object(stdClass)#6909 (8) { ["id"]=> string(2) "10" ["name"]=> string(25) "test" ["value"]=> NULL ["type"]=> string(9) "textfield" ["group"]=> string(1) "2" ["published"]=> string(1) "1" ["ordering"]=> string(1) "6" ["alias"]=> string(23) "test" }
  • victorwooten
  • victorwooten's Avatar
20 Jan 2015 15:13
Replied by victorwooten on topic Moving K2 Extra-Fields Options

Moving K2 Extra-Fields Options

Category: English K2 Community

Hi Krikor,
thanks for the information how it could be ordered.

Hopefully this will be a feature in a next release.

Best
Frank
  • jfbeaulieu
  • jfbeaulieu's Avatar
19 Jan 2015 19:52
Replied by jfbeaulieu on topic Moving K2 Extra-Fields Options

Moving K2 Extra-Fields Options

Category: English K2 Community

Hi,

I really want this option also ! It's so useful and logical to have the possibility to order ASC or DSC the dropdown list choice. There's no module or SQL syntax that we can use temporaly before the next upgrade that will include this option ?

Thank you very much !

Jean-François Beaulieu
info[a]profilweb.net
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
19 Jan 2015 14:28
Replied by Krikor Boghossian on topic Moving K2 Extra-Fields Options

Moving K2 Extra-Fields Options

Category: English K2 Community

Hello,

Unfortunately in the current version, extra-fields cannot be ordered from the backend.
  • victorwooten
  • victorwooten's Avatar
16 Jan 2015 18:05
Moving K2 Extra-Fields Options was created by victorwooten

Moving K2 Extra-Fields Options

Category: English K2 Community

Hello,

Following Example: I am using K2 with extra-Fields. There is a field named "obst". Following Options are in alphabetical order entered in it:

Apfel
Erdbeere
Grapefruit
Weintraube

There are articles still using these field and this options.
Now i want to enter a new option called "Banane".

So the options are shown in following order:

Apfel
Erdbeere
Grapfruit
Weintraube
Banane

But i want to have again an alphabetical order like this:

Apfel
Banane
Erdbeere
Grapfruit
Weintraube

This is because of an clarity in the backend and a clarity because of using "Filter For K2" - which is showing the options of each field in a frontend-filter.

If I would move all options after "B" one position down and would put "Banane" in second position I think, it would mix up the correct fields using with the articles already. Am I right? (articles with option "Erdbeere" (second position before) will become "Banane" (new second position)

I would be very happy if someone could give me an advice.
Thanks a lot.
Frank
  • Dani
  • Dani's Avatar
29 Dec 2014 23:16
Replied by Dani on topic Flattr integration with K2

Flattr integration with K2

Category: English K2 Community

Thank. I came to think about that I can't solve it that way because there are about 10 authors and only 3 publishers. So I created an extra field for items instead. The publisher will have to add the author's Flattr uid for each item. Not an ideal solution, but I think I have solved it.

I overrided item.php and placed this code
<?php $flattr_uid = $this->item->extra_fields[7]->value; if ($flattr_uid) : ?> <div class="itemFlattrButton"> <script id='fbf0uil'>(function(i){var f,s=document.getElementById(i);f=document.createElement('iframe');f.src='//api.flattr.com/button/view/?uid=<?php echo $flattr_uid?>&url='+encodeURIComponent(document.URL);f.title='Flattr';f.height=62;f.width=55;f.style.borderWidth=0;s.parentNode.insertBefore(f,s);})('fbf0uil');</script> </div> <?php endif; ?>

And I also had to alter the extra fields loop a bit
<?php foreach ($this->item->extra_fields as $key=>$extraField): ?> <?php if($extraField->value != '' && $extraField->alias != 'flattr_uid') : ?>

Tell me if you see any obvious things I could have done in an easier way.
  • BitSirenDev
  • BitSirenDev's Avatar
26 Nov 2014 11:18
Replied by BitSirenDev on topic K2 Plugin Development - Dynamic Extra Field

K2 Plugin Development - Dynamic Extra Field

Category: English K2 Community

OK. Got around this project again. Still struggling here. However, this may help Abu Reviewer (the code in example.xml below does work if item category condition does not matter.)

We can render a form item only if item is of cat X. We can dynamically populate a form field. It is the actual combination dynamic field and displaying it only if the item in question is of type X.

So here is where we are:

example.xml
Used by itself, it successfully populates the field with the data we want and it also saves the data to the item correctly.
... <fields group="item-other"> <field name="videoURL_venue" type="sql" query="SELECT id, title FROM jos3_k2_items WHERE catid != '2'" multiple="single" key_field="id" value_field="title" class="inputbox" label="fieldlabel" description="fielddesc" required="true" /> </fields>

example.php
Renders the field only in items with catid 2. However, it does not save the selected option to the DB.
... function onRenderAdminForm(&$item, $type, $tab='') { $mainframe = &JFactory::getApplication(); $pluginParams = $this->params; /* Only Execute Code on Extra Field tab */ if($type=='item' && $tab=='other') { /* Only add field for event type */ $db = &JFactory::getDBO(); $query = 'SELECT id, title FROM #__k2_items WHERE `catid` <> 2 AND `trash` = 0 ORDER BY `title`'; $db->setQuery( $query ); $venueitems = $db->loadObjectList(); if($item->catid==2) { $form = "<select id='videoURL_venue'>"; if ($venueitems) { foreach ( $venueitems as $venue ) { $form .= "<option id='" . $venue->id ."'>" . $venue->title ."</option>"; } } $form .= "</select>"; $plugin = new JObject; $plugin->set('name', 'Whatever'); $plugin->set('fields', $form); return $plugin; } } }

I am sure we are approaching this from the wrong way in the example.php. Is there no option to load the plugin from config (XML) when certain conditions are met?

Next Question

Also, the onRenderAdminForm method as we have it only works if the item already exists, i.e. has a catid in the object. How can we achieve the same effect with new items? (Similar to Extra Fields is populated only after category is selected.)

Really looking for some help here.
Adrian
Displaying 141 - 160 out of 529 results.

Powered by Kunena Forum