COMMUNITY FORUM
Search Results (Searched for: k2 Tag)
- Afgcric
06 Oct 2011 14:26
Replied by Afgcric on topic Sh404sef and K2
Sh404sef and K2
Category: English K2 Community
I use joomla 1.5.22And this is how my htaccess file looks like ##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
- Andrea
06 Oct 2011 12:48
Replied by Andrea on topic Related Articles in the view module
Related Articles in the view module
Category: English K2 Community
Nope, don't undestand :( i don't want change css style of the related item's but i want show it like the image.
I have a module ( mod_k2_content ) and show the but only the image + text, i would like show the releat item too. it's possibile?
Kannan Naidu said:
You need to add tags while adding items in K2. Then in the Category of the items, set the K2 Parameters -> Item View Options - > Related Items (by tag) set to Show.
This will display the related item's title with a link in bullet list style. If you want custom image, then style it in K2.css
div.itemTagsBlock ul.itemTags {css values} div.itemTagsBlock ul.itemTags li {css values}
or if you use a template with custom css, then add it there.
I have a module ( mod_k2_content ) and show the but only the image + text, i would like show the releat item too. it's possibile?
Kannan Naidu said:
You need to add tags while adding items in K2. Then in the Category of the items, set the K2 Parameters -> Item View Options - > Related Items (by tag) set to Show.
This will display the related item's title with a link in bullet list style. If you want custom image, then style it in K2.css
div.itemTagsBlock ul.itemTags {css values} div.itemTagsBlock ul.itemTags li {css values}
or if you use a template with custom css, then add it there.
- Kannan Naidu Venugopal
06 Oct 2011 12:42
Replied by Kannan Naidu Venugopal on topic Related Articles in the view module
Related Articles in the view module
Category: English K2 Community
You need to add tags while adding items in K2. Then in the Category of the items, set the K2 Parameters -> Item View Options - > Related Items (by tag) set to Show.
This will display the related item's title with a link in bullet list style. If you want custom image, then style it in K2.css
div.itemTagsBlock ul.itemTags {css values} div.itemTagsBlock ul.itemTags li {css values}
or if you use a template with custom css, then add it there.
This will display the related item's title with a link in bullet list style. If you want custom image, then style it in K2.css
div.itemTagsBlock ul.itemTags {css values} div.itemTagsBlock ul.itemTags li {css values}
or if you use a template with custom css, then add it there.
- william white
06 Oct 2011 04:11
Latest addon for K2 was created by william white
Latest addon for K2
Category: English K2 Community
moving tags
- Jerry Garner
04 Oct 2011 08:01
Replied by Jerry Garner on topic all about K2 and Cache System
all about K2 and Cache System
Category: English K2 Community
Oh, it works well, it is just slower than 1.7. That's all I'm saying, and it's partially because of the way the K2 caching system works.
My other problem is these category links at the top of pages. I'm able to get rid of it on some pages, but not on others, and it makes no sense as to why. No one on this forum seems to have an answer to it and it looks quite ugly the way it is. It's enough that I'm thinking about just scrapping K2 and starting from scratch with 1.7. I can always add comments and tags to that in a matter of minutes and then it will have all the same features.
My other problem is these category links at the top of pages. I'm able to get rid of it on some pages, but not on others, and it makes no sense as to why. No one on this forum seems to have an answer to it and it looks quite ugly the way it is. It's enough that I'm thinking about just scrapping K2 and starting from scratch with 1.7. I can always add comments and tags to that in a matter of minutes and then it will have all the same features.
- William Gollinger
03 Oct 2011 19:33
Replied by William Gollinger on topic Adding K2 rating system to custom module
Adding K2 rating system to custom module
Category: English K2 Community
Ok, so I think I understand what I need to do, but I need just a little help doing it.
If I can get a reference to a k2 item (presumably via its id), call it "$item", then I should be able to do "$item->params->get('itemRating')" or "$item->votingPercentage" to get the value I need. Is that right?
So, what's the proper way to make this reference? That's the part I'm having trouble understanding right now. Like, what files do I need to include? (Hopefully people are still reading this thread...)
If I can get a reference to a k2 item (presumably via its id), call it "$item", then I should be able to do "$item->params->get('itemRating')" or "$item->votingPercentage" to get the value I need. Is that right?
So, what's the proper way to make this reference? That's the part I'm having trouble understanding right now. Like, what files do I need to include? (Hopefully people are still reading this thread...)
- Marc Hollander
03 Oct 2011 11:25
rss feed not showing itemIntroText but calls K2feedIntroText was created by Marc Hollander
rss feed not showing itemIntroText but calls K2feedIntroText
Category: English K2 Community
Hi,
For some reason I can't get my rss feed straight. Everything works except the feed is not showing my intro text in the feed. My guess is that it has something to do with the introtext in de page is between itemIntoText div tag and the RSS feed calls K2feedIntroText instead.
Does anybody know where I can change this to call itemIntroText instead??
marchollander.nl/index.php/marc-hollander-blog
Cheers,
Marc
For some reason I can't get my rss feed straight. Everything works except the feed is not showing my intro text in the feed. My guess is that it has something to do with the introtext in de page is between itemIntoText div tag and the RSS feed calls K2feedIntroText instead.
Does anybody know where I can change this to call itemIntroText instead??
marchollander.nl/index.php/marc-hollander-blog
Cheers,
Marc
- MRK2005
01 Oct 2011 15:56
Replied by MRK2005 on topic Error "JFolder: :files: Path is not a folder. Path:" on fresh install for 1.6
Error "JFolder: :files: Path is not a folder. Path:" on fresh install for 1.6
Category: Simple Image Gallery PRO
Hi,
I bought a simple image gallery pro version 2.5.5 with my paypal. I setup this plugin today. I didn't take any error messages during setup. It works but i have an error at upload image zip.
This error message is below:
"There was a problem rendering your image gallery. Please make sure that the folder you are using in the Simple Image Gallery PRO plugin tags exists and contains valid image files. The plugin could not locate the folder:media/k2/galleries"
I tried to change sig path and gave permission "the media/k2/galleries" but it doesnt appear; always take this error.
Can you help me please?
I bought a simple image gallery pro version 2.5.5 with my paypal. I setup this plugin today. I didn't take any error messages during setup. It works but i have an error at upload image zip.
This error message is below:
"There was a problem rendering your image gallery. Please make sure that the folder you are using in the Simple Image Gallery PRO plugin tags exists and contains valid image files. The plugin could not locate the folder:media/k2/galleries"
I tried to change sig path and gave permission "the media/k2/galleries" but it doesnt appear; always take this error.
Can you help me please?
- Jennifer Gregory
29 Sep 2011 14:46
Replied by Jennifer Gregory on topic Problems Saviing Edits When Using IE9
Problems Saviing Edits When Using IE9
Category: English K2 Community
I'm having the same problem with a site - we cannot choose a category or tags in the backend when creating a new item. Haven't had much luck finding a fix. Saw this just now but not sure it would help: downloads.ijoomla.com/joomla-downloads/style-a-design/browse...
The site uses JCE by default but this issue lies within the K2 part of the item, not the content area.
The site uses JCE by default but this issue lies within the K2 part of the item, not the content area.
- Jennifer Gregory
29 Sep 2011 14:45
Cannot choose Category or Tags in backend when using IE9 was created by Jennifer Gregory
Cannot choose Category or Tags in backend when using IE9
Category: English K2 Community
I was at a client's site yesterday doing training on their brand new site using K2 and unfortunately they are not able to choose a Category or tag/s when creating new items in K2. They are using IE9. I haven't seen this issue on Firefox or Chrome.
Is this something that others have experienced or there is a fix for? They seem reluctant to go back to an earlier version or even install Firefox...
Is this something that others have experienced or there is a fix for? They seem reluctant to go back to an earlier version or even install Firefox...
- mcweb
29 Sep 2011 00:10
Replied by mcweb on topic K2 items Title Tag shows on Empty SIG Pro Gallery
K2 items Title Tag shows on Empty SIG Pro Gallery
Category: Simple Image Gallery PRO
any solution?
::)
::)
- Ric Ordea
28 Sep 2011 15:19
Replied by Ric Ordea on topic Select Image css formatting
Select Image css formatting
Category: English K2 Community
Thanks Kannan!
The problem is that I only want to unformat the pdf icon images. If I change the k2.css it will reformat all images in the articles on the entire site. Is there any way to just format the icon image based on image name or something like that? DOCman doesn't apply id tags to the images or this would be easy.
The problem is that I only want to unformat the pdf icon images. If I change the k2.css it will reformat all images in the articles on the entire site. Is there any way to just format the icon image based on image name or something like that? DOCman doesn't apply id tags to the images or this would be easy.
- ian robson
27 Sep 2011 22:06
Simple image gallery Pro in K2 joomla 1.7 was created by ian robson
Simple image gallery Pro in K2 joomla 1.7
Category: Simple Image Gallery PRO
Hi, I know its in beta testing or RC testing so come with no gaurantees. My problem is in the RSS feed that is generated from a category list in K2 - the plugin tabs are not stripped out for SIG Pro - in the feed appears the tags
{gallery}durham_trophies{/gallery}
The feed is
virtualweddingfair.co/virtual-wedding-fair/north-east-england-wedding-fair?format=feed
In the same feed the tags for google maps tech.reumer.net are nicely stripped out.
Is there a simple parameter setting somewhere to remove the tags in K2 for joomla 1.7 ?
{gallery}durham_trophies{/gallery}
The feed is
virtualweddingfair.co/virtual-wedding-fair/north-east-england-wedding-fair?format=feed
In the same feed the tags for google maps tech.reumer.net are nicely stripped out.
Is there a simple parameter setting somewhere to remove the tags in K2 for joomla 1.7 ?
- Matthew Philogene
26 Sep 2011 12:07
Replied by Matthew Philogene on topic Content Module Filter by Tag Addition
Content Module Filter by Tag Addition
Category: English K2 Community
Hi MAEX
do you by any chance have this updated for Joomla 1.7 and the latest version of K2 on the SVN ?
Ideally a new module would be better rather than having to override the existing one ?
Matthew
MAEX said:
Hi,
I have add the tag feature now to the current K2 Content Module 2.4.1. I also have add an option to only fetch items with Gallery, and an option which you can show or hidden the Gallery.
Thanks to Dave, for this great tag feature.
Greetings,
Martin
do you by any chance have this updated for Joomla 1.7 and the latest version of K2 on the SVN ?
Ideally a new module would be better rather than having to override the existing one ?
Matthew
MAEX said:
Hi,
I have add the tag feature now to the current K2 Content Module 2.4.1. I also have add an option to only fetch items with Gallery, and an option which you can show or hidden the Gallery.
Thanks to Dave, for this great tag feature.
Greetings,
Martin
- Odin Mayland
24 Sep 2011 23:39
Replied by Odin Mayland on topic Can't get extra fields to show
Can't get extra fields to show
Category: English K2 Community
I am using k2joom k2 template k2rounded as the basis, but I have modified it.
I am looking but if you know what to look for here is my k2rounded item.php :
<?php /**
* K2Rounded the k2 template by K2Joom
* Version 2.0 for K2 V2.4
* @version $Id: item.php 558 2010-09-22 11:25:17Z lefteris.kavadas $
* @package K2
* @author JoomlaWorks www.joomlaworks.gr
* @copyright Copyright (c) 2006 - 2010 JoomlaWorks, a business unit of Nuevvo Webware Ltd. All rights reserved.
* @license GNU/GPL license: www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<!-- Start K2 Item Layout -->
<span id="startOfPageId<?php echo JRequest::getInt('id'); ?>"></span>
<div id="k2Container" class="itemView<?php if($this->item->params->get('pageclass_sfx')) echo ' '.$this->item->params->get('pageclass_sfx'); ?>">
<!-- Plugins: BeforeDisplay -->
<?php echo $this->item->event->BeforeDisplay; ?>
<!-- K2 Plugins: K2BeforeDisplay -->
<?php echo $this->item->event->K2BeforeDisplay; ?>
<?php if(isset($this->item->editLink)): ?>
<!-- Item edit link -->
<span class="itemEditLink">
<a class="modal" rel="{handler:'iframe',size:{x:990,y:650}}" href="<?php echo $this->item->editLink; ?>">
<?php echo JText::_('Edit item'); ?>
</a>
</span>
<?php endif; ?>
<!-- Plugins: AfterDisplayTitle -->
<?php echo $this->item->event->AfterDisplayTitle; ?>
<div class="itemBody">
<!-- Plugins: BeforeDisplayContent -->
<?php echo $this->item->event->BeforeDisplayContent; ?>
<!-- K2 Plugins: K2BeforeDisplayContent -->
<?php echo $this->item->event->K2BeforeDisplayContent; ?>
<?php if($this->item->params->get('itemImage') && !empty($this->item->image)): ?>
<!-- Item Image -->
<div class="itemImageBlock">
<span class="itemImage">
<a class="modal" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('Click to preview image'); ?>">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</a>
</span>
<?php if($this->item->params->get('itemImageMainCaption') && !empty($this->item->image_caption)): ?>
<!-- Image caption -->
<span class="itemImageCaption"><?php echo $this->item->image_caption; ?></span>
<?php endif; ?>
<?php if($this->item->params->get('itemImageMainCredits') && !empty($this->item->image_credits)): ?>
<!-- Image credits -->
<span class="itemImageCredits"><?php echo $this->item->image_credits; ?></span>
<?php endif; ?>
<div class="clr"></div>
</div>
<?php endif; ?>
<div class="itemHeader">
<?php if($this->item->params->get('itemFeaturedNotice') && $this->item->featured): ?>
<!-- Featured flag -->
<span class="featured">
<?php /*?><sup>
<?php echo JText::_('Featured'); ?>
</sup><?php */?>
</span>
<?php endif; ?>
<?php if($this->item->params->get('itemTitle')): ?>
<!-- Item title -->
<h2 class="itemTitle">
<?php echo $this->item->title; ?>
</h2>
<?php endif; ?>
<?php if($this->item->params->get('itemAuthor')): ?>
<!-- Item Author -->
<span class="itemAuthor">
<?php echo K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>
<?php if(empty($this->item->created_by_alias)): ?>
<a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
<?php else: ?>
<?php echo $this->item->author->name; ?>
<?php endif; ?>
</span>
<?php endif; ?>
</div>
<div class="itemToolbar">
<?php if($this->item->params->get('itemFontResizer')): ?>
<!-- Font Resizer -->
<ul>
<li>
<span class="itemTextResizerTitle"><?php echo JText::_('Text size:'); ?></span>
<a href="#" id="fontDecrease">
<span><?php echo JText::_('-'); ?></span>
<img src="components/com_k2/images/system/blank.gif" alt="<?php echo JText::_('decrease font size'); ?>" />
</a>
<a href="#" id="fontIncrease">
<span><?php echo JText::_('+'); ?></span>
<img src="components/com_k2/images/system/blank.gif" alt="<?php echo JText::_('increase font size'); ?>" />
</a>
</li>
<?php if($this->item->params->get('itemPrintButton')): ?>
<!-- Print Button -->
<li>
<?php if(JRequest::getCmd('print')==1): ?>
<a class="itemPrintLink" href="<?php echo $this->item->printLink; ?>" onclick="window.print();return false;">
<span><?php echo JText::_('Print'); ?></span>
</a>
<?php else: ?>
<a class="modal itemPrintLink" title="Print me Out" href="<?php echo $this->item->printLink; ?>" rel="{handler:'iframe',size:{x:900,y:500}}">
<span><?php echo JText::_('Print'); ?></span>
</a>
<?php endif; ?>
</li>
<?php endif; ?>
</ul>
<?php endif; ?>
</div>
<?php if(!empty($this->item->fulltext)): ?>
<?php if($this->item->params->get('itemIntroText')): ?>
<!-- Item introtext -->
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemFullText')): ?>
<!-- Item fulltext -->
<div class="itemFullText">
<?php echo $this->item->fulltext; ?>
</div>
<?php endif; ?>
<?php else: ?>
<!-- Item text -->
<div class="itemFullText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemImageGallery') && !empty($this->item->gallery)): ?>
<!-- Item image gallery -->
<a name="itemImageGalleryAnchor" id="itemImageGalleryAnchor"></a>
<div class="itemImageGallery">
<?php echo $this->item->gallery; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?>
<!-- Item extra fields /*there was originally a : between the ?>:</ */ -->
<div class="itemExtraFields">
<h3><?php echo JText::_(''); ?></h3>
<ul>
<?php foreach ($this->item->extra_fields as $key=>$extraField):?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
<span class="itemExtraFieldsLabel"><?php /*echo $extraField->name; */?></span>
<span class="itemExtraFieldsValue"><?php echo JHTML::_('content.prepare', $extraField->value); ?></span>
<br class="clr" />
</li>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>
<div class="itemrelatedtag">
<?php if($this->item->params->get('itemRelated') && isset($this->relatedItems)): ?>
<!-- Related items by tag -->
<div class="itemRelated">
<h3><?php echo JText::_("Similar Items"); ?></h3>
<ul>
<?php foreach($this->relatedItems as $key=>$item): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?>">
<a href="<?php echo $item->link ?>"><?php echo $item->title; ?></a>
</li>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
<?php if($this->item->params->get('itemDateCreated')): ?>
<!-- Date created -->
<span class="itemDateCreated">
<?php echo JText::_('Written on'); ?> <?php echo JHTML::_('date', $this->item->created , JText::_('DATE_FORMAT_LC2')); ?>
<?php endif; ?>
<?php if($this->item->params->get('itemDateModified') && intval($this->item->modified)!=0):?>
<!-- Item date modified -->
<?php if($this->item->created != $this->item->modified): ?>
<?php echo JText::_(' and last modified on'); ?> <?php echo JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2')); ?>
</span>
<?php endif; ?>
<?php endif; ?>
<!-- Plugins: AfterDisplayContent -->
<?php echo $this->item->event->AfterDisplayContent; ?>
<!-- K2 Plugins: K2AfterDisplayContent -->
<?php echo $this->item->event->K2AfterDisplayContent; ?>
<div class="clr"></div>
</div>
<?php if(
$this->item->params->get('itemHits') ||
$this->item->params->get('itemTwitterLink') ||
$this->item->params->get('itemCategory') ||
$this->item->params->get('itemTags') ||
$this->item->params->get('itemShareLinks') ||
$this->item->params->get('itemAttachments')
): ?>
<?php if($this->item->params->get('itemAttachments') && count($this->item->attachments)): ?>
<!-- Item attachments -->
<div class="itemAttachmentsBlock">
<span><?php echo JText::_("Download attachments:"); ?></span>
<ul class="itemAttachments">
<?php foreach ($this->item->attachments as $attachment): ?>
<li>
<a title="<?php echo htmlentities($attachment->titleAttribute, ENT_QUOTES, 'UTF-8'); ?>" href="<?php echo JRoute::_('index.php?option=com_k2&view=item&task=download&id='.$attachment->id); ?>">
<?php echo $attachment->title ; ?>
</a>
<?php if($this->item->params->get('itemAttachmentsCounter')): ?>
<span>(<?php echo $attachment->hits; ?> <?php echo (count($attachment->hits)==1) ? JText::_("download") : JText::_("downloads"); ?>)</span>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
<?php endif; ?>
<?php if($this->item->params->get('itemVideo') && !empty($this->item->video)): ?>
<!-- Item video -->
<a name="itemVideoAnchor" id="itemVideoAnchor"></a>
<div class="itemVideoBlock">
<h3><?php echo JText::_('Related Video'); ?></h3>
<?php if($this->item->videoType=='embedded'): ?>
<div class="itemVideoEmbedded">
<?php echo $this->item->video; ?>
</div>
<?php else: ?>
<span class="itemVideo"><?php echo $this->item->video; ?></span>
<?php endif; ?>
<?php if($this->item->params->get('itemVideoCaption') && !empty($this->item->video_caption)): ?>
<span class="itemVideoCaption"><?php echo $this->item->video_caption; ?></span>
<?php endif; ?>
<?php if($this->item->params->get('itemVideoCredits') && !empty($this->item->video_credits)): ?>
<span class="itemVideoCredits"><?php echo $this->item->video_credits; ?></span>
<?php endif; ?>
<div class="clr"></div>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemNavigation') && !JRequest::getCmd('print') && (isset($this->item->nextLink) || isset($this->item->previousLink))): ?>
<!-- Item navigation -->
<div class="itemNavigation">
<?php if($this->item->params->get('itemTags') && count($this->item->tags)): ?>
<!-- Item tags -->
<span class="itemTagsBlock">
<span><?php echo JText::_("See all items similar to:"); ?></span>
<ul class="itemTags">
<?php foreach ($this->item->tags as $tag): ?>
<li><a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a></li>
<?php endforeach; ?>
</ul>
</span>
<?php endif; ?>
<span class="itemNavigationTitle"><?php echo JText::_('More in this category:'); ?></span>
<?php if(isset($this->item->previousLink)): ?>
<a class="itemPrevious" href="<?php echo $this->item->previousLink; ?>">
« <?php echo $this->item->previousTitle; ?>
</a>
<?php endif; ?>
<?php if(isset($this->item->nextLink)): ?>
<a class="itemNext" href="<?php echo $this->item->nextLink; ?>">
<?php echo $this->item->nextTitle; ?> »
</a>
<?php endif; ?>
</div>
<?php endif; ?>
<!-- K2 Plugins: K2AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<?php if(
$this->item->params->get('itemFontResizer') ||
$this->item->params->get('itemPrintButton') ||
$this->item->params->get('itemEmailButton') ||
$this->item->params->get('itemSocialButton') ||
$this->item->params->get('itemVideoAnchor') ||
$this->item->params->get('itemImageGalleryAnchor') ||
$this->item->params->get('itemCommentsAnchor')
): ?>
<div class="itemToolbar">
<ul>
<?php if($this->item->params->get('itemEmailButton') && (!JRequest::getInt('print')) ): ?>
<!-- Email Button -->
<li>
<a class="itemEmailLink" onclick="window.open(this.href,'win2','width=400,height=350,menubar=yes,resizable=yes'); return false;" title="Email this!!" href="<?php echo $this->item->emailLink; ?>">
<span><?php echo JText::_('E-mail'); ?></span>
</a>
</li>
<?php endif; ?>
<?php if($this->item->params->get('itemSocialButton') && !is_null($this->item->params->get('socialButtonCode', NULL))): ?>
<!-- Item Social Button -->
<li>
<?php echo $this->item->params->get('socialButtonCode'); ?>
</li>
<?php endif; ?>
<?php if($this->item->params->get('itemVideoAnchor') && !empty($this->item->video)): ?>
<!-- Anchor link to item video below - if it exists -->
<li>
<a class="itemVideoLink k2Anchor" href="<?php echo $this->item->link; ?>#itemVideoAnchor"><?php echo JText::_('Video'); ?></a>
</li>
<?php endif; ?>
<?php if($this->item->params->get('itemImageGalleryAnchor') && !empty($this->item->gallery)): ?>
<!-- Anchor link to item image gallery below - if it exists -->
<li>
<a class="itemImageGalleryLink k2Anchor" href="<?php echo $this->item->link; ?>#itemImageGalleryAnchor"><?php echo JText::_('Image Gallery'); ?>
</a>
</li>
<?php endif; ?>
<?php if($this->item->params->get('itemCommentsAnchor') && $this->item->params->get('itemComments') && ( ($this->item->params->get('comments') == '2' && !$this->user->guest) || ($this->item->params->get('comments') == '1')) ): ?>
<!-- Anchor link to comments below - if enabled -->
<li>
<!-- K2 Plugins: K2CommentsCounter -->
<?php echo $this->item->event->K2CommentsCounter; ?>
<?php if(empty($this->item->event->K2CommentsCounter)):?>
<?php if($this->item->numOfComments > 0): ?>
<a class="itemCommentsLink k2Anchor" href="<?php echo $this->item->link; ?>#itemCommentsAnchor">
<span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('comments') : JText::_('comment'); ?>
</a>
<?php else: ?>
<a class="itemCommentsLink k2Anchor" href="<?php echo $this->item->link; ?>#itemCommentsAnchor">
<?php echo JText::_('Be the first to comment!'); ?>
</a>
<?php endif; ?>
<?php endif; ?>
</li>
<?php endif; ?>
</ul>
<div class="clr"></div>
<?php endif; ?>
<?php if($this->item->params->get('itemHits') || $this->item->params->get('itemTwitterLink')): ?>
<?php if($this->item->params->get('itemHits')): ?>
<!-- Item Hits -->
<div class="plusone"><g:plusone size="small" count="false"></g:plusone></div>
<span class="itemHits">
<?php echo JText::_('Read'); ?> <b><?php echo $this->item->hits; ?></b> <?php echo JText::_('times'); ?>
</span>
<?php endif; ?>
<?php if($this->item->params->get('itemHits') && $this->item->params->get('itemTwitterLink')): ?>
<?php endif; ?>
<?php endif; ?>
<div class="itemLinks">
<?php if($this->item->params->get('itemShareLinks')): ?>
<!-- Item social links -->
<span class="itemSocialLinksBlock">
<span></span>
<ul class="itemSocialLinks">
<li><a class="googlebuzz" title="<?php echo JText::_("Add to Google Buzz"); ?>" href="www.google.com/buzz/post?url=<?php echo $this->item->socialLink; ?>&message=<?php echo urlencode($this->item->title); ?>" target="_blank"> <span><?php echo JText::_("Add to Google Buzz"); ?></span></a></li>
<li><a class="facebook" title="<?php echo JText::_("Add to Facebook"); ?>" href="www.facebook.com/sharer.php?u=<?php echo $this->item->socialLink; ?>&t=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to Facebook"); ?></span></a></li>
<li><a class="delicious" title="<?php echo JText::_("Add to Delicious"); ?>" href="del.icio.us/post?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to Delicious"); ?></span></a></li>
<li><a class="digg" title="<?php echo JText::_("Digg this"); ?>" href="digg.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Digg this"); ?></span></a></li>
<li><a class="reddit" title="<?php echo JText::_("Add to Reddit"); ?>" href="reddit.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to Reddit"); ?></span></a></li>
<li><a class="stumble" title="<?php echo JText::_("Add to StumbleUpon"); ?>" href="www.stumbleupon.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to StumbleUpon"); ?></span></a></li>
<li class="clr"></li>
</ul>
<?php if($this->item->params->get('itemTwitterLink') && $this->item->params->get('twitterUsername')): ?>
<!-- Twitter Link -->
<span class="itemTwitterLink">
<a title="<?php echo JText::_(' Tweet it to your followers!'); ?>" href="<?php echo $this->item->twitterURL; ?>" target="_blank">
<?php echo JText::_('>'); ?>
</a>
</span>
</span>
<?php endif; ?>
<?php endif; ?>
</div>
<?php if($this->item->params->get('itemRating')): ?>
<!-- Item Rating -->
<div class="itemRatingBlock">
<span><?php echo JText::_('Rate this item'); ?></span>
<div class="itemRatingForm">
<ul class="itemRatingList">
<li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('1 star out of 5'); ?>" class="one-star">1</a></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('2 stars out of 5'); ?>" class="two-stars">2</a></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('3 stars out of 5'); ?>" class="three-stars">3</a></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('4 stars out of 5'); ?>" class="four-stars">4</a></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('5 stars out of 5'); ?>" class="five-stars">5</a></li>
</ul>
<div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog"><?php echo $this->item->numOfvotes; ?></div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
<div class="itemCommentsandAuthor">
<!-- Plugins: AfterDisplay -->
<?php echo $this->item->event->AfterDisplay; ?>
<!-- K2 Plugins: K2AfterDisplay -->
<?php echo $this->item->event->K2AfterDisplay; ?>
<?php if($this->item->params->get('itemComments') && ( ($this->item->params->get('comments') == '2' && !$this->user->guest) || ($this->item->params->get('comments') == '1'))):?>
<!-- K2 Plugins: K2CommentsBlock -->
<?php echo $this->item->event->K2CommentsBlock; ?>
<?php endif;?>
<?php if($this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2')) && empty($this->item->event->K2CommentsBlock)):?>
<!-- Item comments -->
<a name="itemCommentsAnchor" id="itemCommentsAnchor"></a>
<div class="itemComments">
<?php if($this->item->params->get('commentsFormPosition')=='above' && $this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2' && K2HelperPermissions::canAddComment($this->item->catid)))): ?>
<!-- Item comments form -->
<div class="itemCommentsForm">
<?php echo $this->loadTemplate('comments_form'); ?>
</div>
<?php endif; ?>
<?php if($this->item->numOfComments>0 && $this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2'))): ?>
<!-- Item user comments -->
<h3 class="itemCommentsCounter">
<span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('comments') : JText::_('comment'); ?>
</h3>
<ul class="itemCommentsList">
<?php foreach ($this->item->comments as $key=>$comment): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; echo (!$this->item->created_by_alias && $comment->userID==$this->item->created_by) ? " authorResponse" : ""; ?>">
<span class="commentLink">
<a href="<?php echo $this->item->link; ?>#comment<?php echo $comment->id; ?>" name="comment<?php echo $comment->id; ?>" id="comment<?php echo $comment->id; ?>">
<?php echo JText::_('Comment Link'); ?>
</a>
</span>
<?php if($comment->userImage):?>
<img src="<?php echo $comment->userImage; ?>" alt="<?php echo $comment->userName; ?>" width="<?php echo $this->item->params->get('commenterImgWidth'); ?>" />
<?php endif; ?>
<span class="commentDate">
<?php echo JHTML::_('date', $comment->commentDate, JText::_('DATE_FORMAT_LC2')); ?>
</span>
<span class="commentAuthorName">
<?php echo JText::_("posted by"); ?>
<?php if(!empty($comment->userLink)): ?>
<a href="<?php echo $comment->userLink; ?>" title="<?php echo $comment->userName; ?>" rel="nofollow">
<?php echo $comment->userName; ?>
</a>
<?php else: ?>
<?php echo $comment->userName; ?>
<?php endif; ?>
</span>
<p><?php echo $comment->commentText; ?></p>
<br class="clr" />
</li>
<?php endforeach; ?>
</ul>
<div class="itemCommentsPagination">
<?php echo $this->pagination->getPagesLinks(); ?>
<div class="clr"></div>
</div>
<?php endif; ?>
<?php if($this->item->params->get('commentsFormPosition')=='below' && $this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2' && K2HelperPermissions::canAddComment($this->item->catid)))): ?>
<!-- Item comments form -->
<div class="itemCommentsForm">
<?php echo $this->loadTemplate('comments_form'); ?>
</div>
<?php endif; ?>
<?php $user = &JFactory::getUser(); if ($this->item->params->get('comments') == '2' && $user->guest):?>
<div><?php echo JText::_('Login to post comments');?></div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemAuthorBlock') && empty($this->item->created_by_alias)):?>
<div class="itemAuthorBlockWrapper">
<!-- Author Block -->
<h3 class="itemAuthorName">
<a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
</h3>
<div class="itemAuthorBlock">
<?php if($this->item->params->get('itemAuthorImage') && !empty($this->item->author->avatar)):?>
<img class="itemAuthorAvatar" src="<?php echo $this->item->author->avatar; ?>" alt="<?php echo $this->item->author->name; ?>" />
<?php endif; ?>
<div class="itemAuthorDetails">
<?php if($this->item->params->get('itemAuthorDescription') && !empty($this->item->author->profile->description)):?>
<p><?php echo $this->item->author->profile->description; ?></p>
<?php endif; ?>
<?php if($this->item->params->get('itemAuthorURL') && !empty($this->item->author->profile->url)):?>
<span class="itemAuthorUrl"><?php echo JText::_("Website:"); ?> <a href="<?php echo $this->item->author->profile->url; ?>" target="_blank"><?php echo str_replace('http://','',$this->item->author->profile->url); ?></a></span>
<?php endif; ?>
<?php if($this->item->params->get('itemAuthorEmail')):?>
<span class="itemAuthorEmail"><?php echo JText::_("E-mail:"); ?> <?php echo JHTML::_('Email.cloak', $this->item->author->email); ?></span>
<?php endif; ?>
<div class="clr"></div>
<!-- K2 Plugins: K2UserDisplay -->
<?php echo $this->item->event->K2UserDisplay; ?>
</div>
<div class="clr"></div>
</div>
<?php if($this->item->params->get('itemAuthorLatest') && empty($this->item->created_by_alias) && isset($this->authorLatestItems)): ?>
<!-- Latest items from author -->
<div class="itemAuthorLatest">
<h3><?php echo JText::_("Latest from"); ?> <?php echo $this->item->author->name; ?></h3>
<ul>
<?php foreach($this->authorLatestItems as $key=>$item): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?>">
<a href="<?php echo $item->link ?>"><?php echo $item->title; ?></a>
</li>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
<div class="itemBackToTop">
<a class="k2Anchor" href="<?php echo $this->item->link; ?>#startOfPageId<?php echo JRequest::getInt('id'); ?>"><?php echo JText::_("go back to top"); ?></a>
<?php if($this->item->params->get('itemCategory')): ?>
<!-- Item category name -->
<span class="itemCategory">
<span><?php echo JText::_('or return to:'); ?></span>
<a href="<?php echo $this->item->category->link; ?>"><?php echo $this->item->category->name; ?></a>
</span>
<?php endif; ?>
</div>
<div class="clr"></div>
</div>
<!-- End K2 Item Layout -->
I am looking but if you know what to look for here is my k2rounded item.php :
<?php /**
* K2Rounded the k2 template by K2Joom
* Version 2.0 for K2 V2.4
* @version $Id: item.php 558 2010-09-22 11:25:17Z lefteris.kavadas $
* @package K2
* @author JoomlaWorks www.joomlaworks.gr
* @copyright Copyright (c) 2006 - 2010 JoomlaWorks, a business unit of Nuevvo Webware Ltd. All rights reserved.
* @license GNU/GPL license: www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<!-- Start K2 Item Layout -->
<span id="startOfPageId<?php echo JRequest::getInt('id'); ?>"></span>
<div id="k2Container" class="itemView<?php if($this->item->params->get('pageclass_sfx')) echo ' '.$this->item->params->get('pageclass_sfx'); ?>">
<!-- Plugins: BeforeDisplay -->
<?php echo $this->item->event->BeforeDisplay; ?>
<!-- K2 Plugins: K2BeforeDisplay -->
<?php echo $this->item->event->K2BeforeDisplay; ?>
<?php if(isset($this->item->editLink)): ?>
<!-- Item edit link -->
<span class="itemEditLink">
<a class="modal" rel="{handler:'iframe',size:{x:990,y:650}}" href="<?php echo $this->item->editLink; ?>">
<?php echo JText::_('Edit item'); ?>
</a>
</span>
<?php endif; ?>
<!-- Plugins: AfterDisplayTitle -->
<?php echo $this->item->event->AfterDisplayTitle; ?>
<div class="itemBody">
<!-- Plugins: BeforeDisplayContent -->
<?php echo $this->item->event->BeforeDisplayContent; ?>
<!-- K2 Plugins: K2BeforeDisplayContent -->
<?php echo $this->item->event->K2BeforeDisplayContent; ?>
<?php if($this->item->params->get('itemImage') && !empty($this->item->image)): ?>
<!-- Item Image -->
<div class="itemImageBlock">
<span class="itemImage">
<a class="modal" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('Click to preview image'); ?>">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</a>
</span>
<?php if($this->item->params->get('itemImageMainCaption') && !empty($this->item->image_caption)): ?>
<!-- Image caption -->
<span class="itemImageCaption"><?php echo $this->item->image_caption; ?></span>
<?php endif; ?>
<?php if($this->item->params->get('itemImageMainCredits') && !empty($this->item->image_credits)): ?>
<!-- Image credits -->
<span class="itemImageCredits"><?php echo $this->item->image_credits; ?></span>
<?php endif; ?>
<div class="clr"></div>
</div>
<?php endif; ?>
<div class="itemHeader">
<?php if($this->item->params->get('itemFeaturedNotice') && $this->item->featured): ?>
<!-- Featured flag -->
<span class="featured">
<?php /*?><sup>
<?php echo JText::_('Featured'); ?>
</sup><?php */?>
</span>
<?php endif; ?>
<?php if($this->item->params->get('itemTitle')): ?>
<!-- Item title -->
<h2 class="itemTitle">
<?php echo $this->item->title; ?>
</h2>
<?php endif; ?>
<?php if($this->item->params->get('itemAuthor')): ?>
<!-- Item Author -->
<span class="itemAuthor">
<?php echo K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>
<?php if(empty($this->item->created_by_alias)): ?>
<a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
<?php else: ?>
<?php echo $this->item->author->name; ?>
<?php endif; ?>
</span>
<?php endif; ?>
</div>
<div class="itemToolbar">
<?php if($this->item->params->get('itemFontResizer')): ?>
<!-- Font Resizer -->
<ul>
<li>
<span class="itemTextResizerTitle"><?php echo JText::_('Text size:'); ?></span>
<a href="#" id="fontDecrease">
<span><?php echo JText::_('-'); ?></span>
<img src="components/com_k2/images/system/blank.gif" alt="<?php echo JText::_('decrease font size'); ?>" />
</a>
<a href="#" id="fontIncrease">
<span><?php echo JText::_('+'); ?></span>
<img src="components/com_k2/images/system/blank.gif" alt="<?php echo JText::_('increase font size'); ?>" />
</a>
</li>
<?php if($this->item->params->get('itemPrintButton')): ?>
<!-- Print Button -->
<li>
<?php if(JRequest::getCmd('print')==1): ?>
<a class="itemPrintLink" href="<?php echo $this->item->printLink; ?>" onclick="window.print();return false;">
<span><?php echo JText::_('Print'); ?></span>
</a>
<?php else: ?>
<a class="modal itemPrintLink" title="Print me Out" href="<?php echo $this->item->printLink; ?>" rel="{handler:'iframe',size:{x:900,y:500}}">
<span><?php echo JText::_('Print'); ?></span>
</a>
<?php endif; ?>
</li>
<?php endif; ?>
</ul>
<?php endif; ?>
</div>
<?php if(!empty($this->item->fulltext)): ?>
<?php if($this->item->params->get('itemIntroText')): ?>
<!-- Item introtext -->
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemFullText')): ?>
<!-- Item fulltext -->
<div class="itemFullText">
<?php echo $this->item->fulltext; ?>
</div>
<?php endif; ?>
<?php else: ?>
<!-- Item text -->
<div class="itemFullText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemImageGallery') && !empty($this->item->gallery)): ?>
<!-- Item image gallery -->
<a name="itemImageGalleryAnchor" id="itemImageGalleryAnchor"></a>
<div class="itemImageGallery">
<?php echo $this->item->gallery; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?>
<!-- Item extra fields /*there was originally a : between the ?>:</ */ -->
<div class="itemExtraFields">
<h3><?php echo JText::_(''); ?></h3>
<ul>
<?php foreach ($this->item->extra_fields as $key=>$extraField):?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
<span class="itemExtraFieldsLabel"><?php /*echo $extraField->name; */?></span>
<span class="itemExtraFieldsValue"><?php echo JHTML::_('content.prepare', $extraField->value); ?></span>
<br class="clr" />
</li>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>
<div class="itemrelatedtag">
<?php if($this->item->params->get('itemRelated') && isset($this->relatedItems)): ?>
<!-- Related items by tag -->
<div class="itemRelated">
<h3><?php echo JText::_("Similar Items"); ?></h3>
<ul>
<?php foreach($this->relatedItems as $key=>$item): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?>">
<a href="<?php echo $item->link ?>"><?php echo $item->title; ?></a>
</li>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
<?php if($this->item->params->get('itemDateCreated')): ?>
<!-- Date created -->
<span class="itemDateCreated">
<?php echo JText::_('Written on'); ?> <?php echo JHTML::_('date', $this->item->created , JText::_('DATE_FORMAT_LC2')); ?>
<?php endif; ?>
<?php if($this->item->params->get('itemDateModified') && intval($this->item->modified)!=0):?>
<!-- Item date modified -->
<?php if($this->item->created != $this->item->modified): ?>
<?php echo JText::_(' and last modified on'); ?> <?php echo JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC2')); ?>
</span>
<?php endif; ?>
<?php endif; ?>
<!-- Plugins: AfterDisplayContent -->
<?php echo $this->item->event->AfterDisplayContent; ?>
<!-- K2 Plugins: K2AfterDisplayContent -->
<?php echo $this->item->event->K2AfterDisplayContent; ?>
<div class="clr"></div>
</div>
<?php if(
$this->item->params->get('itemHits') ||
$this->item->params->get('itemTwitterLink') ||
$this->item->params->get('itemCategory') ||
$this->item->params->get('itemTags') ||
$this->item->params->get('itemShareLinks') ||
$this->item->params->get('itemAttachments')
): ?>
<?php if($this->item->params->get('itemAttachments') && count($this->item->attachments)): ?>
<!-- Item attachments -->
<div class="itemAttachmentsBlock">
<span><?php echo JText::_("Download attachments:"); ?></span>
<ul class="itemAttachments">
<?php foreach ($this->item->attachments as $attachment): ?>
<li>
<a title="<?php echo htmlentities($attachment->titleAttribute, ENT_QUOTES, 'UTF-8'); ?>" href="<?php echo JRoute::_('index.php?option=com_k2&view=item&task=download&id='.$attachment->id); ?>">
<?php echo $attachment->title ; ?>
</a>
<?php if($this->item->params->get('itemAttachmentsCounter')): ?>
<span>(<?php echo $attachment->hits; ?> <?php echo (count($attachment->hits)==1) ? JText::_("download") : JText::_("downloads"); ?>)</span>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
<?php endif; ?>
<?php if($this->item->params->get('itemVideo') && !empty($this->item->video)): ?>
<!-- Item video -->
<a name="itemVideoAnchor" id="itemVideoAnchor"></a>
<div class="itemVideoBlock">
<h3><?php echo JText::_('Related Video'); ?></h3>
<?php if($this->item->videoType=='embedded'): ?>
<div class="itemVideoEmbedded">
<?php echo $this->item->video; ?>
</div>
<?php else: ?>
<span class="itemVideo"><?php echo $this->item->video; ?></span>
<?php endif; ?>
<?php if($this->item->params->get('itemVideoCaption') && !empty($this->item->video_caption)): ?>
<span class="itemVideoCaption"><?php echo $this->item->video_caption; ?></span>
<?php endif; ?>
<?php if($this->item->params->get('itemVideoCredits') && !empty($this->item->video_credits)): ?>
<span class="itemVideoCredits"><?php echo $this->item->video_credits; ?></span>
<?php endif; ?>
<div class="clr"></div>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemNavigation') && !JRequest::getCmd('print') && (isset($this->item->nextLink) || isset($this->item->previousLink))): ?>
<!-- Item navigation -->
<div class="itemNavigation">
<?php if($this->item->params->get('itemTags') && count($this->item->tags)): ?>
<!-- Item tags -->
<span class="itemTagsBlock">
<span><?php echo JText::_("See all items similar to:"); ?></span>
<ul class="itemTags">
<?php foreach ($this->item->tags as $tag): ?>
<li><a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a></li>
<?php endforeach; ?>
</ul>
</span>
<?php endif; ?>
<span class="itemNavigationTitle"><?php echo JText::_('More in this category:'); ?></span>
<?php if(isset($this->item->previousLink)): ?>
<a class="itemPrevious" href="<?php echo $this->item->previousLink; ?>">
« <?php echo $this->item->previousTitle; ?>
</a>
<?php endif; ?>
<?php if(isset($this->item->nextLink)): ?>
<a class="itemNext" href="<?php echo $this->item->nextLink; ?>">
<?php echo $this->item->nextTitle; ?> »
</a>
<?php endif; ?>
</div>
<?php endif; ?>
<!-- K2 Plugins: K2AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<?php if(
$this->item->params->get('itemFontResizer') ||
$this->item->params->get('itemPrintButton') ||
$this->item->params->get('itemEmailButton') ||
$this->item->params->get('itemSocialButton') ||
$this->item->params->get('itemVideoAnchor') ||
$this->item->params->get('itemImageGalleryAnchor') ||
$this->item->params->get('itemCommentsAnchor')
): ?>
<div class="itemToolbar">
<ul>
<?php if($this->item->params->get('itemEmailButton') && (!JRequest::getInt('print')) ): ?>
<!-- Email Button -->
<li>
<a class="itemEmailLink" onclick="window.open(this.href,'win2','width=400,height=350,menubar=yes,resizable=yes'); return false;" title="Email this!!" href="<?php echo $this->item->emailLink; ?>">
<span><?php echo JText::_('E-mail'); ?></span>
</a>
</li>
<?php endif; ?>
<?php if($this->item->params->get('itemSocialButton') && !is_null($this->item->params->get('socialButtonCode', NULL))): ?>
<!-- Item Social Button -->
<li>
<?php echo $this->item->params->get('socialButtonCode'); ?>
</li>
<?php endif; ?>
<?php if($this->item->params->get('itemVideoAnchor') && !empty($this->item->video)): ?>
<!-- Anchor link to item video below - if it exists -->
<li>
<a class="itemVideoLink k2Anchor" href="<?php echo $this->item->link; ?>#itemVideoAnchor"><?php echo JText::_('Video'); ?></a>
</li>
<?php endif; ?>
<?php if($this->item->params->get('itemImageGalleryAnchor') && !empty($this->item->gallery)): ?>
<!-- Anchor link to item image gallery below - if it exists -->
<li>
<a class="itemImageGalleryLink k2Anchor" href="<?php echo $this->item->link; ?>#itemImageGalleryAnchor"><?php echo JText::_('Image Gallery'); ?>
</a>
</li>
<?php endif; ?>
<?php if($this->item->params->get('itemCommentsAnchor') && $this->item->params->get('itemComments') && ( ($this->item->params->get('comments') == '2' && !$this->user->guest) || ($this->item->params->get('comments') == '1')) ): ?>
<!-- Anchor link to comments below - if enabled -->
<li>
<!-- K2 Plugins: K2CommentsCounter -->
<?php echo $this->item->event->K2CommentsCounter; ?>
<?php if(empty($this->item->event->K2CommentsCounter)):?>
<?php if($this->item->numOfComments > 0): ?>
<a class="itemCommentsLink k2Anchor" href="<?php echo $this->item->link; ?>#itemCommentsAnchor">
<span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('comments') : JText::_('comment'); ?>
</a>
<?php else: ?>
<a class="itemCommentsLink k2Anchor" href="<?php echo $this->item->link; ?>#itemCommentsAnchor">
<?php echo JText::_('Be the first to comment!'); ?>
</a>
<?php endif; ?>
<?php endif; ?>
</li>
<?php endif; ?>
</ul>
<div class="clr"></div>
<?php endif; ?>
<?php if($this->item->params->get('itemHits') || $this->item->params->get('itemTwitterLink')): ?>
<?php if($this->item->params->get('itemHits')): ?>
<!-- Item Hits -->
<div class="plusone"><g:plusone size="small" count="false"></g:plusone></div>
<span class="itemHits">
<?php echo JText::_('Read'); ?> <b><?php echo $this->item->hits; ?></b> <?php echo JText::_('times'); ?>
</span>
<?php endif; ?>
<?php if($this->item->params->get('itemHits') && $this->item->params->get('itemTwitterLink')): ?>
<?php endif; ?>
<?php endif; ?>
<div class="itemLinks">
<?php if($this->item->params->get('itemShareLinks')): ?>
<!-- Item social links -->
<span class="itemSocialLinksBlock">
<span></span>
<ul class="itemSocialLinks">
<li><a class="googlebuzz" title="<?php echo JText::_("Add to Google Buzz"); ?>" href="www.google.com/buzz/post?url=<?php echo $this->item->socialLink; ?>&message=<?php echo urlencode($this->item->title); ?>" target="_blank"> <span><?php echo JText::_("Add to Google Buzz"); ?></span></a></li>
<li><a class="facebook" title="<?php echo JText::_("Add to Facebook"); ?>" href="www.facebook.com/sharer.php?u=<?php echo $this->item->socialLink; ?>&t=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to Facebook"); ?></span></a></li>
<li><a class="delicious" title="<?php echo JText::_("Add to Delicious"); ?>" href="del.icio.us/post?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to Delicious"); ?></span></a></li>
<li><a class="digg" title="<?php echo JText::_("Digg this"); ?>" href="digg.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Digg this"); ?></span></a></li>
<li><a class="reddit" title="<?php echo JText::_("Add to Reddit"); ?>" href="reddit.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to Reddit"); ?></span></a></li>
<li><a class="stumble" title="<?php echo JText::_("Add to StumbleUpon"); ?>" href="www.stumbleupon.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>" target="_blank"><span><?php echo JText::_("Add to StumbleUpon"); ?></span></a></li>
<li class="clr"></li>
</ul>
<?php if($this->item->params->get('itemTwitterLink') && $this->item->params->get('twitterUsername')): ?>
<!-- Twitter Link -->
<span class="itemTwitterLink">
<a title="<?php echo JText::_(' Tweet it to your followers!'); ?>" href="<?php echo $this->item->twitterURL; ?>" target="_blank">
<?php echo JText::_('>'); ?>
</a>
</span>
</span>
<?php endif; ?>
<?php endif; ?>
</div>
<?php if($this->item->params->get('itemRating')): ?>
<!-- Item Rating -->
<div class="itemRatingBlock">
<span><?php echo JText::_('Rate this item'); ?></span>
<div class="itemRatingForm">
<ul class="itemRatingList">
<li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('1 star out of 5'); ?>" class="one-star">1</a></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('2 stars out of 5'); ?>" class="two-stars">2</a></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('3 stars out of 5'); ?>" class="three-stars">3</a></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('4 stars out of 5'); ?>" class="four-stars">4</a></li>
<li><a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('5 stars out of 5'); ?>" class="five-stars">5</a></li>
</ul>
<div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog"><?php echo $this->item->numOfvotes; ?></div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
<div class="itemCommentsandAuthor">
<!-- Plugins: AfterDisplay -->
<?php echo $this->item->event->AfterDisplay; ?>
<!-- K2 Plugins: K2AfterDisplay -->
<?php echo $this->item->event->K2AfterDisplay; ?>
<?php if($this->item->params->get('itemComments') && ( ($this->item->params->get('comments') == '2' && !$this->user->guest) || ($this->item->params->get('comments') == '1'))):?>
<!-- K2 Plugins: K2CommentsBlock -->
<?php echo $this->item->event->K2CommentsBlock; ?>
<?php endif;?>
<?php if($this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2')) && empty($this->item->event->K2CommentsBlock)):?>
<!-- Item comments -->
<a name="itemCommentsAnchor" id="itemCommentsAnchor"></a>
<div class="itemComments">
<?php if($this->item->params->get('commentsFormPosition')=='above' && $this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2' && K2HelperPermissions::canAddComment($this->item->catid)))): ?>
<!-- Item comments form -->
<div class="itemCommentsForm">
<?php echo $this->loadTemplate('comments_form'); ?>
</div>
<?php endif; ?>
<?php if($this->item->numOfComments>0 && $this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2'))): ?>
<!-- Item user comments -->
<h3 class="itemCommentsCounter">
<span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('comments') : JText::_('comment'); ?>
</h3>
<ul class="itemCommentsList">
<?php foreach ($this->item->comments as $key=>$comment): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; echo (!$this->item->created_by_alias && $comment->userID==$this->item->created_by) ? " authorResponse" : ""; ?>">
<span class="commentLink">
<a href="<?php echo $this->item->link; ?>#comment<?php echo $comment->id; ?>" name="comment<?php echo $comment->id; ?>" id="comment<?php echo $comment->id; ?>">
<?php echo JText::_('Comment Link'); ?>
</a>
</span>
<?php if($comment->userImage):?>
<img src="<?php echo $comment->userImage; ?>" alt="<?php echo $comment->userName; ?>" width="<?php echo $this->item->params->get('commenterImgWidth'); ?>" />
<?php endif; ?>
<span class="commentDate">
<?php echo JHTML::_('date', $comment->commentDate, JText::_('DATE_FORMAT_LC2')); ?>
</span>
<span class="commentAuthorName">
<?php echo JText::_("posted by"); ?>
<?php if(!empty($comment->userLink)): ?>
<a href="<?php echo $comment->userLink; ?>" title="<?php echo $comment->userName; ?>" rel="nofollow">
<?php echo $comment->userName; ?>
</a>
<?php else: ?>
<?php echo $comment->userName; ?>
<?php endif; ?>
</span>
<p><?php echo $comment->commentText; ?></p>
<br class="clr" />
</li>
<?php endforeach; ?>
</ul>
<div class="itemCommentsPagination">
<?php echo $this->pagination->getPagesLinks(); ?>
<div class="clr"></div>
</div>
<?php endif; ?>
<?php if($this->item->params->get('commentsFormPosition')=='below' && $this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2' && K2HelperPermissions::canAddComment($this->item->catid)))): ?>
<!-- Item comments form -->
<div class="itemCommentsForm">
<?php echo $this->loadTemplate('comments_form'); ?>
</div>
<?php endif; ?>
<?php $user = &JFactory::getUser(); if ($this->item->params->get('comments') == '2' && $user->guest):?>
<div><?php echo JText::_('Login to post comments');?></div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemAuthorBlock') && empty($this->item->created_by_alias)):?>
<div class="itemAuthorBlockWrapper">
<!-- Author Block -->
<h3 class="itemAuthorName">
<a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
</h3>
<div class="itemAuthorBlock">
<?php if($this->item->params->get('itemAuthorImage') && !empty($this->item->author->avatar)):?>
<img class="itemAuthorAvatar" src="<?php echo $this->item->author->avatar; ?>" alt="<?php echo $this->item->author->name; ?>" />
<?php endif; ?>
<div class="itemAuthorDetails">
<?php if($this->item->params->get('itemAuthorDescription') && !empty($this->item->author->profile->description)):?>
<p><?php echo $this->item->author->profile->description; ?></p>
<?php endif; ?>
<?php if($this->item->params->get('itemAuthorURL') && !empty($this->item->author->profile->url)):?>
<span class="itemAuthorUrl"><?php echo JText::_("Website:"); ?> <a href="<?php echo $this->item->author->profile->url; ?>" target="_blank"><?php echo str_replace('http://','',$this->item->author->profile->url); ?></a></span>
<?php endif; ?>
<?php if($this->item->params->get('itemAuthorEmail')):?>
<span class="itemAuthorEmail"><?php echo JText::_("E-mail:"); ?> <?php echo JHTML::_('Email.cloak', $this->item->author->email); ?></span>
<?php endif; ?>
<div class="clr"></div>
<!-- K2 Plugins: K2UserDisplay -->
<?php echo $this->item->event->K2UserDisplay; ?>
</div>
<div class="clr"></div>
</div>
<?php if($this->item->params->get('itemAuthorLatest') && empty($this->item->created_by_alias) && isset($this->authorLatestItems)): ?>
<!-- Latest items from author -->
<div class="itemAuthorLatest">
<h3><?php echo JText::_("Latest from"); ?> <?php echo $this->item->author->name; ?></h3>
<ul>
<?php foreach($this->authorLatestItems as $key=>$item): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?>">
<a href="<?php echo $item->link ?>"><?php echo $item->title; ?></a>
</li>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
<div class="itemBackToTop">
<a class="k2Anchor" href="<?php echo $this->item->link; ?>#startOfPageId<?php echo JRequest::getInt('id'); ?>"><?php echo JText::_("go back to top"); ?></a>
<?php if($this->item->params->get('itemCategory')): ?>
<!-- Item category name -->
<span class="itemCategory">
<span><?php echo JText::_('or return to:'); ?></span>
<a href="<?php echo $this->item->category->link; ?>"><?php echo $this->item->category->name; ?></a>
</span>
<?php endif; ?>
</div>
<div class="clr"></div>
</div>
<!-- End K2 Item Layout -->
- ian robson
23 Sep 2011 15:51
Replied by ian robson on topic K2 RSS Feed and Feedburner
K2 RSS Feed and Feedburner
Category: English K2 Community
Hi,
I've got an issue with the plugin tags for Simple Image Gallery Pro in an RSS category feed K2 - joomla1.7 (perhaps its a bug) In the feed it is not striping out the plugin tags {gallery}mardi_gras{/gallery} in the same feed it has successfully striped out the tags used in a map plugin
Site is not launched yet but in public beta testing stage virtualweddingfair.co/virtual-wedding-fair-complete-listing?format=feed
Any suggestions
I've got an issue with the plugin tags for Simple Image Gallery Pro in an RSS category feed K2 - joomla1.7 (perhaps its a bug) In the feed it is not striping out the plugin tags {gallery}mardi_gras{/gallery} in the same feed it has successfully striped out the tags used in a map plugin
Site is not launched yet but in public beta testing stage virtualweddingfair.co/virtual-wedding-fair-complete-listing?format=feed
Any suggestions
- thien tran
22 Sep 2011 21:04
HELP!! Is this possible with K2 was created by thien tran
HELP!! Is this possible with K2
Category: English K2 Community
I am creating my first product heavy site with K2, I need to know if this is possible. This is a plant based site. So I have over 70 species of plants which I turned into categories. Each species has a few plants in them, which have tags such as water needs, light needs, and style.
I know I can create a menu item that has a link to a specific tag, but can I create some kind of dynamic menu that has a link to a specific tag that appears within a specific category/species?
Here is my working site, heg.intellavia.com/plant-library/species/calathea
Notice on the left bar, there are 4 accordion panels, the 1st three are to tags, the last one is for categories/species. I have that panel set up correctly, but what I want is for when you click on that link above. You are now in a category, I want to be able to sort tags while I am in a category. I also want to do this dynamically so I don't have to create a billion modules.
I know I can create a menu item that has a link to a specific tag, but can I create some kind of dynamic menu that has a link to a specific tag that appears within a specific category/species?
Here is my working site, heg.intellavia.com/plant-library/species/calathea
Notice on the left bar, there are 4 accordion panels, the 1st three are to tags, the last one is for categories/species. I have that panel set up correctly, but what I want is for when you click on that link above. You are now in a category, I want to be able to sort tags while I am in a category. I also want to do this dynamically so I don't have to create a billion modules.
- Bill McBride
20 Sep 2011 03:14
Replied by Bill McBride on topic K2 on Joomla 1.7
K2 on Joomla 1.7
Category: English K2 Community
forgive me. All the javascrip appear to be put between two <script> tags the K2 line is close to the top
span class="start-tag">script type="text/javascript"> window.addEvent('domready', function() { SqueezeBox.initialize({}); SqueezeBox.assign($$('a.modal'), { parse: 'rel' }); }); var K2SitePath = '/jupgrade/'; var rokboxPath = '/jupgrade/plugins/system/rokbox/'; window.addEvent('domready', function() { new GantryMoreArticles({'leadings': 0, 'moreText': 'Load More Articles', 'url': '/jupgrade/?tmpl=component&amp;type=raw'}); }) window.addEvent('domready', function() {new GantrySmartLoad({'offset': {'x': 200, 'y': 200}, 'placeholder': '/jupgrade/templates/rt_radiance/images/blank.gif', 'exclusion': }); }); var _gaq = _gaq || []; _gaq.push(); _gaq.push(); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); window.addEvent('domready', function() { var modules = ; var header = ; GantryBuildSpans(modules, header); }); InputsExclusion.push('.content_vote','\#rt-popup','\#rt-popuplogin','\#contact-form','\#vmMainPage') window.addEvent("domready", function(){ new SmoothScroll(); }); window.addEvent('domready', function() { new Fusion('ul.menutop', { pill: 0, effect: 'slide and fade', opacity: 1, hideDelay: 500, centered: 0, tweakInitial: {'x': -10, 'y': -4}, tweakSubsequent: {'x': 13, 'y': 0}, tweakSizes: {'width': 20, 'height': 20}, menuFx: {duration: 300, transition: Fx.Transitions.Circ.easeOut}, pillFx: {duration: 400, transition: Fx.Transitions.Back.easeOut} }); }); window.addEvent('domready', function() { }); window.addEvent('load', function() { }); window.addEvent('domready', function() { SqueezeBox.initialize({}); SqueezeBox.assign($$('a.modal-button'), { parse: 'rel' }); }); hs.graphicsDir = 'test.kccurling.com/jupgrade/plugins/content/flickrslideshows/highslide/graphics/'; hs.align = 'center'; hs.transitions = ; hs.fadeInOut = true; hs.dimmingOpacity = 0.8; hs.outlineType = 'rounded-white'; hs.captionEval = 'this.thumb.alt'; hs.marginBottom = 145; // make room for the thumbstrip and the controls hs.numberPosition = 'caption'; hs.wrapperClassName = 'highslide-borderless highslide-floating-caption'; // Credits to Flickr (required for use of the Flickr API) hs.showCredits = 1; hs.lang.creditsText = '<img src=http://test.kccurling.com/jupgrade/plugins/content/flickrslideshows/highslide/graphics/flickr.png BORDER=0>'; hs.lang.creditsTitle = 'Go to the Flickr homepage'; hs.creditsTarget = '_blank'; // Add the slideshow providing the controlbar and the thumbstrip hs.addSlideshow({ interval: 5000, repeat: false, useControls: true, overlayOptions: { className: 'highslide-text-controls', position: 'bottom center', relativeTo: 'viewport', offsetY: -70 }, thumbstrip: { position: 'bottom center', mode: 'horizontal', relativeTo: 'viewport' } }); function keepAlive() { var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); }); </script>
span class="start-tag">script type="text/javascript"> window.addEvent('domready', function() { SqueezeBox.initialize({}); SqueezeBox.assign($$('a.modal'), { parse: 'rel' }); }); var K2SitePath = '/jupgrade/'; var rokboxPath = '/jupgrade/plugins/system/rokbox/'; window.addEvent('domready', function() { new GantryMoreArticles({'leadings': 0, 'moreText': 'Load More Articles', 'url': '/jupgrade/?tmpl=component&amp;type=raw'}); }) window.addEvent('domready', function() {new GantrySmartLoad({'offset': {'x': 200, 'y': 200}, 'placeholder': '/jupgrade/templates/rt_radiance/images/blank.gif', 'exclusion': }); }); var _gaq = _gaq || []; _gaq.push(); _gaq.push(); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); window.addEvent('domready', function() { var modules = ; var header = ; GantryBuildSpans(modules, header); }); InputsExclusion.push('.content_vote','\#rt-popup','\#rt-popuplogin','\#contact-form','\#vmMainPage') window.addEvent("domready", function(){ new SmoothScroll(); }); window.addEvent('domready', function() { new Fusion('ul.menutop', { pill: 0, effect: 'slide and fade', opacity: 1, hideDelay: 500, centered: 0, tweakInitial: {'x': -10, 'y': -4}, tweakSubsequent: {'x': 13, 'y': 0}, tweakSizes: {'width': 20, 'height': 20}, menuFx: {duration: 300, transition: Fx.Transitions.Circ.easeOut}, pillFx: {duration: 400, transition: Fx.Transitions.Back.easeOut} }); }); window.addEvent('domready', function() { }); window.addEvent('load', function() { }); window.addEvent('domready', function() { SqueezeBox.initialize({}); SqueezeBox.assign($$('a.modal-button'), { parse: 'rel' }); }); hs.graphicsDir = 'test.kccurling.com/jupgrade/plugins/content/flickrslideshows/highslide/graphics/'; hs.align = 'center'; hs.transitions = ; hs.fadeInOut = true; hs.dimmingOpacity = 0.8; hs.outlineType = 'rounded-white'; hs.captionEval = 'this.thumb.alt'; hs.marginBottom = 145; // make room for the thumbstrip and the controls hs.numberPosition = 'caption'; hs.wrapperClassName = 'highslide-borderless highslide-floating-caption'; // Credits to Flickr (required for use of the Flickr API) hs.showCredits = 1; hs.lang.creditsText = '<img src=http://test.kccurling.com/jupgrade/plugins/content/flickrslideshows/highslide/graphics/flickr.png BORDER=0>'; hs.lang.creditsTitle = 'Go to the Flickr homepage'; hs.creditsTarget = '_blank'; // Add the slideshow providing the controlbar and the thumbstrip hs.addSlideshow({ interval: 5000, repeat: false, useControls: true, overlayOptions: { className: 'highslide-text-controls', position: 'bottom center', relativeTo: 'viewport', offsetY: -70 }, thumbstrip: { position: 'bottom center', mode: 'horizontal', relativeTo: 'viewport' } }); function keepAlive() { var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); }); </script>
- fewleh
19 Sep 2011 16:52
Replied by fewleh on topic Google Detects Duplicate Titles and Description Meta Tags with K2
Google Detects Duplicate Titles and Description Meta Tags with K2
Category: English K2 Community
I had the same problem as Badrun and came across this thread - I think I managed to eliminate all the duplicate urls simply by turning off 'short description' in the itemlist view... in settings. I *THINK* it's better now.
- fewleh
19 Sep 2011 16:50
Replied by fewleh on topic Numerous duplicates with k2?
Numerous duplicates with k2?
Category: English K2 Community
I think I've maybe sorted it out, by removing the 'short descriptions' from the taglist pages.. seems to have got rid of all the dodgy urls.