Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Andy Connell
  • Andy Connell's Avatar
17 Feb 2011 12:14
Replied by Andy Connell on topic modules not showing in item view

modules not showing in item view

Category: English K2 Community

I have menu items for each of my categories and sub categories.

 

I have k2 modules set up to display TAGS, POPULAR USERS, INDIVIDUAL BLOGS, etc but have set these modules to only show on the pages where K2 articles/categories, etc are displayed.

 

If I view articles, all show up fine, modules saty in position etc.

 

BUT, If Click on a TAG link, click on an individuals blog or search for an article via the K2 Search module, the resulting page opens up full width of template and all side modules are gone/hidden away.

 

If I set modules to display on all then they stay there, but this is not convenient. I only want the K2 modules to display on pages where K2 is present.

 

Any Ideas or help appreciated

 

Thanks

 

Andy
  • Jerry Miszewski
  • Jerry Miszewski's Avatar
16 Feb 2011 23:57
K2 items showing as inactive was created by Jerry Miszewski

K2 items showing as inactive

Category: English K2 Community

I run a Joomla site that uses K2 as a blog platform and I have sh404sef installed for SEF purposes. When I click on an item in my blog, the URL created is perfect, but the item shows as an inactive menu item. Meaning, the inactive modules will show on this page and the highlighted menu item above will no longer be there (i.e. blog will not be highlighted anymore even though this is a blog item).

 

When I disable sh404sef, this problem does not happen anymore. Does anyone have any ideas on how to fix this issue?

 

The only reason I need it fixed is because I modules published on my blog page (categories, comments, tag cloud, archive) that I want to be shown on the blog items pages too, but they aren't there because the site thinks these items are inactive. Any thoughts?
  • Rafael Franco Moreno
  • Rafael Franco Moreno's Avatar
16 Feb 2011 20:10
Replied by Rafael Franco Moreno on topic Item Tags organized Alphabetically

Item Tags organized Alphabetically

Category: English K2 Community

Patrick got the same query you have and on the same line (787) but does not work! also put the query to cliffclof and does not work, I have the k2 2.4.1 too, when I capture the tags are well organized to the tag 24 after the tag 25 puts me above all in order, the order starts again, someone knows why this happens? or do I need? greetings and thanks. sorry if I write bad English

Patrick said:
thanks cliffclof! works in 2.4.1 as well.

in administrator/components/com_k2/models/item.php my line 787 now reads

$query .= " WHERE tags.id NOT IN (SELECT tagID FROM #__k2_tags_xref WHERE itemID=".(int)$itemID.")ORDER BY tags.name";

 

exactly what i needed!
  • MORGANE JACQUET
  • MORGANE JACQUET's Avatar
16 Feb 2011 20:08
Problem with search function was created by MORGANE JACQUET

Problem with search function

Category: English K2 Community

Hello,

 

