Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Mike
  • Mike's Avatar
22 May 2013 20:03

Tool for importing / exporting items to / from K2

Category: English K2 Community

As mentioned elsewhere when opening the exported csv in Excel it does not handle well non-english based languages. i found out a solution by opening first an empty excel file and then importing the csv instead of opening it directly.

i wanted to concatenate the item details as each one had different entries / info. for example in one item you might have values for the following fields:

Title Alias Introtext Fulltext Tags Published Created User ID Category Name Category Description

and for another

Title Alias Introtext Fulltext Tags Published Created User ID Category Name Category Description Length Width Height Cockpit Weight Load

with the last entries applying to extra fields.

q1: the end of each item is denoted by 2 commas ?
q2: in the guidelines you say that : text-fields must be enclosed within double-quote characters => ", what do you mean? in the export file i see every field enclosed like this "field"
q3: when i export the image path is not captured. why? how can i fix this so that to avoid manual update of images for each item?
q4: can i upload price as an extra field and then associate it to kmart price field?

thank you for your support!

Individual IT wrote: I mean you can use the file you exported as an example.
What you mean by "the fonts do not come out well"?
The export is a text file, so if you have formated the fonts by HTML they will not look the same in the text file. And after import all the HTML code is imported but the formating also depends on the CSS and other formats on your page

  • Jordan Ramstad
  • Jordan Ramstad's Avatar
22 May 2013 16:46
Duplicate pages was created by Jordan Ramstad

Duplicate pages

Category: English K2 Community

First of all I would like to point out that I love k2, it is handy to make more advanced sites with joomla.

However lately my office has noticed either a serious flaw. Pages will get duplicate url's witch cripples any SEO benefit k2 might give.

I have made a stack overflow question at stackoverflow.com/questions/16593121/joomla-k2-seo-consistency going into some detail.

Even if it is a tag view, witch is our way to get around the fact that you cannot use multiple categories on one item. You run into the problem that each tag takes the page under its menu structure. We have looked into some SEF solutions but short of adding template overrides on all links there does not seem to be a simple solution.

We develop through a local server, so it is hard for me to show examples. The easiest way to replicate the issue is to create 2 tags and 2 menu items that list the tag view. Then add one k2 item that will have both tags. In both tag views the page will go to the-tag/item and the-tag2/item witch is a duplicate page for one item.

This problem also appears in category views but is less apparent. Normally if you have the category set to use only one category any items that are under a different category should 404 if you navigate to the page forcibly. However it does not. Here is an example of how to replicate it.

Create 2 categories and 1 k2 item for each category. This is the general structure:
Category 1
Item 1
Category 2
Item 2

If you make a menu item to reference each category you can navigate to the item like so:
category-1/item-1
However the problem lies in that the following link will work:
category-1/item-2

The reason I wanted to bring this up is I find myself rewriting k2 far to often. It is a great plugin but there is a lack of documentation for such a feature rich plugin. Under the documentation tab here there is a few video tutorials some simple articles. Nothing diving into the functionality to give developers a starting point.

Most of the time if I need to lets say pull items into a dynamic list, I use a file separate from Joomla to manually query the database, creating a plugin usually takes too much time and I would not even know where to begin to find out how to comunicate with the k2 plugin.

Our company has been working with k2 for a number of projects now and I feel the it has a lot of potencial. I will try to get into more detail of the problems we found. It could be a major bug, or just something we are missing a key factor in that might be good to have in some type of documentation.
  • Mirjan Hajnc
  • Mirjan Hajnc's Avatar
22 May 2013 15:17
Replied by Mirjan Hajnc on topic [SOLVED] Show catagories : toMySQL error

[SOLVED] Show catagories : toMySQL error

Category: English K2 Community

If i disable K2 override in my template (as you suggested), error dissapear.
My question now is, should I use default template or how can I fix the error in custom template.
What do you suggest?

Thank you very much for your help.
  • Yiota
  • Yiota's Avatar
