Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Chris Clay
  • Chris Clay's Avatar
01 May 2013 04:43
Replied by Chris Clay on topic tags with apostrophe not working

tags with apostrophe not working

Category: English K2 Community

It's definitely due to a change made with Joomla 2.5.10. See this forum post:

forum.joomla.org/viewtopic.php?f=615&t=800933&hilit=Invalid+URI+detected

Some code was added to check URLs for quotes, and if they're found, that error message is displayed. There's a solution presented, though perhaps it would have to be implemented by the K2 developers:

" You can work around this error by changing your PHP code to use the rawurlencode() function instead of the urlencode() function."

Chris
  • charoa
  • charoa's Avatar
30 Apr 2013 22:25 - 01 May 2013 00:01
tags with apostrophe not working was created by charoa

tags with apostrophe not working

Category: English K2 Community

i am getting errors/broken links on all tags with apostrophes and also getting errors when i try to search that tag i get this error:

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Invalid URI detected.' in /home/directory/public_html/libraries/joomla/environment/uri.php:194 Stack trace: #0 /home/directory/public_html/libraries/joomla/application/application.php(248): JURI::getInstance() #1 /home/directory/public_html/includes/application.php(135): JApplication->route() #2 /home/directory/public_html/index.php(36): JSite->route() #3 {main} thrown in /home/directory/public_html/libraries/joomla/environment/uri.php on line 194

line 194 is about replacing the ' in titles
I know the advanced tag settings has Additional character replacements but i am not sure who to change one apostrophe for another that would be working. Can someone please advise? This is not an issue where i can just remove tags because the tag is in a name, such as O'Reilly

i am using the latest k2 (updated today) on J2.5.11
also i wanted to show you the url from when i attempt to search
adamonhockey.com/index.php/component/search/?searchword=o\'reilly&ordering=newest&searchphrase=all&limit=20

this seems to work in other sites using k2 though so not sure why it's generating an error on this site.

i am not sure if it's the type of ' that is causing the problem but i am not sure how to correct the issue
  • Lech Zbigniew Dutkiewicz
  • Lech Zbigniew Dutkiewicz's Avatar
30 Apr 2013 13:19
Replied by Lech Zbigniew Dutkiewicz on topic Adding custom class to K2 articles in view by tag

Adding custom class to K2 articles in view by tag

Category: English K2 Community

Hi,

Thanks for Your advice. Instead of using multiple categories I decided to try tags. That's why my site shows items listed by tag instead by category. For my current project it seems nessessary to use multiple categories for articles and I didn't know any other way to do that than by tags.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
30 Apr 2013 11:58
Replied by Krikor Boghossian on topic Where to change which image used for Tag pages?

Where to change which image used for Tag pages?

Category: English K2 Community

I don't think this is point here, you might want to look into your template inheritance.
If you modify tag.php at the components/com_k2 what happens? Perhaps a 3rd party extension or framework is messing up your overrides.

PS. Always backup before modifying core or default files.
  • zambala
  • zambala's Avatar
30 Apr 2013 11:08

Where to change which image used for Tag pages?

Category: English K2 Community

I changed Tag.php in many ways, finally I made it completely empty, and still it displayed itemGeneric , and even I changed it to hardcoded 300px instead 125 in k2 settings, it was still 125.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
30 Apr 2013 10:38
Replied by Krikor Boghossian on topic Adding custom class to K2 articles in view by tag

Adding custom class to K2 articles in view by tag

Category: English K2 Community

Hello Lech,

First of all best of luck with designing :)

Firstly K2 only supports one category per item so I guess you are using an extension for this.
I think you might want to rethink your approach and use the category views since it is more flexible.

Finally inside tag you will need $item-> instead of $this-> item.
  • Lech Zbigniew Dutkiewicz
  • Lech Zbigniew Dutkiewicz's Avatar
30 Apr 2013 09:41 - 30 Apr 2013 09:41
Adding custom class to K2 articles in view by tag was created by Lech Zbigniew Dutkiewicz

Adding custom class to K2 articles in view by tag

Category: English K2 Community

I'm new here and it's my very first question. I'm also new in web design and not-so-good in English so I ask for forbearance :)

