Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Joe Campbell
  • Joe Campbell's Avatar
10 Apr 2015 01:04
Replied by Joe Campbell on topic Overriding page title

Overriding page title

Category: English K2 Community

Hi Ari,

Tag page titles are created dynamically from each respective K2 tag name. In K2v3 we will be able to assign Extra Fields to a tag (use the extra field with a template override to control all meta data - which currently can be done with items).

Here are two options that you can execute with K2v2.x

Option #1
You could use the NoNumber ReReplacer extension (pro version). Basically, you would create a search for each tag title tag and replace with you desired title.

Option #2
Use a SEF extension like sh404SEF, which allows you to control each page (SEF URL, title tag, social meta tags, etc.)

I hope this helps,

Joe Campbell
  • Ronny Van Der Borght
  • Ronny Van Der Borght's Avatar
09 Apr 2015 16:54
Replied by Ronny Van Der Borght on topic How to: SIG Pro gallery in Tag view

How to: SIG Pro gallery in Tag view

Category: English K2 Community

This is an interesting subject. I'm trying the same as Rui Braz, it does not work for me either. The SIG PRo plugin just is not loaded. My output just shows {gallery}60{/gallery} , on other views (item.php, category_item.php) it is working perfecly.

This is the code from tag.php:
<?php if(count($this->items)): ?> <?php foreach($this->items as $item): ?> <?php $dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('k2'); $results = $dispatcher->trigger('K2AfterDisplayContent', array(&$item, &$params, &$limitstart)); $this->event->K2AfterDisplayContent = trim(implode("\n", $results)); ?> <?php echo $item->introtext; ?> <?php echo $item->gallery; ?> <?php endforeach; ?> <?php endif; ?>

Can you spot the error ?
  • tecra
  • tecra's Avatar
09 Apr 2015 00:13

K2 Frontet adding and editing in joomla 3.4.1 dont work

Category: English K2 Community

Hi There
I have a Joomla! 3.4.1 and K2 v2.6.9
When you change the function joomla K2 adding articles on the front page does not work.
Unable to write the article, complement tags and additional fields. Adding a display window but nothing on it does not work
I will be grateful for your help.
Standard joomla template also does not work.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
06 Apr 2015 13:26
Replied by Krikor Boghossian on topic Are K2 Tags bad for SEO?

Are K2 Tags bad for SEO?

Category: English K2 Community

I have to disagree on this one Joe,

Tags need to get indexed, you are creating new content for your site.
To be honest tags are a must-have if you setup their URLs correctly since you are not limited to 5 - 15 listing views for Google to index.
  • Joe Campbell
  • Joe Campbell's Avatar
04 Apr 2015 14:58
Replied by Joe Campbell on topic Are K2 Tags bad for SEO?

Are K2 Tags bad for SEO?

Category: English K2 Community

Hello Austin,

Based on my research, SEO experts advice webmasters to ensure that tag pages DO NOT get indexed. Here are a number of posts that explain why:

moz.com/community/q/wordpress-tag-pages-noindex

moz.com/blog/setup-wordpress-for-seo-success

moz.com/community/q/dupe-content-canonicalize-the-wordpress-tag-or-noindex

Here's a couple ways you can add "NOINDEX, NOFOLLOW" meta tags to your K2 tag pages:

Add the following code to your tag template override:
<?php $doc = JFactory::getDocument(); $doc->addCustomTag('<meta name="robots" content="noindex, follow" />'); ?>

Use NoNumber ReReplacer (Pro) to add <meta name="robots" content="noindex, follow" /> using the parameter pages type = tag

I hope this help,

Joe Campbell
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
03 Apr 2015 13:02
Replied by Krikor Boghossian on topic Are K2 Tags bad for SEO?

Are K2 Tags bad for SEO?

Category: English K2 Community

Create a new K2 Category menu item and leave the selection blank.
You can call it eg: content.
This way all orphan tags will render through that menu item.
  • Austin Lindsay
  • Austin Lindsay's Avatar
02 Apr 2015 20:42
Are K2 Tags bad for SEO? was created by Austin Lindsay

