Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Ben Wake
  • Ben Wake's Avatar
30 Mar 2016 13:01
Category / Item list Empty was created by Ben Wake

Category / Item list Empty

Category: English K2 Community

Hi there!

I've recently updated J! to J! 3.5.0 and also updated K2 (and reinstalled) in order to try and solve this issue.

I can add items and categories (and presumably other things such as tags etc) without issue, however when I return to the Item or Category list it simply returns an empty list? I've checked the db and can see that the category and items I have created are there.

I can't see anything obvious which would indicate a problem. I've also run the database fix tool from J! to ensure everything is as it should be!

Any ideas would be appreciated!

J! 3.5.0
K2 2.7.0

Cheers folks!
Ben
  • Fabian Richter
  • Fabian Richter's Avatar
30 Mar 2016 11:04
Category-List-Cache Problem with K2 2.7 was created by Fabian Richter

Category-List-Cache Problem with K2 2.7

Category: English K2 Community

Since I updated to K2 2.7 i have a problem with the category list. With clean cache, everything runs great, but after some hours the category list-style is broken. Then the pictures are not available and tags,... looks like normal letters without any style. Then I need to clear the cache and everything looks good again. I never had this problem with K2 2.69. (I don't use the System-Cache, only the Browser-Cache)
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 Mar 2016 12:40
Replied by Krikor Boghossian on topic [SOLVED] $item->tags empty in tag.php

[SOLVED] $item->tags empty in tag.php

Category: English K2 Community

Thanks :)
Actually these issues have been addressed in v3.
As for the generic.php, you can use the $task='date' to differentiate the date view from the other views which use the generic file.

You can modify generic.php freely provided you use overrides
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
  • Jan
  • Jan's Avatar
29 Mar 2016 11:33

Predefined label beside the title of the item

Category: English K2 Community

Hello,

I have a question. It would be possible add to version 2.7.1 a new feature? I would like to be able to insert predefined label to the title. In some extensions, it is called "marks", "types", "levels" etc.

It is now possible to distinguish items only according to categories and tags. But I need insert to the title of the items "Updated" (but only for important news), "Breaking News", "Exclusively" etc. All the major news sites have these labels.

It's a small thing, but very helpful for me. It would K2 has moved another step forward.

Have a nice day, Jan
  • Timothy Michel
  • Timothy Michel's Avatar
28 Mar 2016 22:50
No Lightbox for Item Image When Clicked was created by Timothy Michel

No Lightbox for Item Image When Clicked

Category: English K2 Community

I am getting the Item image opening in a new window instead of popping up in a Light-box style pop up. Requiring the use to click the "Back" button instead of just clicking off the image to return to reading the article.

www.911truthoutreach.org/557-news-releases/475-pentagon-plane-approach-captured-on-video.html

Did something change with K2 2.7 or did I uninstall something I shouldn't have.
  • muhzilla muhzilla
  • muhzilla muhzilla's Avatar
28 Mar 2016 22:19 - 29 Mar 2016 12:20
Replied by muhzilla muhzilla on topic [SOLVED] $item->tags empty in tag.php

[SOLVED] $item->tags empty in tag.php

Category: English K2 Community

For now, your solution works fine Krikor, thanks a lot! One more question: The archive view (executed when using the K2 tools archive functionality) seems to be controlled by the file generic.php. Is there any way to apply templates to the archive view, too? Otherwise I would have to modify the generic.php, which is another file I am actually not supposed to modify :/

Also, I would like to have the tags available in the archive view as well. What would I need to add to the check in /components/com_k2/models/item.php to accomplish this?
  • muhzilla muhzilla
  • muhzilla muhzilla's Avatar
28 Mar 2016 21:11
Replied by muhzilla muhzilla on topic [SOLVED] $item->tags empty in tag.php

[SOLVED] $item->tags empty in tag.php

Category: English K2 Community

Thanks Krikor, I will try this soon. I would suggest to have all item properties present in all of the different views to be consistent. Maybe this could be done in future versions of K2? :)
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
28 Mar 2016 20:22
Replied by Krikor Boghossian on topic [SOLVED] $item->tags empty in tag.php

[SOLVED] $item->tags empty in tag.php

Category: English K2 Community

Unfortunately the tags are not available in the object.

You can hack K2 and add them into the model, but you should backup before and keep a backup of your edits at all times.
In the /components/com_k2/models/item.php locate around line 107 the following block.
 if (($view == 'item' && ($item->params->get('itemTags') || $item->params->get('itemRelated'))) || ($view == 'itemlist' && ($task == '' || $task == 'category') && $item->params->get('catItemTags')) || ($view == 'itemlist' && $task == 'user' && $item->params->get('userItemTags')) || ($view == 'latest' && $params->get('latestItemTags')))

You should add the $task == 'tag' in the check above.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
28 Mar 2016 14:06
Replied by Krikor Boghossian on topic module possitions changed after update 2.7

module possitions changed after update 2.7

Category: English K2 Community

Hello Ype,

K2 will not add/ remove nor change in any way with your template's module positions.