I've read a lot about search issues on this forum. The K2 Search doesn't work on my site :-(

Any type of search (word, phrase...) displays a BLANK PAGE.

 

I desabled "Activate search in tags" in the Search - K2 plugin. Unfortunately this displays the search query as title of page but not any result... (blank, so...).

 

I use K2 v2.4.1

 

My client wants (of course) search results AND tags results.

 

Thank you for your help in advance.
  • Olivier Karfis
  • Olivier Karfis's Avatar
16 Feb 2011 18:19
Replied by Olivier Karfis on topic Add Link to the item link-bar

Add Link to the item link-bar

Category: English K2 Community

Hi.

 

For replacing the text of the print, email, etc... with images, it is possible (see this template for example:

templates.joomlart.com/ja_norite/index.php?option=com_content&view=article&id=61&Itemid=111

 

In order to do this, you'll have to edit your item.php file, find the areas where these links are created and add an img tag in the <a> tag so that it looks something like this

 

around line 128:

<a class="itemPrintLink" href="<?php echo $this->item->printLink; ?>" onclick="window.print();return false;"> <img alt="<?php echo JText::_('Print'); ?>" title="<?php echo JText::_('Print'); ?>" src="templates/mytemplate/images/printbutton.png"> </a>

 

and so on....

 

As far as the personal link or IMG, I imagine that is something you need to be change on an article basis?  If so then you'll probably need to create an extrafield to use as the value and then recall that field value in the area where the buttons are defined. Refer to this post for more details on how to do that:

community.getk2.org/forum/topics/output-extra-fields

 

--Olivier
  • Rafael Franco Moreno
  • Rafael Franco Moreno's Avatar
16 Feb 2011 18:15
Replied by Rafael Franco Moreno on topic Joomla sus Plantillas y el IE8

Joomla sus Plantillas y el IE8

Category: English K2 Community

buenos dias Kunena

oye me podrian ayudar?

es que hice lo que le recomendaste a Pedro instale el ie8_compatibility_1.5 porque tengo joomla 1.5 pero sigue haciendo lo mismo el explorer, en mi caso lo que hace es que al momento de estar creando un articulo en k2 y adjuntando un archivo cuando le doy click en examinar no me abre al ventana para seleccionar el archivo pero si le doy doble clik en el campo de la izquierda del boton de examinar si me abre la ventana, tambien si le doy un click fuera de examinar y le doy click a examinar otra vez si me abre la ventana esto nada mas pasa con explorer, con firefox y demas navegadores si funciona, puedes ver la imagen de examinar.

 

otro error que me sale es el de la imagen que te adjunto, ademas de otro que me desaparece unas viñetas de un modulo aunque no siempre.

 

me podrian ayudar? de los agradecaria mucho.

 

saludos.


Kunena Spanish! said:

Hola Pedro,
He visto que tienes instalado en tu sitio el plugin de compratibilidad para IE8, fijate, hay una nueva versión del plugin (no se si ya la estas usando), acá te dejo el link para que la descargues: IE Compatibility.

La misma ya tiene soporte para IE8, IE9, Joomla 1.5.X y Joomla 1.6.

Fijate, instalas el plugin, vas al gestor de plugines y lo activas, establecelo así:

Integration method :: Meta tag
IE 8 compatibility mode :: IE8 (no lo establezcas a EmulateIE7 u 8)

Eso es todo, en KunenaSpanish.com lo usamos y va a la perfección.
  • Rafael Franco Moreno
  • Rafael Franco Moreno's Avatar
16 Feb 2011 18:14
Replied by Rafael Franco Moreno on topic Joomla sus Plantillas y el IE8

Joomla sus Plantillas y el IE8

Category: English K2 Community

buenos dias Kunena

oye me podrian ayudar?

es que hice lo que le recomendaste a Pedro instale el ie8_compatibility_1.5 porque tengo joomla 1.5 pero sigue haciendo lo mismo el explorer, en mi caso lo que hace es que al momento de estar creando un articulo en k2 y adjuntando un archivo cuando le doy click en examinar no me abre al ventana para seleccionar el archivo pero si le doy doble clik en el campo de la izquierda del boton de examinar si me abre la ventana, tambien si le doy un click fuera de examinar y le doy click a examinar otra vez si me abre la ventana esto nada mas pasa con explorer, con firefox y demas navegadores si funciona, puedes ver la imagen de examinar.

 

otro error que me sale es el de la imagen que te adjunto, ademas de otro que me desaparece unas viñetas de un modulo aunque no siempre.

 

me podrian ayudar? de los agradecaria mucho.

 

saludos.


Kunena Spanish! said:

Hola Pedro,
He visto que tienes instalado en tu sitio el plugin de compratibilidad para IE8, fijate, hay una nueva versión del plugin (no se si ya la estas usando), acá te dejo el link para que la descargues: IE Compatibility.

La misma ya tiene soporte para IE8, IE9, Joomla 1.5.X y Joomla 1.6.

Fijate, instalas el plugin, vas al gestor de plugines y lo activas, establecelo así:

Integration method :: Meta tag
IE 8 compatibility mode :: IE8 (no lo establezcas a EmulateIE7 u 8)

Eso es todo, en KunenaSpanish.com lo usamos y va a la perfección.
  • Nicholas Lima
  • Nicholas Lima's Avatar
15 Feb 2011 20:18
Replied by Nicholas Lima on topic K2 Menu with submenus

K2 Menu with submenus

Category: English K2 Community

Oh, sorry I forgot that. But it is quite simple, the error is occurring because the tags "ul" of "menu top" and "K2 CAT menu" has the same CSS class.

To correct this error add the code below to your template.css

div#horiz-menu ul.menu li a:hover {
background: none !important;
}
  • JoomlaWorks
  • JoomlaWorks's Avatar
15 Feb 2011 19:17

Excluding Categories from Search / K2 category options

Category: English K2 Community

The search module has been updated in v2.5 and now you can define specific categories for it to search. So you can create multiple copies of the module (e.g. 2) and have one for the site, the other for an intranet section and so on ;)

 

