Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Tom
  • Tom's Avatar
20 Nov 2013 15:21
Replied by Tom on topic K2 Tags - Ampersands

K2 Tags - Ampersands

Category: English K2 Community

Hi Yiota,

If upgrading could be avoided, that would be preferable. I have a lot of customisation going on and the fear is that by upgrading, this will be lost.
  • Yiota
  • Yiota's Avatar
20 Nov 2013 13:29
Replied by Yiota on topic K2 Tags - Ampersands

K2 Tags - Ampersands

Category: English K2 Community

Hm. Could you upgrade to the latest version?
  • Tom
  • Tom's Avatar
20 Nov 2013 13:20
Replied by Tom on topic K2 Tags - Ampersands

K2 Tags - Ampersands

Category: English K2 Community

v 2.6.5
  • Lefteris
  • Lefteris's Avatar
20 Nov 2013 13:19 - 20 Nov 2013 13:20
Replied by Lefteris on topic K2 Tags - Ampersands

K2 Tags - Ampersands

Category: English K2 Community

I believe that this 'Tag System Settings' section is included in the K2 2.6.7 version. Which K2 version do you use?
  • Tom
  • Tom's Avatar
20 Nov 2013 13:04
Replied by Tom on topic K2 Tags - Ampersands

K2 Tags - Ampersands

Category: English K2 Community

Hi Yiota,

Many thanks for your response.

That area (for me) was under the SEO heading - there's not a specific 'Tag System Settings' header in the K2 Parameters - perhaps as I'm on an older version.

Either way, I now have -

Š|S, Œ|O, Ž|Z, š|s, œ|oe, ž|z, Ÿ|Y, ¥|Y, µ|u, À|A, �|A, Â|A, Ã|A, Ä|A, Å|A, Æ|A, Ç|C, È|E, É|E, Ê|E, Ë|E, Ì|I, �|I, Î|I, �|I, �|D, Ñ|N, Ò|O, Ó|O, Ô|O, Õ|O, Ö|O, Ø|O, Ù|U, Ú|U, Û|U, Ü|U, �|Y, ß|s, à|a, á|a, â|a, ã|a, ä|a, å|a, æ|a, ç|c, è|e, é|e, ê|e, ë|e, ì|i, í|i, î|i, ï|i, ð|o, ñ|n, ò|o, ó|o, ô|o, õ|o, ö|o, ø|o, ù|u, ú|u, û|u, ü|u, ý|y, ÿ|y, ß|ss &|&

The last one (in bold) which I added seems to have converted the code you provided.

No joy yet...

Thanks so much for your assistance with this.
  • Yiota
  • Yiota's Avatar
20 Nov 2013 12:57
Replied by Yiota on topic K2 Tags - Ampersands

K2 Tags - Ampersands

Category: English K2 Community

Go to the K2 Parameters -> Advanced tab and through the Tag System Settings -> Additional character replacements add the
&|&
This will prevent the & characters to be stripped through your added tags.

Give it a try and let me know.
  • Tom
  • Tom's Avatar
20 Nov 2013 12:19
Replied by Tom on topic K2 Tags - Ampersands

K2 Tags - Ampersands

Category: English K2 Community

...just to add - I've tried a couple of generic ampersand 'fix' plugins, to no avail.
  • Ratet Einmal
  • Ratet Einmal's Avatar
19 Nov 2013 14:04
Replied by Ratet Einmal on topic K2 Tag-Cloud Module

K2 Tag-Cloud Module

Category: Offizielle deutsche Gemeinschaft

Wäre Toll gewesen wenn man das einmal gesagt hätte.
Man möchte immer kostenfreie Hilfe bei Problemen haben aber selber keine Infos raus geben
  • Yiota
  • Yiota's Avatar
19 Nov 2013 13:55
Replied by Yiota on topic K2 tools module

K2 tools module

Category: English K2 Community

Since tags pages and archive pages don't have a menu item the module cannot possibly appear to those. You could choose to show your module according the option "Show in all pages except selected". Maybe this way your module will show up like you want.
Give it a try and let me know.
  • emperor
  • emperor's Avatar
18 Nov 2013 19:05
Replied by emperor on topic Slideshow on home page

Slideshow on home page

Category: Commercial Joomla Templates

I used it and it doesn't work. I'm coming up either with a fast flash or a white home page.