It appears that there are unclosed HTML tags in your site validator.w3.org/nu/?doc=http%3A%2F%2Fwww.engelum.com%2F
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
28 Mar 2016 13:08
Replied by Krikor Boghossian on topic Based on how many tags are related k2 items shown?

Based on how many tags are related k2 items shown?

Category: English K2 Community

Hello,

They are based from one tag and up.
  • muhzilla muhzilla
  • muhzilla muhzilla's Avatar
26 Mar 2016 22:45 - 29 Mar 2016 18:35
[SOLVED] $item->tags empty in tag.php was created by muhzilla muhzilla

[SOLVED] $item->tags empty in tag.php

Category: English K2 Community

Hi there,

I am currently trying to create a new subtemplate for K2. I am using the K2 tools Tag Cloud module and would like to display the Item's tags. However, I found that when trying to output the tags, the $item->tags array is empty.

Below is the code from my tag.php. The code for outputting the tags is actually taken from category_item.php where it is working fine.
 <?php echo $item->params->get('catItemTags'); ?> <!-- outputs 1, so tags should be present --> <?php echo count($item->tags); ?> <!-- outputs 0, so array is empty --> <span><?php echo JText::_('K2_TAGGED_UNDER'); ?></span> <ul class="catItemTags"> <?php foreach ($item->tags as $tag): ?> <li><a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a></li> <?php endforeach; ?> </ul>
  • Michael GaKI
  • Michael GaKI's Avatar
26 Mar 2016 19:16 - 26 Mar 2016 19:17
Frontend-Editor fehlerhafte Buttons was created by Michael GaKI

Frontend-Editor fehlerhafte Buttons

Category: Offizielle deutsche Gemeinschaft

Hallo zusammen,

ich habe ein paar kleinere Probleme bei der Einrichtung einer neuen Website und der Nutzung des Editors im Frontend.
imgur.com/fhDL8xh

Bin ich eingeloggt und klicke auf den EDIT-Button neben dem Text öffnet sich in einem Popup der Beitrag zur Bearbeitung.
Der Speichernbutton funktioniert. Oberhalb des K2-Icons erscheint dann "Nachricht Item saved".
Klicke ich aber auf Close passiert nichts. Auch mehrfach nicht. Ich muss dann in der Browserzeile die alte Seite neu laden.
Ich komme also nicht mehr aus dem Popup-Fenster heraus.

Auch sieht man bei den "Featured" und "Published" Buttons "nichts". Klicks auf die Felder haben keine Auswirkungen.
Die waren mal rot/grün.

Für K2-habe ich folgende Einstellungen vorgenommen:


K2-Default CSS : enabled
jQuery Library 1.12.x. latest remote
(ältere/andere Libraries bringen keinen Unterschied).

Wenn ich K2-default CSS disable, dann ändert sich eigentlich nichts. Nur dass auf der Homepage der EDIT-Button nicht
mehr da ist und Der Text "Edit Item" direkt vor dem Titel des Beitrags steht.

Ich möchte gerne dieses Template nutzen, habe es auch schon installiert. goo.gl/zz9Vbd

Aber K2 macht mir auch mit anderen Templates Probleme.

Im Backend ist alles sauber. Eigentlich wäre es top, wenn mittels Frontend-Login der Editor genau so aussehen könnte wie
auf diesem Screenshot.

imgur.com/VeMbmvo

Allen schöne Ostertage!!

Michael
  • muhzilla muhzilla
  • muhzilla muhzilla's Avatar
26 Mar 2016 12:44
Same Layout for K2 Tools and K2 Category List (Menu) was created by muhzilla muhzilla

Same Layout for K2 Tools and K2 Category List (Menu)

Category: English K2 Community

Hi there,

we are using the K2 component to integrate a simple blog. A Joomla menu item is directly linking to K2 using the K2 -> Categories menu item type to list all K2 items form all categories. This looks like shown in the first screenshot marked with "menu"

To enable the users to get a listing of all K2 items related to a certain tag, we are using the K2 tools module with tag cloud functionality. However, the way the K2 items are listed when clicking on a tag in the tag cloud looks totally different (marked with "tag cloud"). Also, there are no options to configure the presentation of the K2 items in the K2 tools module properties.

imgur.com/a/InxSW

