Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
06 Aug 2014 17:38
Replied by Krikor Boghossian on topic Tabs on Category text/description

Tabs on Category text/description

Category: English K2 Community

Category description cannot parse content plugins I would recommend using a module with the {loadposition} method or creating custom K2 plugin and having its output in tags.
  • tincup
  • tincup's Avatar
04 Aug 2014 20:43 - 04 Aug 2014 21:10
Replied by tincup on topic specific css class by article tags

specific css class by article tags

Category: English K2 Community

I modified category_item.php but I get this error:
<div class="catItemView <br /> <b>Notice</b>: Undefined property: stdClass::$tags in <b>/opt/lampp/htdocs/fab/components/com_k2/templates/default/category_item.php</b> on line <b>19</b><br /> <br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/opt/lampp/htdocs/fab/components/com_k2/templates/default/category_item.php</b> on line <b>19</b><br />
can you help me?
I would like to see changed the upper class by tag -> "ItemContainer"
  • Joe Campbell
  • Joe Campbell's Avatar
04 Aug 2014 15:39
Replied by Joe Campbell on topic Feature Request: K2 v3

Feature Request: K2 v3

Category: English K2 Community

I know this, that is why I said it would be ideal to have control of the alias. Creating #Hashtags is just one of many applications. Providing the K2 user the ability to create tag alias is the point.

Tag Name: #K2rocks
Tag Alias: K2rocks
URL: www.domain.com/tag/k2rocks

Tag Name: Salty & Sweet
Tag Alias: salty-sweet
URL: www.domain.com/tag/salty-sweet

Tag Name: President/CEO
Tag Alias: president
URL: www.domain.com/tag/president


In the case of...

Tag Name: ? Got Questions ?
URL: www.domain.com/tag/k2rocks

