Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Eddie
  • Eddie's Avatar
02 Aug 2012 19:13

K2 rss feed not pulling images from items

Category: English K2 Community

Having an issue pulling up any item images in the rss feed for k2 categories in Joomla 2.5. Rss feed XML code does not display image tags at all. Checked all global k2 feed parameters and all have been set to display images in rss feed, yet the image tag does not appear at all in the XML. Any clues as to why this is happening?

here's a copy of the rss>
<?xml version="1.0" encoding="utf-8"?> <!-- generator="Joomla! - Open Source Content Management" --> <?xml-stylesheet href="/media/system/css/modal.css" type="text/css"?> <rss version="2.0"> 

Attachment not found

  • Goh Yew Hoe
  • Goh Yew Hoe's Avatar
02 Aug 2012 07:12 - 02 Aug 2012 07:25
K2 Tools - Tag Cloud X Popular Setting was created by Goh Yew Hoe

K2 Tools - Tag Cloud X Popular Setting

Category: English K2 Community

I am trying to use the K2 tag cloud for my site now but the X popular setting confuses me.

What exactly defines the tag as popular? I came up with two possible reason but I'm not sure which.

The number of times its clicked on?
That can't be, since the tags doesn't count hits. But if it's so, does it counts by the number of hits accumulated throughout the lifetime of the tag? That's a little ridiculous, aren't it?

The number of articles tagged by the tag word?
I did a search and found some topics about tag cloud that doesn't change since day 1. That might be possible if a tag's popularity is based off the number of articles tagged by it. Still, that's a little ridiculous too.

My idea of a tag cloud is that it would change and update constantly like taking the most popular tags that has been clicked on in the past 24 hours or period of time or randomly selected. But the K2 tag cloud doesn't seems like it works that way.
  • armengual2
  • armengual2's Avatar
01 Aug 2012 19:39

"There was a problem rendering your image gallery..." problem

Category: Simple Image Gallery PRO

I have the same problem locally is perfect but I get this error on remote
There Was a problem rendering your image gallery. Please make sure the folder you are That in using the Simple Image Gallery Pro plugin exists and contains valid tags image files. The plugin Could not locate the folder: media/k2/galleries/2 and those folders are all 777 permissions please help.
  • Klaus Veliu
  • Klaus Veliu's Avatar
01 Aug 2012 12:46

Show only images and some txt in Category view

Category: English K2 Community

Hello to everyone!
Recently I am using K2 in Joomla 2.5!
I have a menu with type K2 Category.
I want to customize it to show only the image and some txt that has the k2 article,
, but I can't make this possible because when I open the menu the page also show the video
that is also on the article....I am using all video as a plugin in the article with tags {flv}vedeo{flv}....
Can anyone tell me how to fix this?
  • Goh Yew Hoe
  • Goh Yew Hoe's Avatar
01 Aug 2012 10:53 - 01 Aug 2012 10:54
K2 Tags Filtering Strip Tags in IntroText was created by Goh Yew Hoe

K2 Tags Filtering Strip Tags in IntroText

Category: English K2 Community

Hi,

I am currently trying to get a tag filtered article to display the same as the article's normal display. Currently the tags and # of Reads disappear from the introtext when you click on the tags to filter the articles.

I would to know how the # of Reads could be added back? I thought it would be a simple to infer from category_item.php and port to tag.php but the footer code is too different for me to understand.

For the stripping of tags, I see that there is a code here in tag.php that strips tags away from introtext. Could that be modified somehow so that it doesn't strip the tags then I can still click on the tags to filter another set of articles?
 
  • Joakim Durehed
  • Joakim Durehed's Avatar
01 Aug 2012 08:07
Replied by Joakim Durehed on topic Introtext HTML cleanup setting is not working?

Introtext HTML cleanup setting is not working?

Category: English K2 Community

