Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • damien
  • damien's Avatar
06 Nov 2013 18:11

I don't understand the itemRelated by tags list

Category: English K2 Community

yes for sure

Is there a specific way to overlaod K2 ? I don't look any specific directory or documentation about this

Thanks
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
06 Nov 2013 13:53
Replied by Krikor Boghossian on topic I don't understand the itemRelated by tags list

I don't understand the itemRelated by tags list

Category: English K2 Community

You can try this solution which seems to fit your needs and see it works for version 2.6.x ,BUT you have to make sure you backup first and always keep your edited files backed up because you will lose these changes every time you update K2.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
06 Nov 2013 13:21
Replied by Krikor Boghossian on topic Show Author, related items and tags on the right

Show Author, related items and tags on the right

Category: English K2 Community

You need to read this tutorial on how to override the K2 template files.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

The elements you are looking for are located in the item.php file. You can align them to the right using CSS but since this is a component view you cannot place them inside modules.
  • PO Michel
  • PO Michel's Avatar
06 Nov 2013 11:09
Replied by PO Michel on topic [SOLVED] K2 and AceSEF Meta tags

[SOLVED] K2 and AceSEF Meta tags

Category: English K2 Community

Hello all,

After hours and days of investigation, I should say that JoomSEF works better with K2.

You have to pay 10 euros to get the K2 extension but SEF URLs and Meta Tags work fine with JoomSEF.

Thus, I have given up AceSEF.
  • damien
  • damien's Avatar
06 Nov 2013 09:21

I don't understand the itemRelated by tags list

Category: English K2 Community

Yes I'm sure and check it before !

I look at the files item.php and itemlist.php and it seems the request doesn't make a "count" and just a pass
. It uses the attribute DISTINCT :

$query = "SELECT DISTINCT itemID FROM #__k2_tags_xref WHERE tagID IN ({$sql}) AND itemID!={$itemID}";

Look here
getk2.org/community/advsearch?q=getRelatedItems&exactname=1&searchdate=all&childforums=1&limit=5

I should try this soluce I think but i don't look for a specific way of "overload"

Thanks
  • webloesung
  • webloesung's Avatar
05 Nov 2013 22:58

Show Author, related items and tags on the right

Category: English K2 Community

Hello!
does anyone has an experience how to restructure the K2 item page. For example to show the K2 article AUTHOR, ADDITIONAL Fields, set Tags in the another module on the page (for example on the right side in model "right"?
Thank you for any experience (also negative experience with such similar "rebuilt" :)
  • PO Michel
  • PO Michel's Avatar
05 Nov 2013 16:37
[SOLVED] K2 and AceSEF Meta tags was created by PO Michel

[SOLVED] K2 and AceSEF Meta tags

Category: English K2 Community

Hi,

I use K2 2.6.7 in a Joomla 2.5.14 installation build for one of my customers.

I use AceSEF for URL rewriting and it works fine with both VirtueMart 2 and K2.

Problems raise when I try to use the Metadata feature of SEF - I need it to rewrite the Meta title of my K2 items.

Information is recorded in the AceSEF database... but the meta title, description anf keywords generated on my pages are not the ones entered in AceSEF !

I know there is an existing plugin to automatically generate meta information for K2 from AceSEF but it doesn't feed my need : I want to enter meta information manually !

Anybody experiencing the same issues ? Should I give up AceSEF for sh404SEF ?

Thanks in advance for your help.
  • Tom
  • Tom's Avatar
05 Nov 2013 16:23
Replied by Tom on topic K2 items not showing up in breadcrumbs

K2 items not showing up in breadcrumbs

Category: English K2 Community

If i use Joomla!'s default breadcrumbs module only the Homepage is displayed when a k2 article or catagory is linked. When a Joomla article is linked the default breadcrumbs works.

Thanks,
Tom
  • Tom
  • Tom's Avatar
05 Nov 2013 13:41 - 05 Nov 2013 13:45
Replied by Tom on topic K2 items not showing up in breadcrumbs

K2 items not showing up in breadcrumbs

Category: English K2 Community

Yes, i do. The module function is set to breadcumbs.

The breadcrumbs is showing and linking the catagory structur. But i will link and display the menu structur.

Thanks :)
  • Stefano Gargiulo
  • Stefano Gargiulo's Avatar
02 Nov 2013 20:04 - 02 Nov 2013 20:05
Replied by Stefano Gargiulo on topic [SOLVED] Bug: In joomla 3 Tag & Calendar

[SOLVED] Bug: In joomla 3 Tag & Calendar

Category: English K2 Community

SOLVED!

Here you can find a simple patch for the Joomla 3 (not K2!) bug that causes this unintentional opening of the calendar (the bug is still present in Joomla 3.1.5)

creativeprogramming.it/en/knowshare/item/48-joomla3-js-calendar-issue-unwanted-popup-enter-fixed