Are K2 Tags bad for SEO?

Category: English K2 Community

Just a quick question about SEO.

My home page is a K2 category layout, and then I have a second menu item for featured K2 items within this category.

I also have about 20 tags based around the items within the aforementioned category.

Because some K2 items feature on all three pages, will Google see this as duplicate content, and if so, is there a fix for this?

I read something about using canonical URLs but don't know too much about them...

Thanks
  • Ian
  • Ian's Avatar
02 Apr 2015 16:06
Replied by Ian on topic Joomla 3.4+/K2 URL's

Joomla 3.4+/K2 URL's

Category: English K2 Community

I have since reverted to 3.3+ until i can solve this.

See: goo.gl/g9hN0X. The 5 initial home page items, plus the items displayed in the tabs further down display the URL as ...com/Top-Level-Category-Alias/Sub-Category-Alias/Item-Tile-Alias. After the update, the URL structure was ...com/item/Item-#-Item-Alias. Nothing was changed in the menu structure.

The Top Level Cat & Sub Cat's are mapped into a menu item, and additional lower level items in the menu are displayed via tag.

I believe this is a Joomla issue. I upgraded Joomla first, then noticed it. I then upgraded K2 via the new extension update option, and the issue was not resolved.
  • Ari
  • Ari's Avatar
02 Apr 2015 15:53

Editing item: Selection based tagging does not work

Category: English K2 Community

No errors are shown with developer tool nor firebug.

Versions: K2 v2.6.9, Joomla! 3.4.1.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
01 Apr 2015 20:12
Replied by Krikor Boghossian on topic Editing item: Selection based tagging does not work

Editing item: Selection based tagging does not work

Category: English K2 Community

Hello,

Open your browser's developer tools and check under the console tab for any errors.
You might need to reload the site to see the error.

Also make sure that Joomla! and K2 are up to date.
  • Ari
  • Ari's Avatar
01 Apr 2015 16:13

Editing item: Selection based tagging does not work

Category: English K2 Community

I have created a number of tags. From K2 Parameters (K2 Parameters -> Advanced -> Tag System Settings) I have chosen to use the Selection-based tagging.

When I go edit any item and click into the textfield just below the label Available tags, a popup-list appears, listing correctly all tags. By selecting any tag, it will appear as a gray-bordered little box within the textfield.

So far so good.

However, when I click the button Add >>, nothing happens. The tag will not show on the right hand textfield Selected tags.

I have tried different options from Tag System Settings (Lock tags, Allow item filtering by tag, Tag normalization, Tag character case), but nevertheless, I cannot tag items.

Any help would be highly appreciated.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
01 Apr 2015 14:13
Replied by Krikor Boghossian on topic How to: SIG Pro gallery in Tag view

How to: SIG Pro gallery in Tag view

Category: English K2 Community

Revert to the original introtext code.
Then replace the K2AfterDisplayContent hook with onPrepareContent (my bad)

eg:
$dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('content'); $dispatcher->trigger('onContentPrepare', array(&$item, &$params, $limitstart));
  • Rui Braz
  • Rui Braz's Avatar
31 Mar 2015 16:57
Replied by Rui Braz on topic How to: SIG Pro gallery in Tag view

How to: SIG Pro gallery in Tag view

Category: English K2 Community

Hello Krikor:

I've read the post you directed me to, and I tried using the code provided there, but it is not clear from the post where to insert the code or event if it worked. I tried pasting the code inside the foreach, above it, below it... you name it. I even tried playing with the code a bit, but I know nothing about PHP (mental note: take a crash course on PHP...).

So, sorry to bother you, but here I am asking your help once more.