I had this problem too and was quite irritaded to see that I did not have the content output settings to strip html tags and still I got content that was stripped from html tags. I set the word counter to zero to disable it in my content modules. That sorted it out of course, but I do want to use the word count feature. This is important for our website.

A word count should not affect the output. I understand that you need to strip the html tags to get a correct count of words, but to then to also change the output is just wrong and contradicts the settings in K2. Seems to me that the implementation is not finished regarding the word count and that this needs to be sorted in the near future.
  • Ryan
  • Ryan's Avatar
01 Aug 2012 04:59 - 01 Aug 2012 05:00
Replied by Ryan on topic Disqus with K2. Is this possible?

Disqus with K2. Is this possible?

Category: English K2 Community

It shouldn't be hard.

If you've setup an account with disqus already, visit:

www.disqus.com/admin/universal/ (the www will get replaced with your own login name when logged in,
ie: yourusername.disqus.com/admin.universal/


Get this code, and add it to whatever content you want, ie, :

Components > com_k2 > templates > yourtemplate > item.php (if you want it to show when viewing an item)

In the default template, search for:
<div class="itemCommentsForm"> <?php echo $this->loadTemplate('comments_form'); ?> </div>

replace with:
<div class="itemCommentsForm"> <div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'yourusername'; // required: replace example with your forum shortname /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> </div>
Ensure you replace yourusername with your actual username.

Hope this helps.
  • Eziup Web Development
  • Eziup Web Development's Avatar
31 Jul 2012 05:53
Replied by Eziup Web Development on topic SIG Pro new install will not recognize my file location

SIG Pro new install will not recognize my file location

Category: Simple Image Gallery PRO

I have the same problem, I am running Joomla 2.5, latest version of SIG Pro, I uninstalled the plugin folder permissions are wide open. I'd really love some help with this or advice on another solution for a gallery.

My error is "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/80"
  • Sean Carney
  • Sean Carney's Avatar
30 Jul 2012 23:02 - 31 Jul 2012 19:08

Stop HTML from being stripped out of Introtext

Category: English K2 Community

I suspect this is something very basic and I think I must have tweaked a setting wrong because previously I had thought this was working the way I want it to.

What I am wanting is to NOT strip out HTML from the introtext in the category views.

In K2 Parameters I have set the following:

Content tab: Content Cleanup section:
Introtext HTML cleanup (tag strip) = No
Fulltext HTML cleanup (tag strip) = No

So, it seems like I have the correct parameters set.

I then go to a Category view, in this case my category is called "Nature's Eight Doctors"

life.drcarney.com/lifestyle/nature-s-eight-doctors

The first article, should be displaying some bold, some italic and underline and a paragraph but it is not. If you click on the Read More link the formatting all shows.

In the Category settings for this particular category I have set the following for life.drcarney.com/lifestyle/nature-s-eight-doctors:

introtext = Show
Introtext word limit = 140

Can there be another K2 setting somewhere that would remove all formatting from the introtext?
  • Martin Kilkie
  • Martin Kilkie's Avatar
30 Jul 2012 21:42
Replied by Martin Kilkie on topic K2 tools - tag cloud

K2 tools - tag cloud

Category: English K2 Community

Hi Lefteris,

you must take a look at the module miniK2 module by templateplaza.com.

This module extending K2 does what I am suggesting, ie you use the module to do its thing (as with K2 tools for tags). then you define the layout as if it was a category?
I am not suggesting you copy what he has done, but there are a lot of similar ideas that are clearly intended to extend K2 anyway.

Hope this helps.

regards

Martin
  • Lewis Nelson
  • Lewis Nelson's Avatar
30 Jul 2012 20:42 - 30 Jul 2012 20:44
Replied by Lewis Nelson on topic Changing text size of Read More Link or replacing

Changing text size of Read More Link or replacing

Category: English K2 Community

The Language files would be in \language\

For example the english version is here \language\en-GB\en-GB.com_k2.ini
The files to modify are in the following directory

\components\com_k2\templates\default

The 5 files you would need to modify are

category_item.php
latest_item.php
tag.php
user.php
generic.php

find the following section in each file

<!-- Item "read more..." link -->
<div class="genericItemReadMore">
<a class="k2ReadMore" href="<?php echo $item->link; ?>">
<?php echo JText::_('K2_READ_MORE'); ?>
</a>
</div>
<?php endif; ?>


I modified it like this

<?php if ($this->item->params->get('catItemReadMore')): ?>
<!-- Item "read more..." link -->
<div class="catItemReadMore">
<a class="k2ReadMore" href="<?php echo $this->item->link; ?>">
<?php /* echo JText::_('K2_READ_MORE'); */ ?>
<img src="/images/readmorebutton.jpg" alt="Read More" />
</a>
</div>
<?php endif; ?>

The text in RED is what I added. the /* and */ was to comment out the old setting and I added an image file as the link.

BTW the JTEXT is what converts it to the proper language I believe

Hope this helps
  • Alejandro
  • Alejandro's Avatar
30 Jul 2012 19:28 - 30 Jul 2012 19:30
Replied by Alejandro on topic Format layout of Tags Itemlist ?

Format layout of Tags Itemlist ?

Category: English K2 Community

Lefteris

Thnx for your reply. I understand there are some itemlist by tag layout options in K2 global parameters.

But as many users have pointed out in this and other forums, we would like the tag itemlist to show like the category-item list.

Personally I would like to show tags of each item. I have copied the code from item.php:

<?php if($this->item->params->get('itemTags') && count($this->item->tags)): ?>
<!-- Item tags -->
<div class="itemTagsBlock">
<span><?php echo JText::_('K2_TAGGED_UNDER'); ?></span>
<ul class="itemTags">
<?php foreach ($this->item->tags as $tag): ?>
<li><a href="<?php echo $tag->link; ?>"><?php echo $tag->name."&nbsp;&nbsp;•"; ?></a></li>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>

to tag.php

but I got some error... Can you point me into what I can do show tags of each item in the itemlist by tag?

thnx!
  • moni
  • moni's Avatar
30 Jul 2012 15:30

how to stop k2 srtiping html tags in extra fildes

Category: English K2 Community

hi
i cant find were to to stop k2 from striping HTML tag in extra fields.

in joomla articles i can use iframe (no filtering for super administrator) but when i using iframe inside k2 extra fields it removing on save.

please help
thanks
  • applied
  • applied's Avatar
28 Jul 2012 00:16

K2 - Not searching Title of the article and articl

Category: English K2 Community

Thank you!.

yes , I using K2 tool module for search functionality . I used article titles to search but it search result showing zero result . but only works for tags .

Lefteris Kavadas wrote: Do you mean that you are using K2 Tools module? If so, K2 does search to item titles. Item titles and keywords need to be of four characters length or more.

  • Filippo Orlando
  • Filippo Orlando's Avatar
27 Jul 2012 12:50
Creare un sito che raccolga webcam meteo was created by Filippo Orlando

Creare un sito che raccolga webcam meteo

Category: Comunità italiana K2

Buongiorno a tutti.

Vi scrivo per chiedervi un consiglio. E' possibile fare in modo che K2 collezioni, sotto forma di catalogo, webcam panoramiche? Mi spiego meglio. Che K2 lo possa fare in termini generali lo so, il solo problema è che l'immagine associata ad un oggetto in questo caso sarebbe la webcam stessa (di solito un file jpg, o png, o addirittura php), pertanto non va uploadata da locale, ma linkata da remoto, non so se mi spiego.

In altre parole, nella scheda di una webcam io non ho alcun problema a creare dei campi extra quali comune, località, quota sul livello del mare, sito di riferimento, etc. ma l'immagine della webcam è ospitata esternamente al mio sito, cosicchè sia l'anteprima che l'immagine estesa dell'oggetto dovrebbero essere visibili nel mio sito anche se ospitate su server esterni, come in questo caso:

www.meteowebcam.it/webcam/trento

Non avendo grandi competenze di programmazione, come faccio a creare un campo immagine che risponda a questa particolarità?

Indispensabile poi sarebbe consentire all'utente di inserire autonomamente la propria webcam panoramica, geotaggandola attraverso una comoda interfaccia google maps. La maschera di inserimento della webcam, pertanto, dev'essere assolutamente idiot-proof.

Esiste qualche plugin in grado di aiutarmi? O se no qualcuno potrebbe darmi qualche dritta su come modificare K2, per ottenere questo risultato?
Ringrazio anticipatamente.
  • Arvind Ragunathan
  • Arvind Ragunathan's Avatar
26 Jul 2012 14:55
Replied by Arvind Ragunathan on topic Error message 403 - K2_ALERTNOTAUTH

Error message 403 - K2_ALERTNOTAUTH

Category: English K2 Community

You can try this:

I am using Joomla v2.5.6 and K2 v2.5.7

If your K2 category is set to registered and you have assigned a menu item to the registered category then you will receive "403 - You are not authorized to view this resource"

To resolve this issue we need to manually change the code on the backend.

1) Go To [SITE ROOT]\components\com_k2\views\itemlist\view.html.php

