Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Ivan Biolley
  • Ivan Biolley's Avatar
03 Feb 2015 04:52
Modifying Tags results page was created by Ivan Biolley

Modifying Tags results page

Category: English K2 Community

Hi friends!

Is there a way to edit the Tags results page?? I like to reduce the articles text limit so this shows a "Read more button" after 3 paragraphs or just a linkable H2 title (already have this) also would like to convert the word on tag to H1 title, I mean:

I have an article "How to destroy your life" and this article would be tagged in a tag named "Weedings" so when a visitor click on the tag "Weedings" the tag results page shows a h1 title "Weedings" and so on for all the tags results pages. Is that possible???

So final result would be:
A visitor clicks on any tag word, it opens a "Tag Result Page" it shows:

H1 Title (not linkable) = Tag Word
H2 Title (linkable) = K2 Item Title
3 Paragraphs of item's content
A "Read More Button"

Then the next K2 item on the tag list and so on...

I hope you can understand this fool idea!

Thank you a lot!

Ivan
  • Lefteris
  • Lefteris's Avatar
02 Feb 2015 15:51 - 02 Feb 2015 15:52

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

@alexandria

Unfortunately there is no other way to do this currently.
  • Marimai
  • Marimai's Avatar
01 Feb 2015 11:59
How to remove "All" was created by Marimai

How to remove "All"

Category: English K2 Community

Hey, I bought Joomla template for my website and it has K2 for showing my products. I wanna to ask how can I remove from filterbar word "all"? I ony wanna show products only with tags I make, but not all of them together. My site address is memore.eu
  • alexandria
  • alexandria's Avatar
31 Jan 2015 02:57 - 31 Jan 2015 03:08

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

Hello,
Maybe its possible to assign custom template and create different Menu items and modify the category_item.php of the custom template
<?php foreach ($this->item->tags as $tag): ?> <?php if ($tag->name == 'surf') { $tag->link = 'index.php?option=com_k2&view=itemlist&task=tag&tag='.$tag->name; $tag->link .= '&Itemid=99999'; } ?> <li> <a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a> </li> <?php endforeach; ?>
but it seems a lot of work...
  • Robin
  • Robin's Avatar
30 Jan 2015 16:50 - 30 Jan 2015 16:51

[SOLVED]K2 Google+ button not working with RokBooster.

Category: English K2 Community

Hi there, i was facing the problem that The Google Plus button (delivered with K2 2.6.9) was not working with Rockettheme's Rokbooster.
Validator.w3.org was also showing div errors.

Specs: My Joomla install (3.3.6) with the Google Plus button (K2 items 2.6.9) and Rokbooster (1.1.13).

When Rokbooster is disabled, The google Plus button is available.
When Rokbooster is disabled the button doesn't display.

Solution
I made an override file for K2 (itemp.php) - It needs to be placed in JoomlaInstallDir\templates\YourTemplate\com_k2\default
Original item.php can be found at JoomlaInstallDir\components\com_k2\templates\default

Old Code:
<?php if($this->item->params->get('itemGooglePlusOneButton',1)): ?> <!-- Google +1 Button --> <div class="itemGooglePlusOneButton"> <g:plusone annotation="inline" width="120"></g:plusone> <script type="text/javascript"> (function() { window.___gcfg = {lang: 'en'}; // Define button default language here var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> </div> <?php endif; ?>

New Code:
<?php if($this->item->params->get('itemGooglePlusOneButton',1)): ?> <!-- Google +1 Button --> <div class="itemGooglePlusOneButton"> <div class="g-plusone" data-annotation="inline" data-width="150"></div> </div> <script > window.___gcfg = { lang: 'nl-NL', parsetags: 'onload' }; </script> <script src="https://apis.google.com/js/platform.js" async defer></script> <?php endif; ?>

Also the w3 validator says is w3 compliant
I hope it helps someone.
Best Regards Robin
  • fady agha
  • fady agha's Avatar
30 Jan 2015 02:44
Replied by fady agha on topic article link not working

article link not working

Category: English K2 Community

it's solved now
in K2 parameters >> Advanced >> Advanced SEF Settings >> Use the item ID in the URL = YES
but my link Favorited form ID so I user other option ( Use the item title alias = No )
so now we have new problem for Tag link is don't working !! 404 page
try it please : goo.gl/qDjJmu

thank you
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 Jan 2015 12:39

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

I think this cannot be done unless it is a custom implementation.
I suggest that you search the JED for an extension that offers this functionality.
  • alexandria
  • alexandria's Avatar
28 Jan 2015 23:23

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

Hello,

Ok i understand now andi think i need it too because right now i hide the tags in the category and items view because i can't filter.
@wardog Sorry, like Krikor said, it will display the tags in a module and not wherre you want ;)
@Krikor yes one K2 tool by category :)

Thanks
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
28 Jan 2015 15:34

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

Yes, that is the case. It will display the most popular tags in a module, not where you want them to appear.
For what you want to achieve you either need to use a custom made extension, or look at the JED for an extension.
  • wardog
  • wardog's Avatar
