Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Yiota
  • Yiota's Avatar
28 Jan 2014 11:54
Replied by Yiota on topic Image for K2 Tags Result Page

Image for K2 Tags Result Page

Category: English K2 Community

Are these tags linked to a menu item?
  • Yiota
  • Yiota's Avatar
28 Jan 2014 11:43

Two-word tag validation error and K2 restrictions

Category: English K2 Community

The dash is invalid for the url of the tag. Try to use the underscore (_) instead, to separate the two words.
  • klikeri
  • klikeri's Avatar
28 Jan 2014 09:34
Image for K2 Tags Result Page was created by klikeri

Image for K2 Tags Result Page

Category: English K2 Community

Is it possible to add an image for each tag results page? as it can be done with categories.

An example: I have a tag called police officer, and another firemen
When I go to the police tag results page I would like that a police photo appears before the content, and when I go to the firemen tag I would like a Fireman photo to display before the content. Is this possible??

Thank you!!
  • YannisDr
  • YannisDr's Avatar
28 Jan 2014 00:09

Two-word tag validation error and K2 restrictions

Category: English K2 Community

Sometimes a two-word tag may describe a meaning better and in the beginning I was using them like this "two words" but I realized that it doesn't pass html validation, so I put a dash between like this "two-words".

Unfortunately, K2 automatically removes the dash and make it one word like this "twowords".
How to resolve this problem?
  • BrethrenArchives.Com
  • BrethrenArchives.Com's Avatar
27 Jan 2014 20:12
Replied by BrethrenArchives.Com on topic K2 Category bad behavior

K2 Category bad behavior

Category: English K2 Community

Yiota Ziaggou wrote: I'm glad you sorted it out :)

Yeah, with kind nudging by folks such as yourself.

One other thing if you would be so kind. If you click into one of those series of pages you will please note the tags. For some reason I cannot understand they do not appear in the Cloud tag at the bottom of the site. Any thoughts?

Cordially,
A. Wayne Webb
  • Bogdan Voaidas
  • Bogdan Voaidas's Avatar
27 Jan 2014 16:00
Replied by Bogdan Voaidas on topic Frontend editing cancel (Joomla! v3.2 - K2 v2.6.7)

Frontend editing cancel (Joomla! v3.2 - K2 v2.6.7)

Category: English K2 Community

Also it might be a problem if you have like me the K3 Framework active with caching active. Then the script looks for the wrong script name like "k2.js". None of the scripts are named like that after caching. Then everything fails with an undefined value of the K2SitePath and the GET request is made to the /undefinedindex.php...
Still didn't manage to understand the regex thing in there.
I mention that my site is in root.
Strange, the save works.
media/k2/assets/js/k2.js line 21
function getUrlParams(targetScript, varName) { var scripts = document.getElementsByTagName('script'); var scriptCount = scripts.length; for (var a = 0; a < scriptCount; a++) { var scriptSrc = scripts[a].src; if (scriptSrc.indexOf(targetScript) >= 0) { varName = varName.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var re = new RegExp("[\\?&]" + varName + "=([^&#]*)"); var parsedVariables = re.exec(scriptSrc); if (parsedVariables !== null) { return parsedVariables[1]; } } } } // Set the site root path var K2SitePath = getUrlParams('k2.js', 'sitepath');

Anyway i just set the value of K2SitePath to "" in my case
  • Roger
  • Roger's Avatar
23 Jan 2014 21:50

New Joomla / K2 Admin Question How to find item UR

Category: English K2 Community

OK first here is my workaround. This wasn't my original design but it works for now.

the site is www.lamplighterguild.com

The work around is I added a menu item at the top right called Donate and linked that menu item to a k2 item. Again this works but not my original plan.



Original plan was on the homepage at the bottom you see in the carousel a picture Support Us. I wanted that to link to the K2 item that the menu Donate is currently linked to.



In K2 I have created a category called Donations and for the Title Alias (URL) donations.