2) Find the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" which is contained in

$user = &JFactory::getUser();
if(K2_JVERSION=='16'){
if (!in_array($category->access, $user->authorisedLevels())) {
JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));
}
$languageFilter = $mainframe->getLanguageFilter();
$languageTag = JFactory::getLanguage()->getTag();
if($languageFilter && $category->language!=$languageTag && $category->language!='*') {
return;
}
}

3) Replace the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" with:

if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

4) Final code should look like:

$user = &JFactory::getUser();
if(K2_JVERSION=='16'){
if (!in_array($category->access, $user->authorisedLevels())) {
/*JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));*/
if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

}
$languageFilter = $mainframe->getLanguageFilter();
$languageTag = JFactory::getLanguage()->getTag();
if($languageFilter && $category->language!=$languageTag && $category->language!='*') {
return;
}
}

5) This should resolve the issue.

6) You can do the same for [SITE ROOT]\components\com_k2\views\item\view.html.php

7) Find the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" which is contained in

if(K2_JVERSION=='16'){
if (!in_array($item->access, $user->authorisedLevels()) || !in_array($item->category->access, $user->authorisedLevels())) {
JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));
}
}

8 Replace the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" with:

if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

9) Final code should look like:

if(K2_JVERSION=='16'){
if (!in_array($item->access, $user->authorisedLevels()) || !in_array($item->category->access, $user->authorisedLevels())) {
/*JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));*/
if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

}
}
  • Arvind Ragunathan
  • Arvind Ragunathan's Avatar
