COMMUNITY FORUM
Search Results (Searched for: k2 Tag)
- Paolo
Insert Tag in multiple article
Category: English K2 Community
i've wrote the same question to Italian community in this forum, i apologize at first for this duplication!
does anyone know a way to insert a tag on all items of a specific category?
example:
I have a category "dogs" with 150 items, for each item I want us to be a tag "canids".
Is there a way to avoid opening them one by one and insert the tag or avoid going to the database to insert tag from there?
there is something like a component / plugin / hack for K2?
Thanks in advance!
Paolo
- Paolo
Inserimento tag in articoli K2
Category: Comunità italiana K2
qualcuno conosce un sistema per inserire in blocco un tag su tutti gli articoli di una specifica categoria?
Esempio:
ho una categoria "Cani" con 150 articoli, per ogni articolo voglio che ci sia un tag "canidi".
C'è un modo per evitare di aprirli uno ad uno e inserire il tag :blink: o evitare di andare in base dati per inserirli da lì? :huh:
ergo un componente/plugin/hack di K2?
Grazie in anticipo!
Paolo
- Massimo Di Primio
[SOLVED] No fulltext in "latest item from category"
Category: English K2 Community
The trick is that I'm using the template JSN_BOOT_PRO (by joomlashine) which has a css kinda weird. Infact at line 266 of file templates/jsn_boot_pro/ext/k2/jsn_ext_k2.css there is a block which screws up the k2 article (if it contains some image). The css block is like the following:
div.groupLeading div.itemBody img,
div.groupLeading div.userItemList img,
div.groupLeading div.catItemBody img,
div.groupLeading div.tagItemBody img,
div.groupPrimary div.itemBody img,
div.groupPrimary div.userItemList img,
div.groupPrimary div.catItemBody img,
div.groupPrimary div.tagItemBody img,
div.groupSecondary div.itemBody img,
div.groupSecondary div.userItemList img,
div.groupSecondary div.catItemBody img,
div.groupSecondary div.tagItemBody img,
div.latestItemBody img {
width: 92%;
}
Simply commenting out that piece of css everything looks beautiful (as expected).
Thank you very much for your great support. Without your suggestion and direction I wouldn't be certainly able to find the problem.
Best regards
- Andrew Gaskell
Bulk Tag Feature
Category: English K2 Community
getk2.org/community/New-to-K2-Ask-here-first/152155-Add-tags-to-articles-en-mass-in-a-bulk-job#182225
- Andrew Gaskell
Add tags to articles en-mass in a bulk job?
Category: English K2 Community
So, I had a look at this, as I needed to bulk tag items, and decided to do it via MySQL. I though it'd maybe be handy to share the code. Table prefixes always vary, I know, but mine is "vh4z6" in this instance, which you'll see here, so you'd have to change that to whatever your table prefix is.
So I wanted to tag all my articles as "Aberdeen". I looked in the "vh4z6_k2_tags" table, and found the ID of the "Aberdeen" tag, which was "218".
Some items were already tagged as "Aberdeen", so I wanted to purge them, I did...
- David Willox

11 Sep 2013 07:52 Replied by David Willox on topic Item Title h2 to h1 Item Title h2 to h1
Category: English K2 Community
Chandan Kumar wrote: You can use Header Tags Plugin and that will do your job. You don't have to modify any code.
I tested with Joomla and K2 articles, it works great.
www.chandank.com/cms/joomla/change-title-header-to-h1
Chandan - This plugin should be incorporated into K2!
Well done for finding it and thank you for posting it!
- gangadhar
Image gallery with fields displaying for each imag
Category: English K2 Community
I am new to k2,i have one requirement like i have lot of images with data tagged to them in fields.so i need to display these images in a galley and on clicking each image should display the data tagged to them in fields ,for the images every time i used to place them at the back-end which should pick up and show.for the gallery i am using "Simple gallery plugin" to which k2 will support,so can u guys guide how to create fields and tag data to them then on clicking showing individual data for the images. :huh: :huh: :huh:
- Krikor Boghossian
Remove Tag from K2 Item/Article
Category: English K2 Community
- Michael Yaeger
Display Modules on Specific Article Pages
Category: English K2 Community
www.nonumber.nl/extensions/advancedmodulemanager
The Advanced Module Manager (PRO version) will let you add modules to any position based on K2 article name/category/tag/etc. It has worked great for our needs.
- Michael Yaeger
Remove Tag from K2 Item/Article
Category: English K2 Community
File = administrator/components/com_k2/views/item/tmpl/default.php
At line 108, add new attribute onclick="$K2(this).parent().remove();" to the span.
- Krikor Boghossian
Why K2 real URL can be index in google ?
Category: English K2 Community
If you are using canonical tags and even if multiple URLs are indexed you won't get penalised for double content.
As for the hackable part this is how it work so when you use canonical links that won't be an issue.
- Krikor Boghossian
Why K2 real URL can be index in google ?
Category: English K2 Community
As I have told you multiple times in the past you either need to use an SEO Extenion and some 301 redirects for your URLs or use a canonical link plugin which offers K2 integration.
And to answer this question every CMS's permalinks are hackable which means URLs can be accessed in multiple ways. So using a canonical tag will solve this issue.
- jokrasa
There was a problem rendering your image gallery.
Category: Simple Image Gallery PRO
{gallery}pfarrervsimame{/gallery}This tag must be only in sigplus ! not sigpro.
Add photos using one of the tabs when editing the article.(before upload the pictures, put pictures in the archive)
Make sure the sigpro plugin is enabled.
- gaker
anchors to specific modules using K2 content modul
Category: English K2 Community
Yiota Ziaggou wrote: What if you used the Description text at the top (optional) field? This would be right under the title. Maybe with some CSS you could move it close to the heading of each module.
Wow! It works !
But where this text is published ? Only in code? I have put only the html tag: <a name="name">.
Thank you :))
- efe
Siyah Tema Katagori ve fotograf sorunu
Category: Türkçe K2 Topluluğu
- WinniePooh
Following layout possible?
Category: English K2 Community
- Max