In K2 Items I have an item called Make a Contribution and the Title Alias (URL) is make-a-contribution.


So all I wanted was to determine the url for Make A Contribution so I could update the anchor tag (<a href="">) for the support us picture in the carousel at the bottom.

I hope that is the information you were wanting from me.
  • Yiota
  • Yiota's Avatar
23 Jan 2014 17:52
Replied by Yiota on topic Filters for Joomla Sit - With K2?

Filters for Joomla Sit - With K2?

Category: English K2 Community

You don't have to use any shop extension if there is no need to. All the filter extensions suggested work either with extra fields or tags of the K2 items themselves.
  • ilan
  • ilan's Avatar
23 Jan 2014 17:34
Replied by ilan on topic [SOLVED] K2 TAG not working

[SOLVED] K2 TAG not working

Category: English K2 Community

Basically my set up was incomplete. Found the answer I was looking for here,
williamwhitejr.com/index.php/k2-tips/item/89-tag-clouds-from-the-k2-forum

Followed the suggestions and all is well.
Thanks for reading and the suggested tip
  • Yiota
  • Yiota's Avatar
23 Jan 2014 17:21
Replied by Yiota on topic [SOLVED] K2 TAG not working

[SOLVED] K2 TAG not working

Category: English K2 Community

To make sure that this is not a template issue try to use a default joomla template or to add in your page's url this: ?template=system and check if the tags are working then.
  • ilan
  • ilan's Avatar
23 Jan 2014 16:27
[SOLVED] K2 TAG not working was created by ilan

[SOLVED] K2 TAG not working

Category: English K2 Community

I am using the K2 component in a Joomlart template.
Basically, the tags do not work, it opens up a blank page when clicked upon.

I am just wondering if the k2 tags is supposed to work automatically of if I have to do a little configuration or set up before it works.

Thanks for any tips.
  • Stefan Reiser
  • Stefan Reiser's Avatar
23 Jan 2014 15:58
K2-Facebook Like Botton was created by Stefan Reiser

K2-Facebook Like Botton

Category: Offizielle deutsche Gemeinschaft

Hallo zusammen,

tagelang mache ich an diesen beiden Problemen nun schon rum und ich verzweifle noch.

In K2 wird im Facebook-Like Botton ein Error angezeit.
Der Link zeigt folgendes an
Invalid App ID: 504382846257526

zur Seite mit dem Fehler

die ID ist aber kommischerweise OK siehe www.facebook.com/pages/Antenne-Franken/504382846257526 woran könnte dies liegen?


Liebe Grüße
Stefan
  • Yiota
  • Yiota's Avatar
23 Jan 2014 13:03

Image extra field not empty once value is deleted

Category: English K2 Community

Have you tried to see this page with the default K2 template and not your override to see if you still get this empty image tag?
  • Roger
  • Roger's Avatar
22 Jan 2014 18:46 - 22 Jan 2014 18:54

New Joomla / K2 Admin Question How to find item UR

Category: English K2 Community

I created a K2 item. Now I just want to reference it from another page using an anchor tag but WHAT / WHERE do I find the url for that item???

It doesn't make sense because I have other K2 items that are referenced as index.php/About/Mission or similiar. I don't see / understand what I am missing to get this items url????

Google is showing me alot of articles about sef urls, removing k2 categories, etc.
  • roarmagazine
  • roarmagazine's Avatar
22 Jan 2014 15:23
Replied by roarmagazine on topic CustomUrl with sitename/maincategory/alias k2 j2.5

CustomUrl with sitename/maincategory/alias k2 j2.5

Category: English K2 Community

Hi,

thanks for your answer.
I've already purge the db many many times but it does not work.
The problem is that >>
k2 have not the settings oppurtunity for a url like >> sitename/top-level-category/alias.
Will you introduce this important feature in k2?