Our site is based on a Joomlage template (joomlage.com, Journey #98). What it looks like to me is that the way the items are presented is based on the template's CSS when using the menu and based on a different style (from K2?!) when using the tag cloud module. What we want of course is that items are presented always in the same way. How can this be achieved? Thank you :)
  • Ilya Kushliansky
  • Ilya Kushliansky's Avatar
26 Mar 2016 02:31
Based on how many tags are related k2 items shown? was created by Ilya Kushliansky

Based on how many tags are related k2 items shown?

Category: English K2 Community

Based on how many tags are related k2 items picked? Does k2 take into account only one tag or several similar tags? then how many? 50% or more? I have about 10 tags for each item.

thanks
  • Martin Rother
  • Martin Rother's Avatar
25 Mar 2016 11:30 - 25 Mar 2016 11:43
Replied by Martin Rother on topic Problem with image share on facebook

Problem with image share on facebook

Category: English K2 Community

I have the same issue. I tried the suggestion from Javi Mata and get the following error in facebook debugger.
imgur.com/2Gv6mm7

There are no more open graph tag generating plugins installed. og:image is still missing even with disabled jch optimized.

Joomla 3.5, K2 2.7
item.php: only order of a few sections changed.

view.html.php is original
// Set Facebook meta data if($params->get('facebookMetatags', '1')) { $document = JFactory::getDocument(); $uri = JURI::getInstance(); $document->setMetaData('og:url', $uri->toString()); $document->setMetaData('og:title', (K2_JVERSION == '15') ? htmlspecialchars($document->getTitle(), ENT_QUOTES, 'UTF-8') : $document->getTitle()); $document->setMetaData('og:type', 'article'); $facebookImage = 'image'.$params->get('facebookImage', 'Small'); if ($item->$facebookImage) { $basename = basename($item->$facebookImage); if (JFile::exists(JPATH_SITE.'/media/k2/items/cache/'.$basename)) { $image = JURI::root().'media/k2/items/cache/'.$basename; $document->setMetaData('og:image', $image); $document->setMetaData('image', $image); } } $document->setMetaData('og:description', strip_tags($document->getDescription())); }
The only thing i noticed is the 'Small'. I have choosen Large in K2 Backend.
('facebookImage', 'Small')

Thank you
  • denis
  • denis's Avatar
24 Mar 2016 10:25
K2 version3, MySQL error was created by denis

K2 version3, MySQL error

Category: English K2 Community

Hello,
I'm working with version 3 of K2.
I get a MySQL Error if I go to a module that is not related with K2.

the error, in module administration, is this one:

Error: 1054 Unknown column 'c.name' in 'field list' SQL=SELECT c.name AS name, c.id AS id, c.parent AS parent FROM #__k2_categories AS c WHERE published = 1 AND trash = 0 ORDER BY c.name, c.parent ASC

and it appears on the "title tag" of the page.
the module is BT Content Slider by bowthemes.com

bowthemes.com/joomla-extensions/bt-content-slider.html

any idea?
thanks in advance
denis
  • Timothy Michel
  • Timothy Michel's Avatar
23 Mar 2016 22:09 - 24 Mar 2016 20:14
Replied by Timothy Michel on topic [SOLVED] Items not displaying after update to 2.7

[SOLVED] Items not displaying after update to 2.7

Category: English K2 Community

Thanks Krikor. I am currently using JFBConnect as my Social Media /module/plugin and I am currently adding the JFBConnect tags to each article/item by hand; the images, title and description need to be slightly different, especially for Twitter, so I add individual tags for JFBConnect to process so that I get the best looking posts to the Social Media venues possible. I see with K2 Extra fields that I can actually create and Extra Field Group just for this purpose and wrap the contents of the field in the appropriate curly braces tag and have that inserted into the article instead, eliminating errors I would otherwise be prone to introduce through my bad typing skills. JFBConnect would then process those tags and add the metadata to the page as well as create Social Media JavaScript that conforms to the APIs.

Still have to play with the item display problem in the back end.

The problem doesn't seem to be K2 2.7, the problem seems to be connected with the Language Manager. The Language filter for Joomla Articles works fine, however, so I am not sure why the Language Filter in K2 only permits a value of English GB.

If I change the language of an item to English GB and then save it and then install K2 2.7 the item displays in item manager. That is because English GB is the only language the Language Filter permits; it is like some JavaScript looks at the Language Filter setting and if it is anything other than English GB it sets it to English GB. Sounds like I have a plugin installed that is causing this behavior.

Do you have any idea what is causing this behavior. Could you provides some ideas of what you would try if you encountered this problem on a K2 site.

On another note, the Inceptive Extra Fields plugins were interfering with the K2 Extra Fields which was the reason they weren't displaying. I disabled the Inceptive Extra Fields plugins and every thing is working like clockwork now. So all is well in this area.

Really happy that K2 2.7 finally got released. Great job, and tell Fotis great job as well, not blaming you guys, this is obviously something stupid that I did.

Look forward now to K2 3.0.
  • Vlad
  • Vlad's Avatar
23 Mar 2016 21:43

error message in k2 after Joomla 3.5 update

Category: English K2 Community

Dear Krikor,

Thank you!
I've inspected the page with k2 item and I've found some unclosed tags. I hope that this is a problem. But unfortunately I don't know yet where to clean this elements. For instance I have </div> under <!-- //SIDEBAR RIGHT --> (This module is shifted). So can you please give me a piece of advice where I can delete this </div>?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
23 Mar 2016 19:01
Replied by Krikor Boghossian on topic K2 Tag Problem

K2 Tag Problem

Category: English K2 Community

I do not know if that be resolved with some htaccess magic.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
23 Mar 2016 18:50
Replied by Krikor Boghossian on topic error message in k2 after Joomla 3.5 update

error message in k2 after Joomla 3.5 update

Category: English K2 Community

Hello,

This is unrelated of the recent updates. This is to either a template issue (unclosed HTML tags) or if it happens only in particular items, it means that there are unclosed HTML tags in these items.
Displaying 1361 - 1380 out of 6582 results.

Powered by Kunena Forum