26 Jul 2012 14:52
Replied by Arvind Ragunathan on topic 403 page when trying to view category as guest

403 page when trying to view category as guest

Category: English K2 Community

You can try this:

I am using Joomla v2.5.6 and K2 v2.5.7

If your K2 category is set to registered and you have assigned a menu item to the registered category then you will receive "403 - You are not authorized to view this resource"

To resolve this issue we need to manually change the code on the backend.

1) Go To [SITE ROOT]\components\com_k2\views\itemlist\view.html.php

2) Find the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" which is contained in

$user = &JFactory::getUser();
if(K2_JVERSION=='16'){
if (!in_array($category->access, $user->authorisedLevels())) {
JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));
}
$languageFilter = $mainframe->getLanguageFilter();
$languageTag = JFactory::getLanguage()->getTag();
if($languageFilter && $category->language!=$languageTag && $category->language!='*') {
return;
}
}

3) Replace the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" with:

if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

4) Final code should look like:

$user = &JFactory::getUser();
if(K2_JVERSION=='16'){
if (!in_array($category->access, $user->authorisedLevels())) {
/*JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));*/
if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

}
$languageFilter = $mainframe->getLanguageFilter();
$languageTag = JFactory::getLanguage()->getTag();
if($languageFilter && $category->language!=$languageTag && $category->language!='*') {
return;
}
}