Here is the code:
<?php /** * @version 1.0.0 * @package BusinessOne * @author Nuevvo - http://nuevvo.com * @copyright Copyright (c) 2010 - 2013 Nuevvo Webware Ltd. All rights reserved. * @license http://nuevvo.com/license */ $count = 1; // DO NOT CHANGE ANYTHING BELOW THIS LINE $document = JFactory::getDocument(); $numOfPages = floor(count($items)/$count); defined('_JEXEC') or die('Restricted access'); ?> <?php $document->addScriptDeclaration(" \$nuSlider(window).load(function(){ var viewportHeight = (self.innerWidth || (document.documentElement.clientWidth || (document.body.clientWidth || 0))); \$nuSlider('#k2ModuleBox".$module->id." li.item').css({'width':viewportHeight}); \$nuSlider('#k2ModuleBox".$module->id."').nuSlider( { orientation: 'horizontal', step:".$count.", viewport:".$count.", transitionTime : 1500, interval : 7000 }); }); "); ?> <div id="k2ModuleBox<?php echo $module->id; ?>" class="k2ItemsBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>"> <?php if($params->get('itemPreText')): ?> <p class="modulePretext"><?php echo $params->get('itemPreText'); ?></p> <?php endif; ?> <?php if(count($items)): ?> <div class="itemsWrapper"> <ul class="items"> <?php foreach ($items as $key=>$item): ?> <li class="<?php echo ($key%2) ? "odd" : "even"; if(count($items)==$key+1) echo ' lastItem'; ?> item"> <!-- Plugins: BeforeDisplay --> <?php echo $item->event->BeforeDisplay; ?> <!-- K2 Plugins: K2BeforeDisplay --> <?php echo $item->event->K2BeforeDisplay; ?> <?php /* if($params->get('itemImage') && isset($item->image)): ?> <a class="moduleItemImage" href="<?php echo $item->link; ?>" title="<?php echo JText::_('K2_CONTINUE_READING'); ?> &quot;<?php echo K2HelperUtilities::cleanHtml($item->title); ?>&quot;"> <img src="<?php echo $item->image; ?>" alt="<?php echo K2HelperUtilities::cleanHtml($item->title); ?>"/> </a> <?php endif; */ ?> <?php if($params->get('itemImage') && isset($item->image) /* If the module item image is enabled, this block will be used. */): ?> <span class="moduleItemImage"> <img src="<?php echo $item->image; ?>" alt="<?php echo K2HelperUtilities::cleanHtml($item->title); ?>"/> </span> <?php endif; ?> <?php if($params->get('itemExtraFields') && isset($item->extraFields->Image)): ?> style="background-image:url(<?php echo $item->extraFields->Image->value; ?>);"<?php endif; ?> <div class="row"> <?php if($params->get('itemDateCreated')): ?> <span class="moduleItemDateCreated"><?php echo JHTML::_('date', $item->created, JText::_('K2_DATE_FORMAT_LC2')); ?></span> <?php endif; ?> <?php if($params->get('itemCategory')): ?> <?php echo JText::_('K2_IN') ; ?> <a class="moduleItemCategory" href="<?php echo $item->categoryLink; ?>"><?php echo $item->categoryname; ?></a> <?php endif; ?> <?php if($params->get('itemAuthor')): ?> <div class="moduleItemAuthor"> <?php echo K2HelperUtilities::writtenBy($item->authorGender); ?> <?php if(isset($item->authorLink)): ?> <a rel="author" title="<?php echo K2HelperUtilities::cleanHtml($item->author); ?>" href="<?php echo $item->authorLink; ?>"><?php echo $item->author; ?></a> <?php else: ?> <?php echo $item->author; ?> <?php endif; ?> <?php if($params->get('userDescription')): ?> <?php echo $item->authorDescription; ?> <?php endif; ?> </div> <?php endif; ?> <?php if($params->get('itemTitle')): ?> <a class="moduleItemTitle" href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a> <?php endif; ?> <?php if($params->get('itemAuthorAvatar')): ?> <a class="k2Avatar moduleItemAuthorAvatar" rel="author" href="<?php echo $item->authorLink; ?>"> <img src="<?php echo $item->authorAvatar; ?>" alt="<?php echo K2HelperUtilities::cleanHtml($item->author); ?>" style="width:<?php echo $avatarWidth; ?>px;height:auto;" /> </a> <?php endif; ?> <?php if($params->get('itemIntroText')): ?> <div class="moduleItemIntrotext"> <?php echo $item->introtext; ?> </div> <?php endif; ?> <!-- Plugins: AfterDisplayTitle --> <?php echo $item->event->AfterDisplayTitle; ?> <!-- K2 Plugins: K2AfterDisplayTitle --> <?php echo $item->event->K2AfterDisplayTitle; ?> <!-- Plugins: BeforeDisplayContent --> <?php echo $item->event->BeforeDisplayContent; ?> <!-- K2 Plugins: K2BeforeDisplayContent --> <?php echo $item->event->K2BeforeDisplayContent; ?> <?php if($params->get('itemExtraFields') && count($item->extra_fields) && (isset($item->extraFields->Title) || isset($item->extraFields->Tagline))): ?> <div class="moduleItemExtraFields"> <?php if($item->extraFields->Title->value): ?> <h2 class="slideTitle"><?php echo $item->extraFields->Title->value; ?></h2> <?php endif; ?> <?php if($item->extraFields->Tagline->value): ?> <div class="moduleItemIntrotext hide-for-small"><?php echo $item->extraFields->Tagline->value; ?></div> <?php endif; ?> </div> <?php endif; ?> </div> <?php endif; ?> <div class="clr"></div> <?php if($params->get('itemVideo')): ?> <div class="moduleItemVideo"> <?php echo $item->video ; ?> <span class="moduleItemVideoCaption"><?php echo $item->video_caption ; ?></span> <span class="moduleItemVideoCredits"><?php echo $item->video_credits ; ?></span> </div> <?php endif; ?> <div class="clr"></div> <!-- Plugins: AfterDisplayContent --> <?php echo $item->event->AfterDisplayContent; ?> <!-- K2 Plugins: K2AfterDisplayContent --> <?php echo $item->event->K2AfterDisplayContent; ?> <?php if($params->get('itemTags') && count($item->tags)>0): ?> <div class="moduleItemTags"> <span><i class="iconFont"></i><?php //echo JText::_('K2_TAGS'); ?></span> <?php foreach ($item->tags as $tagCounter=>$tag): ?> <?php if (($tagCounter+1)==count($item->tags)): ?> <a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a> <?php else: ?> <a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?>, </a> <?php endif; ?> <?php endforeach; ?> </div> <?php endif; ?> <?php if($params->get('itemAttachments') && count($item->attachments)): ?> <div class="moduleAttachments"> <?php foreach ($item->attachments as $attachment): ?> <a title="<?php echo K2HelperUtilities::cleanHtml($attachment->titleAttribute); ?>" href="<?php echo $attachment->link; ?>"><?php echo $attachment->title; ?></a> <?php endforeach; ?> </div> <?php endif; ?> <?php if($params->get('itemCommentsCounter') && $componentParams->get('comments')): ?> <?php if(!empty($item->event->K2CommentsCounter)): ?> <!-- K2 Plugins: K2CommentsCounter --> <?php echo $item->event->K2CommentsCounter; ?> <?php else: ?> <?php if($item->numOfComments>0): ?> <a class="moduleItemComments" href="<?php echo $item->link.'#itemCommentsAnchor'; ?>"> <?php echo $item->numOfComments; ?> <?php if($item->numOfComments>1) echo JText::_('K2_COMMENTS'); else echo JText::_('K2_COMMENT'); ?> </a> <?php else: ?> <a class="moduleItemComments" href="<?php echo $item->link.'#itemCommentsAnchor'; ?>"> <?php echo JText::_('K2_BE_THE_FIRST_TO_COMMENT'); ?> </a> <?php endif; ?> <?php endif; ?> <?php endif; ?> <?php if($params->get('itemHits')): ?> <span class="moduleItemHits"> <?php echo JText::_('K2_READ'); ?> <?php echo $item->hits; ?> <?php echo JText::_('K2_TIMES'); ?> </span> <?php endif; ?> <?php if($params->get('itemReadMore') && $item->fulltext): ?> <a class="moduleItemReadMore" href="<?php echo $item->link; ?>"> <?php echo JText::_('K2_READ_MORE'); ?> </a> <?php endif; ?> <!-- Plugins: AfterDisplay --> <?php echo $item->event->AfterDisplay; ?> <!-- K2 Plugins: K2AfterDisplay --> <?php echo $item->event->K2AfterDisplay; ?> <div class="clr"></div> </div> </li> <?php endforeach; ?> </ul> </div> <?php endif; ?> <div class="nuSliderPagination"> <ul> <li><span class="prev"><a class="previousButton"> </a></span></li> <?php /* foreach($items as $key => $item):?> <?php if(($key)%$count == 0){ $class=' class="show-on-mobile"';} else {$class=' class="hidden"';}?> <?php if($key == 0){ $buttonClass='navigationButton navigationButtonActive';} else {$buttonClass='navigationButton';}?> <li<?php echo $class; ?>><a class="<?php echo $buttonClass;?>"></a></li> <?php endforeach; */ ?> <li><span class="next"><a class="nextButton"> </a></span></li> </ul> </div> <?php if($params->get('itemCustomLink')): ?> <a class="moduleCustomLink" href="<?php echo $params->get('itemCustomLinkURL'); ?>" title="<?php echo K2HelperUtilities::cleanHtml($itemCustomLinkTitle); ?>"><?php echo $itemCustomLinkTitle; ?></a> <?php endif; ?> <?php if($params->get('feed')): ?> <div class="k2FeedIcon"> <a href="<?php echo JRoute::_('index.php?option=com_k2&view=itemlist&format=feed&moduleID='.$module->id); ?>" 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; ?> </div>
  • Tom
  • Tom's Avatar