In one of my first projects I use Joomla 3.0 and K2 to create a wall-like portfolio with articles about handbags. Since each of them belongs to more than 1 category, I used tagging and tag-view instead of default category-view. It's quite important for my project to differ featured articles and articles with one specified tag to display different from others - I'll use css for that. But I have no idea how to add this information into div's class. In view by category I used
<?php echo ($this->item->featured) ? ' catItemIsFeatured' : ''; if ($this->item->params->get('catItemTags')): foreach ($this->item->tags as $tag): echo ' ' . $tag -> name; endforeach; endif;?>

in item's container div. My understanding of this is rather small and I don't know why it doesn't work for view by tag.

Thank all of You for any answer!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 Apr 2013 11:47
Replied by Krikor Boghossian on topic Catagory and Item Edit not Opening

Catagory and Item Edit not Opening

Category: English K2 Community

Hello Allen,

Some extension or plugin is possibly causing a conflict with K2 or you are experiencing server related issues.

Reading your error log will provide you with some valuable info.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 Apr 2013 11:11
Replied by Krikor Boghossian on topic Should the following be in robots.txt

Should the following be in robots.txt

Category: English K2 Community

Hello boodoo,

By default Joomla! (not K2) blocks the media and images folders from robots.
You can comment out these two lines in your robots.txt with a hashtag.
  • Gioacchino Nigrelli
  • Gioacchino Nigrelli's Avatar
29 Apr 2013 08:06 - 24 May 2013 19:23
[SOLVED] K2 Tools Problem/Error was created by Gioacchino Nigrelli

[SOLVED] K2 Tools Problem/Error

Category: English K2 Community

Hi all, I have a problem with k2 tools.
I use it to have a tag cloud module and an archive module for my items on this site, go here .

If I'm not logged in these modules simply dowsn't works, they show wrong items.
If I'm logged everything goes well.

Somebody can help me?

PS: Excuse me for my bad english and for the rapid question, it's just because I can't write english very well.
  • Daniel Magdanz
  • Daniel Magdanz's Avatar
27 Apr 2013 14:45

Artikel berarbeiten (Edit item) funktioniert nicht

Category: Offizielle deutsche Gemeinschaft

Hallo und Guten Tag,
ich habe folgendes Problem und weiß nicht weiter:
Ich habe ein Template gekauft (responsive- also smartphone und Tablet geeignet) und kann im Frontend keine Artikel bearbeiten. Ich logge mich über das K2 Modul ein und klicke dann auf edit item (artikel bearbeiten) und bekomme folgende Fehlermeldung im Popup

Fatal error: Cannot redeclare class Mobile_Detect in /***/htdocs/templates/theme1036/includes/mobile_detect.php on line 16

Was kann ich tun?
  • Christos Arazos
  • Christos Arazos's Avatar
26 Apr 2013 23:30
Replied by Christos Arazos on topic Alter og:title facebook tag

Alter og:title facebook tag

Category: English K2 Community

Hi again,

as far as I understand K2 v2.6.5 creates itself facebook open graph tags.
When I use a plugin to create them there is a conflict with k2.
The facebook debugger find multiple tags due to K2.
The same result happens when I put code to my index page.
I spent many days searching for a solution but I wasn't able to find one.

So what I need is to understand is which file(s) of K2 generate the facebook open graph tags.
If you have any other suggestion I'll be more than happy to read it.

thanx!
  • Allen Stein
  • Allen Stein's Avatar
26 Apr 2013 18:56
Catagory and Item Edit not Opening was created by Allen Stein

Catagory and Item Edit not Opening

Category: English K2 Community

Hello everyone. Newbie here to K2 and so far I think it is very intuitive and works great. I got turned on to it from a template I purchased and appreciate what it can do.

After getting it all installed and up and running I went in to start editing some items. Whether I click on the item itself or click the check box and hit edit it opens up a blank screen.

Same with Categories. It also opens up a blank window.

Any help would be appreciated. Thanks!
  • RichardManDX
  • RichardManDX's Avatar
26 Apr 2013 03:26 - 26 Apr 2013 03:34
[SOLVED] How does JSON output work? was created by RichardManDX

[SOLVED] How does JSON output work?

Category: English K2 Community

Hello,

I was wondering how to use the JSON output of K2. According to the documentation, it's suposed to work like this:

We are introducing JSON & JSONP content output. This is phase 1 towards a true REST capable K2 release coming in version 3. We want you to be able to turn your Joomla! & K2 website into a source of content ready to be consumed or updated by third-party applications, e.g. a mobile application that reads and posts content to your K2 powered Joomla! website. Or simple stuff like AJAX calls are now a piece of cake for developers. To quickly set you up, just append 'format=json&limit=X&page=Y' to any K2 generated URL, replacing X with the number of items you want to fetch (with a forced limit of 100) and Y as the page number (if you wish to break your results in pages). At its simplest form, just append 'format=json' to get the default K2 output in JSON. The additional GET parameters mentioned above only work in categories, user pages, tags etc. If you append 'format=json' to an item URL you will get all the item's contents in JSON format. Additionally, you can pass a callback function to the above URLs in case you want to wrap the output in a function. The format is 'format=json&callback=Z', replacing Z with your callback function name.


However, it doesn't work. Should i turn off the Joomla 2.5 URL rewriting in order to use it?
I would like a little more documentation on this particular issue.

Can someone please provide me a small example of how the URL should look like to append 'format=json' in order to get the info in that way?

Thanks in advance.

UPDATE:

Ok, i forgot to search the forum first. My bad.
I found an example like this:
index.php?option=com_k2&view=itemlist&layout=category&format=json

And it outputs beautifully a JSON file.

This will come in handy to create an app based on the content of my website :)
  • Arien
  • Arien's Avatar
25 Apr 2013 16:49

Is it possible to show related items by category?

Category: English K2 Community

Hi,

I know that K2 presents an option to show related items by tag, but is there a way to get related items by category? If there's no workaround for this, will it be a feature for future releases of K2? This seems like a rather logical option to have. The only alternative I could find to meet this demand is using the Modules Anywhere extension, which would require my wallet.

Thanks,
Arien
  • Damien
  • Damien's Avatar
25 Apr 2013 15:36
Joomla 3.1b and Tags was created by Damien

Joomla 3.1b and Tags

Category: English K2 Community

Looks like we have a new bell (or is it a whistle) with J3.1b offering tags, not just any ole tags but nested tags with unlimited children! Yay!

community.joomla.org/blogs/community/1729-tag-you-are-it.html
"Tagging is integrated into all core components
Extensions developers can easily add tagging to their extensions
Tags are shared between extensions that implement tagging and across content types.
Tags are able to be nested. Each tag can have one parent tag and many children tags
There are currently a few layouts (with several options) and modules which you can use
Tags do not change the content that is tagged in regards to published state or ACL
"Multiple Categories" is #7 on the ideas.joomla.org site. This feature answers that request, albeit in a slightly different (and more flexible) way. For example, you can assign the same tag to different content types (which is not possible with categories) and then create blog views by tag."

Soo, when do I get to play with these delights in K2? :)
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
25 Apr 2013 13:07 - 25 Apr 2013 13:07
Replied by Krikor Boghossian on topic tag listings items redirect to category view

tag listings items redirect to category view

Category: English K2 Community

I have heard of some caching issues in the past but I haven't encountered issues like yours before.
Since you are using a local testing version you can also use the SVN version (caching issues have been resolved there).

You can also read this blog post
  • ATHANASIOS ILIOPOULOS
  • ATHANASIOS ILIOPOULOS's Avatar
25 Apr 2013 12:31
Replied by ATHANASIOS ILIOPOULOS on topic tag listings items redirect to category view

tag listings items redirect to category view

Category: English K2 Community

Hello Krikor,

my cache is disabled ... and i am using k2 version 2.6.2 ... i will try my luck with 2.6.6 locally, but is it a known issue/behaviour in previous k2 versions?
  • dup
  • dup's Avatar
25 Apr 2013 11:57

Many URLs of one page generated by K2, seo issue

Category: English K2 Community

Thanks! Can you provide this hack please? And can you tell how exactly i can put canonical tags?
I'm not a programmer, that's a problem, that's why i use k2.

Plus with the default Joomla! router I dont't think you can archieve much,


If with other extentions (like ZOO) default joomla router makes it possible, i think it also possible with K2, right?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
25 Apr 2013 11:23
Replied by Krikor Boghossian on topic Many URLs of one page generated by K2, seo issue

Many URLs of one page generated by K2, seo issue

Category: English K2 Community

You ll have to hack the core for this one. Plus with the default Joomla! router I dont't think you can archieve much,

You can use the canonical meta tag either in your template or use a SEF extension to be 100% sure that always the correct link is shown.
Displaying 3561 - 3580 out of 6582 results.

Powered by Kunena Forum