5) This should resolve the issue.

6) You can do the same for [SITE ROOT]\components\com_k2\views\item\view.html.php

7) Find the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" which is contained in

if(K2_JVERSION=='16'){
if (!in_array($item->access, $user->authorisedLevels()) || !in_array($item->category->access, $user->authorisedLevels())) {
JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));
}
}

8 Replace the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" with:

if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

9) Final code should look like:

if(K2_JVERSION=='16'){
if (!in_array($item->access, $user->authorisedLevels()) || !in_array($item->category->access, $user->authorisedLevels())) {
/*JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));*/
if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

}
}
  • Arvind Ragunathan
  • Arvind Ragunathan's Avatar
26 Jul 2012 14:48
Replied by Arvind Ragunathan on topic Re: 403 page when trying to view category as guest

Re: 403 page when trying to view category as guest

Category: English K2 Community

You can try this:

I am using Joomla v2.5.6 and K2 v2.5.7

If your K2 category is set to registered and you have assigned a menu item to the registered category then you will receive "403 - You are not authorized to view this resource"

To resolve this issue we need to manually change the code on the backend.

1) Go To [SITE ROOT]\components\com_k2\views\itemlist\view.html.php

2) Find the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" which is contained in

$user = &JFactory::getUser();
if(K2_JVERSION=='16'){
if (!in_array($category->access, $user->authorisedLevels())) {
JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));
}
$languageFilter = $mainframe->getLanguageFilter();
$languageTag = JFactory::getLanguage()->getTag();
if($languageFilter && $category->language!=$languageTag && $category->language!='*') {
return;
}
}

3) Replace the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" with:

if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

4) Final code should look like:

$user = &JFactory::getUser();
if(K2_JVERSION=='16'){
if (!in_array($category->access, $user->authorisedLevels())) {
/*JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));*/
if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

}
$languageFilter = $mainframe->getLanguageFilter();
$languageTag = JFactory::getLanguage()->getTag();
if($languageFilter && $category->language!=$languageTag && $category->language!='*') {
return;
}
}

5) This should resolve the issue.

6) You can do the same for [SITE ROOT]\components\com_k2\views\item\view.html.php

7) Find the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" which is contained in

if(K2_JVERSION=='16'){
if (!in_array($item->access, $user->authorisedLevels()) || !in_array($item->category->access, $user->authorisedLevels())) {
JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));
}
}

8) Replace the code "JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));" with:

if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

9) Final code should look like:

if(K2_JVERSION=='16'){
if (!in_array($item->access, $user->authorisedLevels()) || !in_array($item->category->access, $user->authorisedLevels())) {
/*JError::raiseError(403, JText::_('K2_ALERTNOTAUTH'));*/
if ($this->error->code = '403') {
$return = $_SERVER;
$return = base64_encode($return);
$uri = JRoute::_("index.php?option=com_users&view=login&return=$return");
header('Location:'.$uri); die();
}

}
}
  • Lefteris
  • Lefteris's Avatar
26 Jul 2012 13:29
Replied by Lefteris on topic K2 tag is not saved in IE 9

K2 tag is not saved in IE 9

Category: English K2 Community

Hi. Are you under Joomla! 1.5 or 2.5? Try to check your page for possible javascript errors. Internet Explorer is supported by K2 but it's not the recommended browser....
  • Lefteris
  • Lefteris's Avatar
26 Jul 2012 13:14
Replied by Lefteris on topic K2 tools - tag cloud

K2 tools - tag cloud

Category: English K2 Community

@Martin Kilkie

This is not that simple. It's not just the module, some component files also need to be changed.

@Karabo
Currently the best option for resources is this community. We always try to hear what people have to say about K2 and we try to cover most of the needs.
Displaying 4201 - 4220 out of 6582 results.