My actual tag.php reads like this now:
<?php /** * @version 2.6.x * @package K2 * @author JoomlaWorks https://www.joomlaworks.net * @copyright Copyright (c) 2006 - 2014 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html */ // no direct access defined('_JEXEC') or die; ?> <!-- Start K2 Tag Layout --> <div id="k2Container" class="tagView<?php if($this->params->get('pageclass_sfx')) echo ' '.$this->params->get('pageclass_sfx'); ?>"> <?php if($this->params->get('show_page_title')): ?> <!-- Page title --> <div class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"> <?php echo $this->escape($this->params->get('page_title')); ?> </div> <?php endif; ?> <?php if($this->params->get('tagFeedIcon',1)): ?> <!-- RSS feed icon --> <div class="k2FeedIcon"> <a href="<?php echo $this->feed; ?>" title="<?php echo JText::_('K2_SUBSCRIBE_TO_THIS_RSS_FEED'); ?>"> <span><?php echo JText::_('K2_SUBSCRIBE_TO_THIS_RSS_FEED'); ?></span> </a> <div class="clr"></div> </div> <?php endif; ?> <?php if(count($this->items)): ?> <div class="tagItemList"> <?php foreach($this->items as $item): $dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('k2'); $results = $dispatcher->trigger('K2AfterDisplayContent', array(&$item, &$params, $limitstart)); $this->event->K2AfterDisplayContent = trim(implode("\n", $results)); ?> <!-- Start K2 Item Layout --> <div class="tagItemView"> <div class="tagItemHeader"> <?php if($item->params->get('tagItemDateCreated',1)): ?> <!-- Date created --> <span class="tagItemDateCreated"> <?php echo JHTML::_('date', $item->created , JText::_('K2_DATE_FORMAT_LC2')); ?> </span> <?php endif; ?> <?php if($item->params->get('tagItemTitle',1)): ?> <!-- Item title --> <h2 class="tagItemTitle"> <?php if ($item->params->get('tagItemTitleLinked',1)): ?> <a href="<?php echo $item->link; ?>"> <?php echo $item->title; ?> </a> <?php else: ?> <?php echo $item->title; ?> <?php endif; ?> </h2> <?php endif; ?> </div> <div class="tagItemBody"> <?php if($item->params->get('tagItemImage',1) && !empty($item->imageGeneric)): ?> <!-- Item Image --> <div class="tagItemImageBlock"> <span class="tagItemImage"> <a href="<?php echo $item->link; ?>" title="<?php if(!empty($item->image_caption)) echo K2HelperUtilities::cleanHtml($item->image_caption); else echo K2HelperUtilities::cleanHtml($item->title); ?>"> <img src="<?php echo $item->imageGeneric; ?>" alt="<?php if(!empty($item->image_caption)) echo K2HelperUtilities::cleanHtml($item->image_caption); else echo K2HelperUtilities::cleanHtml($item->title); ?>" style="width:<?php echo $item->params->get('itemImageGeneric'); ?>px; height:auto;" /> </a> </span> <div class="clr"></div> </div> <?php endif; ?> <?php if($item->params->get('tagItemIntroText',1)): ?> <!-- Item introtext --> <!-- <div class="tagItemIntroText"> <?php echo $item->introtext; ?> </div> --> <div class="catItemIntroText tagItemIntroText"> <?php $introtext = JHtml::_('content.prepare', $item->introtext); echo $introtext; ?> </div> <?php endif; ?> <div class="clr"></div> </div> <div class="clr"></div> <?php if($item->params->get('tagItemExtraFields',0) && count($item->extra_fields)): ?> <!-- Item extra fields --> <div class="tagItemExtraFields"> <h4><?php echo JText::_('K2_ADDITIONAL_INFO'); ?></h4> <ul> <?php foreach ($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="tagItemExtraFieldsHeader"><?php echo $extraField->name; ?></h4> <?php else: ?> <span class="tagItemExtraFieldsLabel"><?php echo $extraField->name; ?></span> <span class="tagItemExtraFieldsValue"><?php echo $extraField->value; ?></span> <?php endif; ?> </li> <?php endif; ?> <?php endforeach; ?> </ul> <div class="clr"></div> </div> <?php endif; ?> <?php if($item->params->get('tagItemCategory')): ?> <!-- Item category name --> <div class="tagItemCategory"> <span><?php echo JText::_('K2_PUBLISHED_IN'); ?></span> <a href="<?php echo $item->category->link; ?>"><?php echo $item->category->name; ?></a> </div> <?php endif; ?> <?php if ($item->params->get('tagItemReadMore')): ?> <!-- Item "read more..." link --> <div class="tagItemReadMore"> <a class="k2ReadMore" href="<?php echo $item->link; ?>"> <?php echo JText::_('K2_READ_MORE'); ?> </a> </div> <?php endif; ?> <div class="clr"></div> </div> <!-- End K2 Item Layout --> <?php endforeach; ?> </div> <!-- Pagination --> <?php if($this->pagination->getPagesLinks()): ?> <div class="k2Pagination"> <?php echo $this->pagination->getPagesLinks(); ?> <div class="clr"></div> <?php echo $this->pagination->getPagesCounter(); ?> </div> <?php endif; ?> <?php endif; ?> </div> <!-- End K2 Tag Layout -->