18 Nov 2013 18:20
K2 Tags - Ampersands was created by Tom

K2 Tags - Ampersands

Category: English K2 Community

Hi there,

Stumbled across an annoying little bug.

I have publication issues listed as Tags within K2. The only problem is that the format for these consists of Publication title + issue date.

In some titles we have ampersands and for branding purposes, these must remain (as opposed to replacing with 'and').

The ampersand included causes the tag to break and the articles listed under that tag will not show.

Is there a way anyone knows of to remedy this?

Any assistance greatly appreciated. Th

Joomla 2.5.
  • Yiota
  • Yiota's Avatar
18 Nov 2013 17:22 - 18 Nov 2013 18:37
Replied by Yiota on topic Slideshow on home page

Slideshow on home page

Category: Commercial Joomla Templates

Hello,

First of all you need to create your extrafields and name them like we did in the BusinessOne template. Then through the module parameters you need to disable Image, title and introtext and enable the extrafields.
Edit the Slideshow override located in templates/newsworth/html/mod_k2_content/Slideshow/ and replace the snippets for image, title and introtext with the ones below.

The snippet for the image should be
<?php if($params->get('itemExtraFields') && isset($item->extraFields->Image)): ?> style="background-image:url(<?php echo $item->extraFields->Image->value; ?>);"<?php endif; ?>