Tagging is another story, but we'll work out something for that as well.
  • Jiliko.net
  • Jiliko.net's Avatar
15 Feb 2011 08:46
Replied by Jiliko.net on topic Backend K2 admin extension

Backend K2 admin extension

Category: English K2 Community

It uses the K2 core remove function, so all is deleted : images, attachments, videos, tag references...

 

Olivier
  • Jason Brown
  • Jason Brown's Avatar
15 Feb 2011 06:12

Undesired Feature?? - Transparent PNG's convert to jpg and loose transparency

Category: English K2 Community

Don't understand what you mean by the last stage. i have followed on a local host install and it seems to be creating a png and a jpg and still picking the converted png.(this is in the cache folder.)

So how do I get it to recognise the png.


Stephen Austin said:

I've got a solution for this. its not super sexy, but it works.
in /components/com_k2/models/item.php replace the if chain starting on line 110 with:

if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_XS.png'))
$item->imageXSmall = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_XS.png';
else if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_XS.jpg'))
$item->imageXSmall = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_XS.jpg';

if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_S.png'))
$item->imageSmall = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_S.png';
else if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_S.jpg'))
$item->imageSmall = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_S.jpg';

if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_M.png'))
$item->imageMedium = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_M.png';
else if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_M.jpg'))
$item->imageMedium = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_M.jpg';

if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_L.png'))
$item->imageLarge = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_L.png';
else if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_L.jpg'))
$item->imageLarge = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_L.jpg';

if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_XL.png'))
$item->imageXLarge = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_XL.png';
else if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_XL.jpg'))
$item->imageXLarge = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_XL.jpg';

if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_Generic.png'))
$item->imageGeneric = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_Generic.png';
else if (JFile::exists(JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.md5("Image".$item->id).'_Generic.jpg'))
$item->imageGeneric = JURI::root().'media/k2/items/cache/'.md5("Image".$item->id).'_Generic.jpg';

In /administrator/components/com_k2/models/item.php insert this after the Generic image processing section line ~295:

/////////////////////PNG
//Original image
$savepath = JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'src';
$handle->image_convert = 'png';
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = md5("Image".$row->id);
$handle->Process($savepath);

$filename = $handle->file_dst_name_body;
$savepath = JPATH_SITE.DS.'media'.DS.'k2'.DS.'items'.DS.'cache';

//XLarge image
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_convert = 'png';
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = $filename.'_XL';
if (JRequest::getInt('itemImageXL')) {
$imageWidth = JRequest::getInt('itemImageXL');
} else {
$imageWidth = $params->get('itemImageXL', '800');
}
$handle->image_x = $imageWidth;
$handle->Process($savepath);

//Large image
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_convert = 'png';
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = $filename.'_L';
if (JRequest::getInt('itemImageL')) {
$imageWidth = JRequest::getInt('itemImageL');
} else {
$imageWidth = $params->get('itemImageL', '600');
}
$handle->image_x = $imageWidth;
$handle->Process($savepath);