It was due to a wrong handling of javascript keypress events, so any time you hit enter in an inputbox the first available calendar opens.
  • karlo
  • karlo's Avatar
02 Nov 2013 12:49

how to convert k2 items to default joomla articles

Category: English K2 Community

I used these, but before that I changed a few of the fields of k2 tables to suit those in PREFIX_content ...PREFIX_categories
I advise if items are few, transfer them manually
I hope you understand?


CATEGORIES

INSERT INTO `DATABASENAME_PREFIX`.`PREFIX_categories` (`id`, `title`, `alias`, `published`, `access`, `parent_id`, `language`, `extension`, `level`, `path`, `params`, `asset_id`)
SELECT `id`, `title`, `alias`, `published`, `access`, `parent_id`, `language`, `extension`, `level`, `path`, `params`, `asset_id`
FROM `DATABASENAME_PREFIX`.`PREFIX_k2_categories`



Articles

INSERT INTO `DATABASENAME_PREFIX`.`PREFIX_content` (`id`, `title`, `alias`, `catid`, `introtext`, `fulltext`, `created`, `created_by`, `created_by_alias`, `checked_out`, `checked_out_time`, `modified`, `modified_by`, `publish_up`, `publish_down`, `access`, `featured`, `hits`, `language`)
SELECT `id`, `title`, `alias`, `catid`, `introtext`, `fulltext`, `created`, `created_by`, `created_by_alias`, `checked_out`, `checked_out_time`, `modified`, `modified_by`, `publish_up`, `publish_down`, `access`, `featured`, `hits`, `language`
FROM `DATABASENAME_PREFIX`.`PREFIX_k2_items`


TAGS