22 May 2013 13:40
Replied by Yiota on topic [SOLVED] Show catagories : toMySQL error

[SOLVED] Show catagories : toMySQL error

Category: English K2 Community

The path to the error is to the category.php file that is located in your template's folder. Just rename the folder of the com_k2 inside templates/YOUR_TEMPLATE/html/com_k2 with adding an underscore to the folder name, like com_k2_. This way the override of the template will not run and the default from the K2 component will.

This way we will make sure that the error is in fact to the K2 template override and not the component itself.

The option you are disabling through the K2 parameters has to do only with CSS and Javascript as it states.
  • Yiota
  • Yiota's Avatar
22 May 2013 13:07
Replied by Yiota on topic [SOLVED] Show catagories : toMySQL error

[SOLVED] Show catagories : toMySQL error

Category: English K2 Community

Have you tried to disable the K2 override in your template and see if the error remains with the default component's template?
  • Mirjan Hajnc
  • Mirjan Hajnc's Avatar
22 May 2013 12:35
[SOLVED] Show catagories : toMySQL error was created by Mirjan Hajnc

[SOLVED] Show catagories : toMySQL error

Category: English K2 Community

Hi,

On my web page I would like to show Category and all its Subcategories without any item. I have main Category and 8 Subcategories.
I use Joomla! 3.1.1 Stable and K2 v2.6.6.

My problem is when I set "Sub-category blocks" to Show i get an error in log and blank web page with only Title and description of the first subcategory.

Here is the error in the log file:
mod_fcgid: stderr: PHP Fatal error: Call to undefined method JDate::toMySQL() in /var/www/clients/client4/web13/web/borak/templates/ol_chranet/html/com_k2/templates/default/category.php on line 107

in attachments are screen-shots of K2 category settings

Attachment not found



Attachment not found



Attachment not found




Please help.

Thank you.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 May 2013 10:33
Replied by Krikor Boghossian on topic K2 Help with Tag.php template

K2 Help with Tag.php template

Category: English K2 Community

I don't have anything on my mind right now, you can search at the JED or the extend K2 section of this site.

If you cannot find that suits you, you will have to develop a custom one.
  • baltazarsky
  • baltazarsky's Avatar
22 May 2013 05:40
Retirar o "Author" no final da página was created by baltazarsky

Retirar o "Author" no final da página

Category: Comunidade K2 Brasil

Eai galera blz?
Estou utilizando K2 2.6.6
estou tentando tirar/ocultar o "Author" em baixo de cada postagem nova que faço, já tentei alterar nos parâmetros e nas categorias, por favor, deem uma olhada na página: www.enjoadinhas.com

Obrigado pela atenção!
  • Faye Polson
  • Faye Polson's Avatar
21 May 2013 15:48
Replied by Faye Polson on topic K2 Help with Tag.php template

K2 Help with Tag.php template

Category: English K2 Community

What plugin do you think would do that for K2?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 May 2013 11:19
Replied by Krikor Boghossian on topic How to strip tags in Module K2 comments

How to strip tags in Module K2 comments

Category: English K2 Community

strip_tags() Will kill all of your HTML code, if your comment has any HTML code which I think K2 is only allowing basic tags.

If you want to remove allthe links you have to remove all the <a> elements eg. you have to remove this completely

<a href="<?php echo $comment->link; ?>"><span class="lcComment"><?php echo $comment->commentText; ?></span></a>
<?php else: ?>
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 May 2013 11:13
Replied by Krikor Boghossian on topic Problem with Socials Button

Problem with Socials Button

Category: English K2 Community

Niko,

I also check the source of some of your com_content sections and your com_contact pages.
This issue is also present there. Make sure an extension is not causing this.

K2 is specifying the content that will be posted on facebook from your introtext using the og: tags. This is why you are under the impression that this issue is present only in K2.
  • Suba
  • Suba's Avatar
  • Jr Tony Gvr
  • Jr Tony Gvr's Avatar