for the title and tagline
<?php if($params->get('itemExtraFields') && count($item->extra_fields) && (isset($item->extraFields->Title) || isset($item->extraFields->Tagline))): ?> <div class="moduleItemExtraFields"> <?php if($item->extraFields->Title->value): ?> <h2 class="slideTitle"><?php echo $item->extraFields->Title->value; ?></h2> <?php endif; ?> <?php if($item->extraFields->Tagline->value): ?> <div class="moduleItemIntrotext hide-for-small"><?php echo $item->extraFields->Tagline->value; ?></div> <?php endif; ?> </div> <?php endif; ?>
  • cyfcaloryfrio
  • cyfcaloryfrio's Avatar
18 Nov 2013 12:29
[SOLVED] H1 in items Category was created by cyfcaloryfrio

[SOLVED] H1 in items Category

Category: English K2 Community

Hi.....I have the following code on my website for the categories´s style:

<div id="k2Container" class="itemListView">
<div class="itemListCategoriesBlock">
<div class="itemsCategory">
<h2>Hello</h2>
</div>
</div>


The question is whether there is some way from the panel to modify h2 tag without having to edit the source code in the web.

Thanks...
  • Balgas
  • Balgas's Avatar
17 Nov 2013 17:26

Ajouter un champ dans module calendrier

Category: Communauté française K2

Bonjour !!

En fait j'utilise la dernière version de K2 et le module Bang2Joom Calendar for K2.
J'ai créé un nouveau champ date dans ma table k2_items qui s'appelle created_deux.