If the user did not define the Tag Alias, it could default to replacing any special characters used as the first character in the tag name to a hyphen, so in the case that I provided, if the user did not define the alias, it would be "-got-questions". So, if a user uses an alias that starts with a non-alphanumeric character (such as / # ?), it would default/be changed to a hyphen.

Once again, providing the K2 user the ability to define both the Tag Name and Tag Alias is my point.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
04 Aug 2014 15:21
Replied by Krikor Boghossian on topic Feature Request: K2 v3

Feature Request: K2 v3

Category: English K2 Community

Hashtags cannot be contained in URLs, they point to anchor points not actual links.
This is how HTML works. www.w3schools.com/html/html_links.asp
  • Joe Campbell
  • Joe Campbell's Avatar
04 Aug 2014 15:18
Replied by Joe Campbell on topic Feature Request: K2 v3

Feature Request: K2 v3

Category: English K2 Community

I understand a page can not start with #

What I am saying is that, it would be nice to have full control over the name of each tag.

Offering people the ability to define the "Tag Name" and "Tag Alias" would alleviate this problem, so that K2 users could do something like this...

Tag Name: #K2rocks
Tag Alias: K2rocks

With this example, K2 users would be able to create and utilize there very own #HashTags

This also would allow people do have tags such as...

Tag Name: Salty & Sweet
Tag Alias: salty-sweet

Tag Name: President/CEO
Tag Alias: president
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
04 Aug 2014 14:51 - 04 Aug 2014 14:52
Replied by Krikor Boghossian on topic Feature Request: K2 v3

Feature Request: K2 v3

Category: English K2 Community

A link cannot start with a hashtag.
Hashtags are anchor links (internal links in a site, not actual links) or parts of a JS based application.

This is not a K2 issue it is just how HTML works.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
04 Aug 2014 14:15
Replied by Krikor Boghossian on topic Tag cloud selecting items from other categories

Tag cloud selecting items from other categories

Category: English K2 Community

Hello Tarun,

Do these items share any tags?
Also which version of K2 are you using?
  • Mark van den Heuvel
  • Mark van den Heuvel's Avatar
03 Aug 2014 00:16
Replied by Mark van den Heuvel on topic Author meta tag not showing in pages...

Author meta tag not showing in pages...

Category: English K2 Community

Hi, i have the same problem. Updating K2 does not help. I'm now at 2.7.0 enabled the author meta tag but no meta tags show.
  • Joe Campbell
  • Joe Campbell's Avatar
02 Aug 2014 16:40
Replied by Joe Campbell on topic Feature Request: K2 v3

Feature Request: K2 v3

Category: English K2 Community

I agree Franz...as this forum is the central location for all K2 talk.

Here's an idea - ask people to include #K2FeatureRequest in the title or body of post. This would allow for fluid inclusion while engaged in back in forth communications. Also, this would allow the developers at K2 to easily search throughout their forum and other platforms for that matter (as the term is unqiue)

For example - why writing this post, I had an idea...

#K2FeatureRequest - Allow tag names to include Hashtag symbol - to offer users K2 Hashtags. Currently, when you include a hash symbol in your tag, it breaks the SEF (at least for me - using sh404SEF)

Resulting in a domain like this...
www.domain.com/tag/#HashTagName&Itemid=807

I understand that this defying URL protocol, but this would prove, why there is a need for seperation between defined the tag name and the alias.

This URL would be ideal...
www.domain.com/tag/-HashTagName
"-" could serve as a placeholder in the URL while the display name would be "#HashTagName"
  • Nnov Leumik
  • Nnov Leumik's Avatar
02 Aug 2014 10:46 - 02 Aug 2014 12:13
Error 500 K2 saving an item with Image was created by Nnov Leumik

Error 500 K2 saving an item with Image

Category: English K2 Community

:( Got stuck for almost 3 days looking for solutions about this.

When saving a ITEM with image it throws me to an error 500 internal server error.

I have joomla 3.3.3 and K2 v2.6.8.

Joomla is installed clean and K2 is also.

Your help is appreciated. :)

SEO Settings
Search Engine Friendly URLs - Yes
Use URL rewriting - No
Adds Suffix to URL - No
Unicode Aliases - No
Include Site Name in Page Titles - No

---additions---
if i make my joomla's htaccess.txt to .htaccess the error is now 404 category not found.

Category not found

Call stack
# Function Location
1 JApplicationCms->execute() /home/original/public_html/test/index.php:40
2 JApplicationSite->doExecute() /home/original/public_html/test/libraries/cms/application/cms.php:245
3 JApplicationSite->dispatch() /home/original/public_html/test/libraries/cms/application/site.php:224
4 JComponentHelper::renderComponent() /home/original/public_html/test/libraries/cms/application/site.php:178
5 JComponentHelper::executeComponent() /home/original/public_html/test/libraries/cms/component/helper.php:332
6 require_once() /home/original/public_html/test/libraries/cms/component/helper.php:352
7 JControllerLegacy->execute() /home/original/public_html/test/components/com_content/content.php:16
8 ContentController->display() /home/original/public_html/test/libraries/legacy/controller/legacy.php:722
9 JControllerLegacy->display() /home/original/public_html/test/components/com_content/controller.php:79
10 ContentViewCategory->display() /home/original/public_html/test/libraries/legacy/controller/legacy.php:685
11 JViewCategory->commonCategoryDisplay() /home/original/public_html/test/components/com_content/views/category/view.html.php:72
12 JError::raiseError() /home/original/public_html/test/libraries/legacy/view/category.php:129
13 JError::raise() /home/original/public_html/test/libraries/legacy/error/error.php:253


This is my htaccess

##
# @package Joomla
# @copyright Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
##

## Can be commented out if causes errors, see notes above.
# Options +FollowSymLinks #THIS PART IS COMMENTED to check whether this is the culprit

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##

# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.

  • marco
  • marco's Avatar
01 Aug 2014 16:30 - 01 Aug 2014 16:30
Replied by marco on topic html tag in K2 article title

html tag in K2 article title

Category: English K2 Community

Hi Marcel,
thank you for your answer but unfortunately in this way the title will be all italic. Instead i need some word in italic and some not, like in this example:

Albizia julibrissin (Willd.) Durazzo
  • Tarun Das
  • Tarun Das's Avatar
01 Aug 2014 15:46 - 01 Aug 2014 15:56

Tag cloud selecting items from other categories

Category: English K2 Community

Hi,

In addition to the category mentioned in "Filter tags from one or more categories" ( K2 Tools module) my tag cloud is showing items from other catergoty.

I have "Apply tag category filter recursively to all sub-categories" set to "Yes" to show all the items in the subcategories under the main category selected in the above option. The tag cloud shows all the items perfectly in the main category and the subcatgories under it. The problem is the tag cloud is also listing items from other category which is not releted to main category mentioned in option. How I can stop that ?

Thank in advance.

Tarun
  • Marcel Fossen
  • Marcel Fossen's Avatar
01 Aug 2014 14:38
Replied by Marcel Fossen on topic html tag in K2 article title

html tag in K2 article title

Category: English K2 Community

Well, add this with a little css:

h2.itemTitle{
font-style:italic;
}

greeting, Marcel
  • Marcel Fossen
  • Marcel Fossen's Avatar
01 Aug 2014 14:28

K2 related items in item.php add specific category

Category: English K2 Community

We have this nice template for a K2item and we want to show related items by tag. It's a basic funtion but unlike the k2 tools module, we are not able to choose the category of the related items we want to show. Is there a possibility to ad the category ID in the item.php?
  • marco
  • marco's Avatar
01 Aug 2014 12:33
html tag in K2 article title was created by marco

html tag in K2 article title

Category: English K2 Community

Hi to all,
i have a problem, i'm trying to insert the <i></i> html tag in the k2 article title, but when i save it the tag aren't saved (rightly i think).
The problem is i need this feature to insert plant botanical name, the example mandatory nomenclature is:

Albizia julibrissin (Willd.) Durazzo

some words are italic and some not.

Is there a way to solve this problem?

thanks in advance.
  • Antonio Jose Valdes Medina
  • Antonio Jose Valdes Medina's Avatar
30 Jul 2014 14:37 - 30 Jul 2014 14:38
Replied by Antonio Jose Valdes Medina on topic Plugin K2 SET MetaData

Plugin K2 SET MetaData

Category: English K2 Community

Yes, I followed all the steps.
And to print user data in Html page and text, no problem.
The problem I have using the classes to change the metatag:
$tags=& JFactory::getDocument(); $tags->setTitle('Hello'); $tags->setDescription('Hello 2');
The plugin does not work on a plugin, but in item.php does work the same code.
  • Antonio Jose Valdes Medina
  • Antonio Jose Valdes Medina's Avatar
30 Jul 2014 14:26 - 30 Jul 2014 14:27
Plugin K2 SET MetaData was created by Antonio Jose Valdes Medina

Plugin K2 SET MetaData

Category: English K2 Community

Hello there!

I'm building a plugin where K2 add metadata from the form that works with K2 Tabs.

The xml is correct, display the fields on admin K2 item, but not how to enter my data and meta data on my php code plugin:
<?php // no direct access defined('_JEXEC') or die ; // Load the K2 Plugin API JLoader::register('K2Plugin', JPATH_ADMINISTRATOR.'/components/com_k2/lib/k2plugin.php'); // Initiate class to hold plugin events class plgK2k2seo extends K2Plugin { // Some params var $pluginName = 'k2seo'; var $pluginNameHumanReadable = 'SEO Tags'; function plgK2k2seo(&$subject, $params) { parent::__construct($subject, $params); } function onK2PrepareContent(&$item, &$params, $limitstart) { $tags=& JFactory::getDocument(); $tags->setTitle('Hello'); $tags->setDescription('Hello 2'); //This is a test } } 

Any idea?
Thank you!
  • Nam Ngan
  • Nam Ngan's Avatar
29 Jul 2014 08:45
Replied by Nam Ngan on topic Display wrong URL K2 ??

Display wrong URL K2 ??

Category: English K2 Community

I tried some plugin canonical tag.Problem not resolve. Other plugin is commerical
You said "use a K2 plugin for this, or map your entire content (K2 categories in this case) in menu items."
how can I do that ? Can u explain more it ?

Thank for your help.
  • macchu
  • macchu's Avatar
28 Jul 2014 16:36

[SOLVED] How to make a multinligual website ?

Category: English K2 Community

Sorry... is there a tutorial for install multilanguage in K2 somewhere ?
Thank you

Krikor Boghossian wrote: In my personal experience, no they are not mandatory.
They do help though.

If you have different K2 categories/tags and extrafields per language you do not need another extension.

Displaying 2421 - 2440 out of 6582 results.

Powered by Kunena Forum