08 Sep 2013 10:48 Replied by Max on topic K2 Comments maxlength? K2 Comments maxlength?
Category: English K2 Community
for those who intrested I've did it in such way:
1. in the file \components\com_k2\models\item.php you need to find "function comment'. In this function you need to find string$row->commentText = JRequest::getString('commentText', '', 'default');now we can with mb_substr cut odd symbols adding right after the mentioned string new one:$row->commentText = mb_substr($row->commentText, 0, 600);
as you can guess number 600 is the number of symbols which will leave in the $row->commentText, all other symbols will be cut. You can change this number to any you'd like.
2. then you can just add to the commentary description information about max symbols limitation in the comment, but we can do it in the more convinient for the end user way. depending on your template the necessary file could be in /templates/YOURJOOMLATEMPLATE/html/com_k2/item_comments_form.php if such folder exists. If not, then look for in /components/com_k2/templates/item_comments_form.php.
In this file we look for string<form action="<?php echo JRoute::_('index.php'); ?>" method="post" id="comment-form" class="form-validate">and insert in front of it<script type="text/javascript"> function textCounter( field, countfield, maxlimit ) { if ( field.value.length > maxlimit ) { field.value = field.value.substring( 0, maxlimit ); document.getElementById("message-text-counter").innerHTML = "Commentary cannot longer then 600 symbols"; return false; } else { document.getElementById("message-text-counter").innerHTML = '<div id="message-text-counter"><span id="text-counter"></span> symbols left</div>'; document.getElementById(countfield).innerHTML = maxlimit - field.value.length; } } </script>you must change number 600 to the number of your choice
then the string<textarea rows="20" cols="10" class="inputbox" onblur="if(this.value=='') this.value='<?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?>';" onfocus="if(this.value=='<?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?>') this.value='';" name="commentText" id="commentText"><?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?></textarea>you change to<textarea rows="20" cols="10" class="inputbox" onblur="if(this.value=='') this.value='<?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?>';" onfocus="if(this.value=='<?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?>') this.value='';" onkeyup="textCounter(this,'text-counter',600)" name="commentText" id="commentText"><?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?></textarea>You see we added hereonkeyup="textCounter(this,'text-counter',600)"
here again you must change 600 to the number of symbols you have chosen in mb_substr function.
and as final stroke after<div class="cform-item2"> <label class="formComment" for="commentText"><?php echo JText::_('K2_MESSAGE'); ?> *</label> <textarea rows="20" cols="10" class="inputbox" onblur="if(this.value=='') this.value='<?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?>';" onfocus="if(this.value=='<?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?>') this.value='';" onkeyup="textCounter(this,'text-counter',600)" name="commentText" id="commentText"><?php echo JText::_('K2_ENTER_YOUR_MESSAGE_HERE'); ?></textarea> </div>you add<div class="cform-item2" id="message-text-counter"> <span id='text-counter'>600</span> symbols left</ br> </div>
here the same you must change 600 to your number.
Now user will see real-time symbols counter below comment textarea and this script will prevent user from enetering more then in my case 600 symbols even if user will copypaste ready text into the textarea. Even if user deactivate JavaScript and craete comment more then 600 symbols in my case, on the stage of processing comment the php script will cut off odd symbols in the text
IMPORTANT NOTICE
some attributes e.g. class can (and for sure WILL!!) be different depending on your template! So applying described changes you MUST change them to the values of your own template if you have any - gaker
full html in category listing? show articles nicel
Category: English K2 Community
Krikor Boghossian wrote: Are you sure you aren't using cleanup functions in your template or just stripping specific tags?
If you are asking about my K2 settings - yes - I have turned off in this place.
I would like to point, that bolded text is displayed properly, links also.
I have checked that my html tags ends before "read more" line.
Also is the Enter which HTML tag attributes to strip in introtext value is set to blank?
Sorry, did you asking me about breaking lines in html tags? Sorry, I did not understand your question?
- aymettim
There was a problem rendering your image gallery.
Category: Simple Image Gallery PRO
I bought the simple image gallery pro several days ago, installed it local before using it remote. Everything works fine, no troubles. So I installed it on our server and suddenly the following failure message occurs:
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:
Here is the exact link to the site: islamvoice.de/islamvoiceweb/index.php/islamvoice-bildergallerie/item/187-pfarrer-vs-imame
I even read several threads with the same issue, but not anyone helps me out. The folders were set to 777.
Here are our system informations, if it helps :
PHP erstellt für Linux h1602741 2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64
Datenbankversion 5.0.51a
Datenbankzeichensatz utf8_general_ci
PHP-Version 5.2.9
Webserver Apache
PHP-Interface für den Webserver apache2handler
Joomla!-Version Joomla! 2.5.11 Stable [ Ember ] 26-April-2013 14:00 GMT
Joomla!-Plattform-Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
Browsererkennung Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36
I hope you can help me as quick as possible, because we want to go online soon and we dont want miss this component, we like the functionality and the cowork with the cck k2.
Thank you guys! Best regards from Berlin
- Giuseppe Mangano
Extra fileds Joomfish formatting problem
Category: English K2 Community
is there any way to facilitate the translation of k2 extra fields in Joomfish? My point is to avoid character like "{, html tag, \r, \n" and so on and to have input fileds for each extra fields without this special characters.
Thanks in advance,
Giuseppe.