21 May 2013 07:58
Replied by Jr Tony Gvr on topic How to show item ratings in the K2 Content Module?

How to show item ratings in the K2 Content Module?

Category: English K2 Community

i have a problem here :( star show in last item :( not look like the demo you do , what should i do now :(
<div class="catItemRatingBlock"> <div class="itemRatingForm"> <ul class="itemRatingList"> <li class="itemCurrentRating" id="itemCurrentRating<?php echo $item->id; ?>" style="width:<?php echo $item->votingPercentage; ?>%;"></li> </ul> <div id="itemRatingLog<?php echo $item->id; ?>" class="itemRatingLog"><?php echo $item->numOfvotes; ?></div> <div class="clr"></div> </div> <div class="clr"></div> </div>
here is my code in default.php


hope to see your answer soon
  • zemadeiran
  • zemadeiran's Avatar
21 May 2013 01:21
Replied by zemadeiran on topic [SOLVED] Pagination

[SOLVED] Pagination

Category: English K2 Community

I am running sh404sef but what leads me to believe that K2 is inserting the code is due to the fact that Joomla articles do not add the pagination code in the head!

So this throws out the sef component idea...

anything-digital.com/forum/extension/sh404sef/7309-rel=prev-and-rel=next-tags-are-no-inserted-in-k2-categoriey-pages.html
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
20 May 2013 11:13
Replied by Krikor Boghossian on topic K2 Help with Tag.php template

K2 Help with Tag.php template

Category: English K2 Community

Hello Faye,

As for 1. I dont think is possible. Even if you add the sitename to the page title (Joomla! configuration) the category part is a bit akward. Tags are from multiple categories and I cannot see a simple way of adding a specific category to the browser title.

2. You can change the default limit in K2's params but I it's not possible without a K2 plugin to have seperate limits for K2 Tags views.
  • Majdy
  • Majdy's Avatar
20 May 2013 10:13
Replied by Majdy on topic remove Style Definitions from word

remove Style Definitions from word

Category: English K2 Community

stavros wrote: I have clean up all the tags from k2 properties.

But I can see that word has some html elements which is not cleaned up from k2.

As the

 <![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} </style> <![endif]--> 


use jce editor and cleaning the word by the eraser button
  • Lord Samuel
  • Lord Samuel's Avatar
18 May 2013 20:33
Replied by Lord Samuel on topic Visualizzare solo categorie in home

Visualizzare solo categorie in home

Category: Comunità italiana K2

DARIO wrote: Salve io sono Dario,avrei una domanda da porvi.
E' la prima volta che utilizzo K2 quindi può essere che non conosca qualche opzione del componente.
Ho creato le mie categorie con i relativi articoli...la presentazione della categoria più articoli è davvero bella e funzionale ma avrei la necessità di presentare in home solo l'immagine delle varie categorie..così da dare la possibilità a chi visita il sito di cliccarci su e accedere a tutti gli articoli (oggetti) nella categoria.
Mi sapreste indicare quale opzione da utilizzare,o chi abbia avuto il mio problema quale escamotage ha trovato?
grazie mille e buon lavoro.



nella categoria a destra espandi la sezione "Opzioni vista categoria" ed escludi le voci che non vuoi far visualizzare e attiva la visualizzazione dell'immagine.
  • stavroch
  • stavroch's Avatar
18 May 2013 11:11
remove Style Definitions from word was created by stavroch

remove Style Definitions from word

Category: English K2 Community

I have clean up all the tags from k2 properties.

But I can see that word has some html elements which is not cleaned up from k2.

As the
 <![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} </style> <![endif]--> 
  • Faye Polson
  • Faye Polson's Avatar
17 May 2013 20:07
K2 Help with Tag.php template was created by Faye Polson

K2 Help with Tag.php template

Category: English K2 Community

Hey, we're looking to do a couple things to some custom tag.php templates.

1. Customize the browser page title. We'd like it to read Tag | Category | Website. At this point all I've managed to do is turn off the "displaying tag:" default text with a language override.

2. Change the number of tag view items posted in tag.php. By default it's 10, but I'd like to be able to display 20 on a custom template, and 5 on another.

Any ideas?
  • Odin Mayland
  • Odin Mayland's Avatar
17 May 2013 19:38
Social Sharing Source Errors was created by Odin Mayland

Social Sharing Source Errors

Category: English K2 Community

The social sharing option for k2 is creating 24 errors that can be seen using the browsers Developer Tools and viewing the Source tab. Is there a way to resolve these?

Example page: www.modernmagic.com/blog/joomla-technical-support/k2-table-like-list-in-category-view.html


On page load I see the following error:
Unknown RPC service: widget-interactive-I0_1368819257336 cb=gapi.loaded_0:113
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains. ping:1

Upon clicking any of the social sharing buttons for k2 I get the following list of errors:
2
Unsafe JavaScript attempt to access frame with URL platform.twitter.com/widgets/tweet_button.1368146021.html#_=13688192…chnical-support%2Fk2-table-like-list-in-category-view.html&via=modernmagic from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL plusone.google.com/_/+1/fastbutton?bsv&annotation=inline&width=120&…I0_1368819257336&parent=http%3A%2F%2Fwww.modernmagic.com&rpctoken=21027687 from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access set 'document.domain' to 'facebook.com', but the frame being accessed did not. Both must set 'document.domain' to the same value to allow access.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL static.ak.facebook.com/connect/xd_arbiter.php?version=24#channel=f37…26format%3Draw%26langtag%3Den_GB%26fb_xd_fragment%23xd_sig%3Df2461554cc%26 from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL platform.twitter.com/widgets/hub.html from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL platform.twitter.com/widgets/hub.html from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access set 'document.domain' to 'facebook.com', the frame being accessed set it to 'twitter.com'. Both must set 'document.domain' to the same value to allow access.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL www.facebook.com/connect/ping?client_id=154426421321384&response_ty…252Ff377008f14%26domain%3Dwww.modernmagic.com%26relation%3Dparent&sdk=joey from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access set 'document.domain' to 'facebook.com', but the frame being accessed did not. Both must set 'document.domain' to the same value to allow access.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL platform.twitter.com/widgets/tweet_button.1368146021.html#_=13688192…chnical-support%2Fk2-table-like-list-in-category-view.html&via=modernmagic from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL plusone.google.com/_/+1/fastbutton?bsv&annotation=inline&width=120&…I0_1368819257336&parent=http%3A%2F%2Fwww.modernmagic.com&rpctoken=21027687 from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access set 'document.domain' to 'facebook.com', but the frame being accessed did not. Both must set 'document.domain' to the same value to allow access.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL static.ak.facebook.com/connect/xd_arbiter.php?version=24#channel=f37…26format%3Draw%26langtag%3Den_GB%26fb_xd_fragment%23xd_sig%3Df2461554cc%26 from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL platform.twitter.com/widgets/hub.html from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL platform.twitter.com/widgets/hub.html from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access set 'document.domain' to 'facebook.com', the frame being accessed set it to 'twitter.com'. Both must set 'document.domain' to the same value to allow access.
M8IqlXtlhds.js:33
2
Unsafe JavaScript attempt to access frame with URL www.facebook.com/connect/ping?client_id=154426421321384&response_ty…252Ff377008f14%26domain%3Dwww.modernmagic.com%26relation%3Dparent&sdk=joey from frame with URL www.facebook.com/plugins/like.php?api_key=154426421321384&locale=en…colorscheme=light&show_faces=true&send=false&extended_social_context=false. The frame requesting access set 'document.domain' to 'facebook.com', but the frame being accessed did not. Both must set 'document.domain' to the same value to allow access.
Displaying 3481 - 3500 out of 6582 results.

Powered by Kunena Forum