//Medium image
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_convert = 'png';
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = $filename.'_M';
if (JRequest::getInt('itemImageM')) {
$imageWidth = JRequest::getInt('itemImageM');
} else {
$imageWidth = $params->get('itemImageM', '400');
}
$handle->image_x = $imageWidth;
$handle->Process($savepath);

//Small image
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_convert = 'png';
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = $filename.'_S';
if (JRequest::getInt('itemImageS')) {
$imageWidth = JRequest::getInt('itemImageS');
} else {
$imageWidth = $params->get('itemImageS', '200');
}
$handle->image_x = $imageWidth;
$handle->Process($savepath);

//XSmall image
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_convert = 'png';
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = $filename.'_XS';
if (JRequest::getInt('itemImageXS')) {
$imageWidth = JRequest::getInt('itemImageXS');
} else {
$imageWidth = $params->get('itemImageXS', '100');
}
$handle->image_x = $imageWidth;
$handle->Process($savepath);

//Generic image
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_convert = 'png';
$handle->file_auto_rename = false;
$handle->file_overwrite = true;
$handle->file_new_name_body = $filename.'_Generic';
$imageWidth = $params->get('itemImageGeneric', '300');
$handle->image_x = $imageWidth;
$handle->Process($savepath);

Finally, wherever you are using an image from the k2 item, replace the .jpg extension with .png (if you need transparancy).

In short, technique writes an additional set of png (alpha intact) to the cache directory, and makes them available to the application via the same name as the jpg counterpart. No existing functionality should be broken by this since it is an additive change. I'll post a more thorough blog about this at some point.

One final note, if you need to implement the png version, a simple string replace looks something like this:


I'm a c# guy, not really php, and being as lazy as I am, I'm not going to look up how to do a proper substring trim... just dont name your image blah.png.png.png....
Good Luck!
  • Darrell Washington
  • Darrell Washington's Avatar
15 Feb 2011 04:18
Replied by Darrell Washington on topic Can K2 help me with this?

Can K2 help me with this?

Category: English K2 Community

Thank you so much for responding. My website allows registered users to create their own flashcards and save the data. Unregistered can click on a subject (say Math) in the Category module in hopes of seeing all the results of other users that have created cards related to Math. Quizlet.com is a perfect example of what I am trying to get help with. If you go to that page. Click on math, you see the results of users that created flashcards related to the tag Math. I want something similar.

 

Can K2 help me with this? If so, can you point me in the right direction.

 

I just dont know how to do this. I want to know if K2 can help with this. Or is there Joomla MySQL work required to program.

 

Thank you so much
  • CMYKreative
  • CMYKreative's Avatar
15 Feb 2011 03:11
Replied by CMYKreative on topic Cannot input tags in back end

Cannot input tags in back end

Category: English K2 Community

You could try going back to the previous version of K2 . . . there's obviously an issue with the current version of K2's handling of jquery/mootools in some templates/configurations which hasn't been addressed or resolved yet.
  • that library
  • that library's Avatar
15 Feb 2011 02:01
Replied by that library on topic Cannot input tags in back end

Cannot input tags in back end

Category: English K2 Community

Thanks for all the replies!! I tried disabling the MooTools Upgrade and it didn't make any difference. I'm using GavickPro's MusicTube template, and before updating my K2 version, this was not an issue. :(

I have re-uploaded all of the K2 files, and carefully checked to see that they all have the correct permissions and are the correct file size, so I don't really know what to do next?
  • Yiota
  • Yiota's Avatar
14 Feb 2011 12:15
Replied by Yiota on topic Trouble with the formatting of text

Trouble with the formatting of text

Category: English K2 Community

The text you have put in the article has many tags that are not needed, like spans with style on them, etc. Either choose to clean the text before pasting it in the item box on the backend or you could enable the introtext clean up code from K2 general parameters and just put which tags you want to allow for the text.
  • Yiota
  • Yiota's Avatar
14 Feb 2011 10:54
Replied by Yiota on topic No ID for image gallery on SGP page