I've configured k2 for working with sef404 as sitename/top-level-category/alias i've purged the database url but
I've stil got double url for every item (k2 url & sef404 url )
a.test10.roarmagazine.it/serie-tv/recensioni-serie-tv/masters-of-sex-finale-prima-stagione.html
b. test10.roarmagazine.it/serie-tv/masters-of-sex-finale-prima-stagione.html

- For every new item i have to purge the db (with a lot of 404 that penalised my site). If I do not, i got only the k2 url.
test10.roarmagazine.it/serie-tv/recensioni-serie-tv/test-notte.html

If I try to upgrade the extension, the back end does not show k2 category for modules.
So .. it's a mess.
Any solution?
  • BrethrenArchives.Com
  • BrethrenArchives.Com's Avatar
22 Jan 2014 13:25
Replied by BrethrenArchives.Com on topic [SOLVED] Commenting on a comment

[SOLVED] Commenting on a comment

Category: English K2 Community

Krikor,
So I told a little white lie and only got back to your suggestion this morning.

I did as you suggested, using HTML tags and it works beautifully just as you said. There is one shortcoming. After saving the comment, any HTML tags applied are stripped. They are applied as can be seen here , bit in the back end comment editing screen they are stripped.

To get around this I created a K2 item calling it Comment template and saved it. I will use this in the future, copying it into the comment and editing as needed.
  • Yiota
  • Yiota's Avatar
22 Jan 2014 12:16
Replied by Yiota on topic Print link - make icon and duplication

Print link - make icon and duplication

Category: English K2 Community

Hello,

To put an icon instead of a link all you have to do is some CSS styling but let's start with the duplicate first.
You will have to create a K2 template override in order to make this modification in item.php file. Read here on how the overrides work getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

Then locate this block of code and move it at the bottom where you want it as well.
<?php if($this->item->params->get('itemPrintButton') && !JRequest::getInt('print')): ?> <!-- Print Button --> <li> <a class="itemPrintLink" rel="nofollow" href="<?php echo $this->item->printLink; ?>" onclick="window.open(this.href,'printWindow','width=900,height=600,location=no,menubar=no,resizable=yes,scrollbars=yes'); return false;"> <span><?php echo JText::_('K2_PRINT'); ?></span> </a> </li> <?php endif; ?>

Remove the <li> and </li> tags since you don't have a listing at the bottom.

Then all you need to do is css styling in order to show the icon instead of the text.
To hide the text you can write this

a.itemPrintLink span {display:none;}
and use the a.itemPrintLink to add as a background image your icon.

The styles can be put in your template's css file.

If you need more assistance on this maybe you should advise your template developer/provider first.
  • ljk
  • ljk's Avatar
20 Jan 2014 22:56

SOLVED: How to access extra fields in tag template

Category: English K2 Community

Hi,

I have made sure that tags now have Extra Fields enabled in the K2 Parameters.

But
$price = $this->item->extraFields->Price->value;
still is not returning the Price extra field. Price is the alias of the Price field. Still getting out a blank value for Price.

Other ideas?

Thank you for your help.
  • carlos osorio
  • carlos osorio's Avatar
20 Jan 2014 19:12
Replied by carlos osorio on topic Enable plugins on Tag view

Enable plugins on Tag view

Category: English K2 Community

Good Day, and thanks Yiota Ziaggou,

I've already add the code you provided me, however doing a debug I've noticed that it is not loaded and is undefined variable $item in the section corresponding to the tag in the view \components\com_k2\views\itemlist\view.html.php

thanks again.
  • Yiota
  • Yiota's Avatar
20 Jan 2014 17:17
Replied by Yiota on topic Enable plugins on Tag view

Enable plugins on Tag view

Category: English K2 Community

Try to put the code
$dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('k2'); $results = $dispatcher->trigger('K2AfterDisplayContent', array(&$item, &$params, $limitstart)); $this->event->K2AfterDisplayContent = trim(implode("\n", $results));

you have already provided in the tag.php file of your overrides (getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates).
Displaying 2861 - 2880 out of 6582 results.

Powered by Kunena Forum