INSERT INTO `DATABASENAME_PREFIX`.PREFIX_tags` (`id`, `parent_id`, `lft`, `rgt`, `level`, `path`, `title`, `alias`, `published`, `access`, `language`)
SELECT `id`, `parent_id`, `lft`, `rgt`, `level`, `path`, `title`, `alias`, `published`, `access`, `language`
FROM `DATABASENAME_PREFIX`.`PREFIX_k2_tags`
  • ahsan
  • ahsan's Avatar
01 Nov 2013 06:30

Can i use any joomla template with k2

Category: English K2 Community

I want to start a blog (k2=catagories) on my existing joomla site. I want to ask that can i use any joomla template or should i use only that template that supports k2 also. What are pros and cons? Thanks.
  • Vseva
  • Vseva's Avatar
01 Nov 2013 02:03

Add FAcebook image meta tag to K2 head (og:image)

Category: English K2 Community

Hey;

Thought this might be useful, even though it is a core hack; and I'm sure it could be improved too.

I noticed K2 doesn't insert the "og:image" mete tag into the head of pages.
<meta property="og:image" content="http://example.com/images/logo.png" />

So, if you go to: /components/com_k2/views/itemlist/view.html.php at line 637
Where you find this conditional statement:
if ($task == 'category' && $this->category->image && strpos($this->category->image, 'placeholder/category.png') === false) { $image = substr(JURI::root(), 0, -1).str_replace(JURI::root(true), '', $this->category->image); $document->setMetaData('og:image', $image); $document->setMetaData('image', $image); }

and add an else statement right after the " } ", and paste this code in:
else{ // New code $image = substr(JURI::root(), 0, -1).str_replace(JURI::root(true), '', '/images/logo.png'); $document->setMetaData('og:image', $image); $document->setMetaData('image', $image); } if ($task == 'item' && !empty($this->item->image)){ $image = substr(JURI::root(), 0, -1).str_replace(JURI::root(true), '', $this->item->image); $document->setMetaData('og:image', $image); $document->setMetaData('image', $image); }else{ $image = substr(JURI::root(), 0, -1).str_replace(JURI::root(true), '', '/images/logo.png'); $document->setMetaData('og:image', $image); $document->setMetaData('image', $image); } // End of New code

Code explained:

If there is a category image assigned to the category it will add it to the meta tag, if not(else) it will use the logo.png in the images folder. (you might want to substitute (logo.png) for whatever image you want to use by default).
And same goes for an item.

I know it's a hack, but it did the trick for me.

Hope someone finds this useful.

Peace.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
31 Oct 2013 12:29
Replied by Krikor Boghossian on topic disabling or removing tag functionalities? is it p

disabling or removing tag functionalities? is it p

Category: English K2 Community

Tags are an integral part of K2 and cannot be disabled. You can always try to hide it with CSS if you do not want to override any parts of the template.
  • gaker
  • gaker's Avatar
30 Oct 2013 23:35

disabling or removing tag functionalities? is it p

Category: English K2 Community

hello,

is it possible to completely turn off/disable/ remove tagging system in my k2 ? I do not use this, and I wouldn't like to overwrite the itemform.php where I have to hide tags fields.

So, this is an question about disabling k2 tagging or putting it available for specific user group.

I hope that it is possible to disable... :)

thank you
  • sterling
  • sterling's Avatar
30 Oct 2013 22:12

k2 ratings/rich snippets vote crashing google bot

Category: English K2 Community

I think content vote is the issue when rich snippets vote is activated. I've unpublished rich snippets vote

tagdesignco.ca
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
30 Oct 2013 13:07
Replied by Krikor Boghossian on topic Tags not saving in V 2.6.7 ???

Tags not saving in V 2.6.7 ???

Category: English K2 Community

Have you tried updating JCE?

Also are you using any K2 plugins or extensions? These might cause JS conflicts.

Finally make sure that jQuery and jQuery UI i only loaded once in the administration area. This means you have to check the source code to see if another is loading multiple instances of jQuery and disable that loading.
  • Yiota
  • Yiota's Avatar
30 Oct 2013 10:07

K2 item page with module in businessOne_Sidebar

Category: Commercial Joomla Templates

In the BusinessOne template we do not use the sidebar in the item pages. You can make the following modification in index.php of the template in order to achieve this
Locate the following code
<div class="content column <?php if($this->countModules('businessOne_Sidebar') && ($view!='item' && $view!='article') && ($pageSuffix!='gridView')) echo 'eight mobile-four alpha'; else echo 'twelve alpha omega'; ?><?php if($this->countModules('businessOne_SubmenuCategories') && ($option=='com_k2' && $view=='itemlist' && $task!='tag' && $task!='search')) echo ' enabledSubmenuCategory'; ?>"> <?php if($this->countModules('businessOne_Component') && $isFrontpage): ?> <jdoc:include type="modules" name="businessOne_Component" style="nu" /> <?php endif; ?> <?php if($this->countModules('businessOne_SubmenuCategories') && ($view!='item' && $view!='article') && $task!='tag' && $task!='search'): ?> <div class="categorySubmenu column twelve alpha <?php if(!($this->countModules('businessOne_Sidebar')) && ($view!='item' && $view!='article')) echo 'noPadding'; ?>"> <jdoc:include type="modules" name="businessOne_SubmenuCategories" style="nu" /> </div> <?php endif; ?> <jdoc:include type="component" /> </div> <?php if($this->countModules('businessOne_Sidebar') && ($view!='item' && $view!='article')): ?> <div class="sidebar column <?php if ($pageSuffix=='gridView') echo 'twelve mobile-four noPadding'; else echo 'four mobile-four omega'; ?>"> <jdoc:include type="modules" name="businessOne_Sidebar" style="nu" /> <div class="clr"></div> </div> <?php endif; ?>

and replace it with this
<div class="content column <?php if($this->countModules('businessOne_Sidebar') && ($pageSuffix!='gridView')) echo 'eight mobile-four alpha'; else echo 'twelve alpha omega'; ?><?php if($this->countModules('businessOne_SubmenuCategories') && ($option=='com_k2' && $view=='itemlist' && $task!='tag' && $task!='search')) echo ' enabledSubmenuCategory'; ?>"> <?php if($this->countModules('businessOne_Component') && $isFrontpage): ?> <jdoc:include type="modules" name="businessOne_Component" style="nu" /> <?php endif; ?> <?php if($this->countModules('businessOne_SubmenuCategories') && ($view!='item' && $view!='article') && $task!='tag' && $task!='search'): ?> <div class="categorySubmenu column twelve alpha <?php if(!($this->countModules('businessOne_Sidebar')) echo 'noPadding'; ?>"> <jdoc:include type="modules" name="businessOne_SubmenuCategories" style="nu" /> </div> <?php endif; ?> <jdoc:include type="component" /> </div> <?php if($this->countModules('businessOne_Sidebar')): ?> <div class="sidebar column <?php if ($pageSuffix=='gridView') echo 'twelve mobile-four noPadding'; else echo 'four mobile-four omega'; ?>"> <jdoc:include type="modules" name="businessOne_Sidebar" style="nu" /> <div class="clr"></div> </div> <?php endif; ?>
  • Flavia Silveira
  • Flavia Silveira's Avatar
30 Oct 2013 04:36
Replied by Flavia Silveira on topic how to convert k2 items to default joomla articles

how to convert k2 items to default joomla articles

Category: English K2 Community

I'm going to attempt this daunting move with a 2.5 site. Can someone post the SQL queries for moving the content, categories and tags here?

Thank you in advance,

Flavia
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 Oct 2013 15:32
Replied by Krikor Boghossian on topic Extra Fields Use Case

Extra Fields Use Case

Category: English K2 Community

Hello Joe,

You need a custom taxonomy. You can use an extension for multi categorisation or use Tags and K2 tag menus for the Resource Type.
Displaying 3081 - 3100 out of 6582 results.

Powered by Kunena Forum