No ID for image gallery on SGP page

Category: Simple Image Gallery PRO

Once you upload the zip file you don't have to put anything in the article. The gallery appears where the K2 template tells it to. You can rearrange the position of the gallery and the other blocks by editing the template files, after you have made a template override first.
If you want to put between the text a gallery you need to do it the old fashion way, by creating a folder in images/stories and putting your photos there. After that, use the {gallery} tag to call your gallery.
  • CMYKreative
  • CMYKreative's Avatar
14 Feb 2011 07:27
Replied by CMYKreative on topic K2 v2.2.x Add Tag in new Item not Saving

K2 v2.2.x Add Tag in new Item not Saving

Category: English K2 Community

Try going to your plugins and disabling  System - Mootools Upgrade
  • Syahril Zulkefli
  • Syahril Zulkefli's Avatar
13 Feb 2011 21:36
Replied by Syahril Zulkefli on topic Import existing Wordpress Blog in K2 ?

Import existing Wordpress Blog in K2 ?

Category: English K2 Community

hi all,

i created a basic component to migrate wordpress posts, categories, tags and comments to K2. it is very basic component. feel free to test it. but i must remind you that this is a very basic component that i use for my site.

 

what this component can do:

1. migrate wp posts to K2

2. migrate wp comments to K2

3. migrate wp categories to K2

4. migrate wp tags to K2

5. convert wp read more tag to K2 tag

6. convert wp double line breaks to paragraph tag

7. split introtext and fulltext

8. maintain tags relationships with posts

 

what this component cannot do:

1. copy images

2. migrate users

 

other cons:

1. wp table name hardcoded in the component

2. post item params hardcoded in component

3. category params hardcoded in component

4. this is not installable component

5. if your wp post have more than 1 category, only the first one will be use in K2

6. you can only migrate it to empty K2 component, because this component will be using the original IDs from wp to maintain the relationships

 

how to use it:

1. unzip the component to your /administrator/components/com_wp2k2

2. export your wp tables, then import it in database that have K2 installed

3. change the wp table name in controller.php

4. from your joomla backend, run yourdomain.com/administrator/index.php?option=com_wp2k2

 

note:

i use this component for my site, and it seems working just fine. no support will be given since i'm quite busy with other jobs. if u think u can make it better and make money from it, feel free to do so. just drop an email to me and let me test it for free :P
  • David Tudor
  • David Tudor's Avatar
13 Feb 2011 20:26
K2 tags not working in latest version was created by David Tudor

K2 tags not working in latest version

Category: English K2 Community

Hello all

 

I'm new to K2 but not Joomla.I've got two Joomla sites and I've installed K2 onto both. One is using the earlier version of K2 and the tags work fine.My latest Joomla site is pretty much the same set up and I installed K2 from the same package but noticed the Item tabs and K2 Tags were not working at all so I unistalled and installed 2.4.1.The K2 item tabs work fine but now my Tag don't work at all.I create a new item, give it a title, an alias and then I go to add a tag and although I can type something in, it never saves.I have tried hitting return key and adding a comma but neither works.I have saved the item to see whether the tags will appear on the actual page but they do not.I have tried everything but no tags will save or show after Item has been saved and published. MY Joomla and K2 installation is clean bar one or two extensions but no extensions for K2 have been installed.

 

Any help much appreciated. 
  • netshad
  • netshad's Avatar
11 Feb 2011 17:32
Author (user) page lacks Ordering... was created by netshad

Author (user) page lacks Ordering...

Category: English K2 Community

am testing K2 for the first time, and came up with this problem of un-ordered Author layout... i have checked the modified and created dates of articles. and i couldnt find an OPTION or Radio Button for Author layout. But the Global settings have this option for Tag & Search Generic layouts for Ordering.

 

is there anyway to modify my Author Layout Ordering? or any settings which could override?

 

thanks in advance for any help.
Displaying 5301 - 5320 out of 6582 results.

Powered by Kunena Forum