Any ideas?

Thank you for your patience.
Best regards.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
31 Mar 2015 15:01
Replied by Krikor Boghossian on topic k2-categories/k2-tags in url

k2-categories/k2-tags in url

Category: English K2 Community

This is either caused by a 3rd party SEO extension or by the template's setup.
K2 will not add prefixes or new aliases to your menu items.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
31 Mar 2015 14:59
  • Dimitra R.
  • Dimitra R.'s Avatar
31 Mar 2015 14:16
k2-categories/k2-tags in url was created by Dimitra R.

k2-categories/k2-tags in url

Category: English K2 Community

Hi, I am using the GK Bikestore template for my joomla 2.5 website and I have the following problem.
When I create a new menu item, the url is matoufrance.com/index.php/el/bebe-gr
However, when i edit a menu item, the url changes to matoufrance.com/index.php/el/k2-categories/k2-tags/girl-gr
I want to remove the k2-categories/k2-tags from the url. I have tried the solutions I have found in other posts of this forum, but nothing changed.
Any help would be really appreciated. Thank you.
  • Rui Braz
  • Rui Braz's Avatar
30 Mar 2015 16:22
Replied by Rui Braz on topic How to: SIG Pro gallery in Tag view

How to: SIG Pro gallery in Tag view

Category: English K2 Community

Hi Krikor:

Thanks for your help.

I replaced the block of code you mentioned, but no SIG gallery is shown.
I tried both with a template override and directly changing the tag.php in the K2 component folder.

Am I missing something?
Since SIG is a plugin, could it be something with the order of the plugins?
Also: tag.php is missing the following line that is present, p.e., in category_item.php:

<!-- K2 Plugins: K2BeforeDisplay -->
<?php echo $this->item->event->K2BeforeDisplay; ?>

I tried adding this to tag.php, with no results.

For reference: I'm using J3.4.1 and K2 v2.6.9 with T3 Framework. Aside a few customizations in CSS, K2 is as close to stock as possible.

Thank you.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
30 Mar 2015 15:25
Replied by Krikor Boghossian on topic How to: SIG Pro gallery in Tag view

How to: SIG Pro gallery in Tag view

Category: English K2 Community

Inside the tag.php file locate this block
 <div class="catItemIntroText tagItemIntroText"> <?php echo $item->introtext; ?> </div>

and replace it with:
 <div class="catItemIntroText tagItemIntroText"> <?php $introtext = JHtml::_('content.prepare', $item->introtext); echo $introtext; ?> </div>

in order to locate and override the file please read this post:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
  • Rui Braz
  • Rui Braz's Avatar
30 Mar 2015 14:44
How to: SIG Pro gallery in Tag view was created by Rui Braz

How to: SIG Pro gallery in Tag view

Category: English K2 Community

Hello everyone:

I want my K2 tag views to be similar to the category view, so I'm trying to get SIG Pro galleries to show in tag views, with no luck.
Is this possible? Does anyone know how to do it?

All help is appreciated. Thank you in advance!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
30 Mar 2015 13:38
Replied by Krikor Boghossian on topic K2 to use only one image size - how to ?

K2 to use only one image size - how to ?

Category: English K2 Community

The default one is inherited throughout the site.
If you want to apply a different tag template you need to map this tag view into a menu item.
Displaying 1941 - 1960 out of 6582 results.

Powered by Kunena Forum