28 Jan 2015 14:54

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

Do you mean via K2 Tools > Tag Cloud? If so, I dont think this is what I want because this will bring tags inside the page... right?
What I want is to bring items belonging only to the parent category, whenever someone clicks on a tag (from category view. Same thing on item view. Now if you click a tag it brings the whole item list belonging to this particular tag (no category relative).

Thank you again for your time.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
28 Jan 2015 13:29

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

You will need one K2 Tools module per category for this.
@Alexandria, wardog was referring to the tags in the category item, which cannot be done.
  • alexandria
  • alexandria's Avatar
27 Jan 2015 22:52

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

Hello;
Maybe i am wrong because i am new in k2, or i didn't understood the qiestion but i think i did this with the help of the k2 tool module in clood mode and i have assigned menu item tag to the tag and filtered the category there.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
27 Jan 2015 19:36

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

Hello,

Unfortunately this is not possible by default in K2.
You could search at the JED but I do no think this is possible.
  • wardog
  • wardog's Avatar
27 Jan 2015 19:03

[SOLVED] K2 tag (link) by category inside category view option

Category: English K2 Community

Hi,

I was wondering if there is a template hack (PHP) or a plugin that allows you to do this:

if I have a category named Category A that has 5 items, and 3 of them are tagged under Tag A as well. Now lets say that Tag A overall has 100 items under it... Is there a way when someone clicks on Tag A (from item view or even from category view) to display only the items belonging to "Category A"??

Im also attaching a screenshot that I created to make myself more clear...

Thank you for your time...
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
26 Jan 2015 13:29
Replied by Krikor Boghossian on topic [SOLVED] Trying to create K2 menu item with Tag selection

[SOLVED] Trying to create K2 menu item with Tag selection

Category: English K2 Community

You 're welcome Robin and thank you for pointing out the culprit.
  • Robin
  • Robin's Avatar
24 Jan 2015 13:18

[SOLVED] Trying to create K2 menu item with Tag selection

Category: English K2 Community

Build a new Joomla install and installed my plugins one by one.
Ark Editor (former JoomlaCK) wat the culprit... so i deinstalled it.

Thanks for the help!
  • Robin
  • Robin's Avatar
23 Jan 2015 20:30

[SOLVED] Trying to create K2 menu item with Tag selection

Category: English K2 Community

Hello Krikor.

I tried different things today... I've installed a clean site to be sure that one is working correctly and it was ;)
Tried to figure out what is causing the conflict, but i do not see where the problem is.
Tried disabling the loading of jQuery but no dice.
Also installed the Plugin "jQuery Easy" to work around this problem but that also didn't help.

My html source looks like when loading the Select Tag page:
<script src="/sth/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/sth/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/sth/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/sth/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/sth/media/system/js/core.js" type="text/javascript"></script>
<script src="/sth/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/sth/media/k2/assets/js/k2.noconflict.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>
<script src="/sth/media/jui/js/chosen.jquery.min.js" type="text/javascript"></script>
<script src="/sth/media/k2/assets/js/k2.js?v=2.6.9&amp;sitepath=/sth/" type="text/javascript"></script>
<script src="/sth/media/jui/js/bootstrap.min.js" type="text/javascript"></script>
<script src="templates/isis/js/template.js" type="text/javascript"></script>
<script type="text/javascript">

Do you have any suggestions where to start to fix this?

Thanks!
  • alexp
  • alexp's Avatar
23 Jan 2015 07:09 - 23 Jan 2015 07:09

K2 Catalog Mode - crop images for square thumbnails

Category: English K2 Community

K2 2.6.8
Catalog Mode
Joomla 3.3.0

We've made progress on this but are now stuck again.

Krikor had directed us to CSS to do the cropping.
www.joomlaworks.net/forum/k2-en/38491-solved-k2-catalog-mode-crop-images-for-square-thumbnails

We followed these instructions -
jonathannicol.com/blog/2014/06/16/centre-crop-thumbnails-with-css/
but it's only working for images that are in landscape format. Which the article writer pointed out would happen unless "the portrait format image has the class 'portrait', so that we can correctly scale it to fill its container"

See screenshot-1 (hopefully I used imgur correctly). imgur.com/7GkfFxY

My developer is saying, for those images that are 'portrait', we need to have the class = portrait added in K2.

Is there a way to do that?

Can we create an Extra Field for this? So the client can select that attribute whenever an image is 'portrait'? Sort of tagging it I guess.

Or is there another way to approach this? The goal is that the method is either automatic (preferable) or at least clear for the client when they are uploading item images.

Thanks!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Jan 2015 15:14
Replied by Krikor Boghossian on topic [SOLVED] Trying to create K2 menu item with Tag selection

[SOLVED] Trying to create K2 menu item with Tag selection

Category: English K2 Community

This JS error is preventing both the modal window and the proper selection.

Is your administrator using multiple versions of jQuery?
Is k2.js rendered after jQuery?
Displaying 2041 - 2060 out of 6582 results.

Powered by Kunena Forum