J'essaye désespérement d'ajouter ce champ dans mon module mais je n'y arrive pas.
Le module est en ajax et je pense qu'il faut ajouter mon champ date dans un des queries mais je n'y arrive pas :(

Quelqu'un est peut être plus à l'aise que moi ?

Merci

Voici le code :
 
  • Fred
  • Fred's Avatar
16 Nov 2013 01:03
Replied by Fred on topic K2 Item TAG selection not working

K2 Item TAG selection not working

Category: English K2 Community

Here's a link that provides a work-around/fix for the issue of free tagging not working with K2/Jooomla 3.

getk2.org/community/New-to-K2-Ask-here-first/171891-SOLVED-Bug-In-joomla-3-Tag--Calendar

It fixed by issue for now.
  • Kristin
  • Kristin's Avatar
15 Nov 2013 20:22
K2 tools module was created by Kristin

K2 tools module

Category: English K2 Community

I am making edits to one of our older sites that is running on 1.5 and I am creating a blog using K2 Categories Menu. I added two side insets using K2 tools module. My problem is that the module are only showing up on the main page of the blog and not on the pages when you select an archive or a tag.

Is there anyway to make the modules show up on the pages linking to the tags and archives?
  • Yiota
  • Yiota's Avatar
15 Nov 2013 16:14
Replied by Yiota on topic [SOLVED] category item image

[SOLVED] category item image

Category: English K2 Community

For the tags you need to alter the code a bit.
Try with the following:
<?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 elseif($item->category->image): ?> <!-- Category 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 alt="<?php echo K2HelperUtilities::cleanHtml($item->category->name); ?>" src="<?php echo JURI::base().'media/k2/categories/'.$item->category->image; ?>" /> </a> </span> </div> <?php endif; ?>
  • Yiota
  • Yiota's Avatar
15 Nov 2013 11:56
Replied by Yiota on topic Show selected extra fields in tag listing

Show selected extra fields in tag listing

Category: English K2 Community

Check that you have the option for the Extra fields enabled for the tag view through the K2 parameters.
  • James C
  • James C's Avatar
14 Nov 2013 22:59 - 14 Nov 2013 23:01

Items in catagories showing up on other pages.

Category: English K2 Community

Maybe you could assist me in the second part of my issue. When I installed the template there was a page that was configured for a 4 column listing like shown here veniceinformationcenter.com/NewVenice/gallery/columns-4

I have been trying to figure out a way to duplicate the page and just change the title and content, but everything I try does not keep the layout. I see in the url it is going under a gallery directory. Could there be a K2 option I am missing that will allow me to duplicate this?

Thanks again for your time.


I also found a way to monitor the mysql stuff. Do you agree I should give this a try?
www.howtogeek.com/howto/database/monitor-all-sql-queries-in-mysql/
  • James C
  • James C's Avatar
14 Nov 2013 20:14

Items in catagories showing up on other pages.

Category: English K2 Community

Thank you all for your replies. I have been fiddling with this all day. I think I am learning how k2 organizes things but I am still in the dark on a few things. If you go to the main page and click on business, then merchants, you will a listing of local merchants at least the ones I have finished. I would like a similar 4 column listing under my other menu options so that everything looks uniform. I have a ROKcandy component installed that came with the template but I don't think it is doing much, but then what do I know.

The speed of the site was mentioned above. This is something that popped up yesterday and has been causing me problems ever sense. It takes me forever just to do simple tasks, if anyone knows an answer to this question let me know I will post a log that looks strange to me as it seems to load a TON of data each time a page loads.

veniceinformationcenter.com/NewVenice


Joomla! Debug Console
Session
__default
session.client.browser ⇒ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
user
session.token ⇒ 40be20ad84b9886812028a7e498781cb
Profile Information
Application 0.103 seconds (+0.103); 0.77 MB (+0.772) - afterLoad
Application 3.822 seconds (+3.719); 4.29 MB (+3.518) - afterInitialise
Application 4.303 seconds (+0.481); 4.63 MB (+0.345) - afterRoute
Application 18.757 seconds (+14.454); 8.61 MB (+3.976) - afterDispatch
Application 19.376 seconds (+0.619); 8.78 MB (+0.170) - beforeRenderModule mod_version (Joomla! Version Information)
Application 20.062 seconds (+0.685); 8.81 MB (+0.028) - afterRenderModule mod_version (Joomla! Version Information)
Application 20.089 seconds (+0.027); 8.83 MB (+0.024) - beforeRenderModule mod_title (Title)
Application 20.349 seconds (+0.260); 8.84 MB (+0.003) - afterRenderModule mod_title (Title)
Application 20.349 seconds (+0.000); 8.84 MB (-0.001) - beforeRenderModule mod_toolbar (Toolbar)
Application 21.369 seconds (+1.020); 8.89 MB (+0.051) - afterRenderModule mod_toolbar (Toolbar)
Application 21.370 seconds (+0.000); 8.89 MB (-0.001) - beforeRenderModule mod_status (User Status)
Application 21.657 seconds (+0.287); 8.89 MB (+0.006) - afterRenderModule mod_status (User Status)
Application 21.657 seconds (+0.000); 8.89 MB (-0.002) - beforeRenderModule mod_menu (Admin Menu)
Application 23.168 seconds (+1.511); 9.21 MB (+0.325) - afterRenderModule mod_menu (Admin Menu)
Application 23.558 seconds (+0.390); 9.38 MB (+0.164) - afterRender
Displaying 3021 - 3040 out of 6582 results.