Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Marlais
  • Marlais's Avatar
12 Mar 2013 18:42

Filtro tags html in intro text. Come rimuoverlo?

Category: Comunità italiana K2

Buongiorno,
utilizzo il componente k2 ultima versione su joomla 2.5
Ho notato che nella pagina "vista blog" dei contenuti presenti in k2, i testi perdono la formattazione che invece appare quando si accede alla pagina "articolo".

Mi spiego meglio: guardate in questa pagina, nel primo articolo "Acquagym e Fitness" la formattazione del contenuto:
wwwtest.minervaresort.it/golf

Adesso confrontatela con la formattazione del contenuto di questa pagina:
wwwtest.minervaresort.it/acquagym-e-fitness

E' come se avesse perso tutti i vari b, br, p, h1, h2...

Ora premesso che secondo me, la cosa ha un senso logico, in quanto permette di uniformare "graficamente" la pagina BLOG, ma siccome mi si sta chiedendo di intervenire con una modifica, qualcuno saprebbe indicarmi come posso ripristinare la formattazione anche nella vista Blog?

Grazie
Giulio
  • flo
  • flo's Avatar
11 Mar 2013 22:35
Replied by flo on topic K2 homepage missing open graph image

K2 homepage missing open graph image

Category: English K2 Community

update

after few hours of fighting with different variations i think i figured out the problem. my homepage is set to show multiple k2 categories which all have their own pictures. so, my homepage grabs com_k2/views/temlist/view.html.php file which has this og:image set-up:
if ($task == 'category' && $this->category->image && strpos($this->category->image, 'placeholder/category.png') === false) { $image = substr(JURI::root(), 0, -1).str_replace(JURI::root(true), '', $this->category->image); $document->setMetaData('og:image', $image); $document->setMetaData('image', $image); }

As far as i understood, it tries to grab category image. But what happens if there are multiple categories inside? In my case it grabs nothing and when i publish my website link on facebook it gives me no image link.

What i did, as temporary solution, after this i added
$document->setMetaData('og:image', 'http://www.elitetravel.hr/images/images/fb_logo.jpg');

I debugged the links through developers.facebook.com/tools/debug refreshed the page, purged cache and suddenly image is working again. When i post my full website url on facebook it gives me fb_logo.jpg as stated above.

Downside of this is that now all my categories don't show their category image, instead they show this one.

So my code now looks like this
// Set Facebook meta data $document = JFactory::getDocument(); $uri = JURI::getInstance(); $document->setMetaData('og:url', $uri->toString()); $document->setMetaData('og:title', htmlspecialchars($document->getTitle(), ENT_QUOTES, 'UTF-8')); $document->setMetaData('og:type', 'Article'); if ($task == 'category' && $this->category->image && strpos($this->category->image, 'placeholder/category.png') === false) { $image = substr(JURI::root(), 0, -1).str_replace(JURI::root(true), '', $this->category->image); $document->setMetaData('og:image', $image); $document->setMetaData('image', $image); } $document->setMetaData('og:description', htmlspecialchars(strip_tags($document->getDescription()), ENT_QUOTES, 'UTF-8')); $document->setMetaData('og:image', 'http://www.elitetravel.hr/images/images/fb_logo.jpg');

To sum up, good thing i figured out how to revive the link again. Now to figure out how to do this ONLY for homepage.

If you have some time to read this through and help me i would really appreciate it. I will keep this topic alive.

Many thanks
  • Clemens Schnitzler
  • Clemens Schnitzler's Avatar
11 Mar 2013 14:06
Umstellen von Headline was created by Clemens Schnitzler

Umstellen von Headline

Category: Offizielle deutsche Gemeinschaft

Guten Tag,

ich habe eine Joomla 2.5 Installation mit K2. Unter meinen Artikeln wird eine Headline K2_About_Author ausgegeben mit einem Bild und weiteren Infos zu dem Autor.

Wo kann ich diese Headline ändern? Ich habe jetzt hoch und runter gesucht und kann das nicht finden.

Vielleicht bin ich auch Betriebsblind. Es wäre trotzdem nett, wenn mir jemand helfen könnte.

Viele Grüße

Clemens
  • Manuel Kuhs
  • Manuel Kuhs's Avatar
11 Mar 2013 10:55
K2 Related Content module missing was created by Manuel Kuhs

K2 Related Content module missing

Category: English K2 Community

The fantastic and important K2 Related Content module (which allows you to display items related by category/tag in a module) has disappeared in the last 2 weeks.

Anyone know if it is coming back?
  • Sebastian
  • Sebastian's Avatar
08 Mar 2013 14:59
[SOLVED] set Item ID for Tagcloud was created by Sebastian

[SOLVED] set Item ID for Tagcloud

Category: English K2 Community

I've got a K2 TagCloud on my website which is basically a quick search.
I've got the problem that the result page of the tag cloud includes all modules from the starting page of the tagcloud. For core Joomla there is a solution (set Item ID). I miss this functionallity in K2. Can someone tell me how to customize the tagcloud result page or how to set my idem id for k2 tagcloud?
  • Axel
  • Axel's Avatar
07 Mar 2013 18:05 - 07 Mar 2013 18:11

[SOLVED] K2 Tools archive module sort by year than month

Category: English K2 Community

SOLVED (at least for my needs)

Here is a working example of the nested months under years (on the right side under title "ARKIV")

So this is what I came up with as a working solution on this subject (for my current needs).

Thanks to the answer on stackoverflow combined with JQuerry accordion widget I was able to put together the following code

archive.php – Copy (don't move) this file from
SITEROOT/modules/mod_k2_tools/tmpl/
to
SITEROOT/templates/YOURTEMPLATE/html/mod_k2_tools/)

for sake of ease, select all and paste the following
 GANTRY with  LESS CSS and  FontAwesome here, so if your using another base, you'll need to modify the CSS a bit ;)

I would also suggest using the minified version of the JQuerry UI for this. You can download the same settings I used here or just reset and chose the ones you want.

PS. Don't forget to change "YOURTEMPLATE" to your actual template name ;) DS
  • Muzamil Kazmi
  • Muzamil Kazmi's Avatar
07 Mar 2013 16:56
Read More button adds a new paragraph. was created by Muzamil Kazmi

Read More button adds a new paragraph.

Category: English K2 Community

Hello,

When I add an item in K2 category, it adds a <p> tag and a <span> tag when I press Read More button.
As a result on the front end, when I go to Category View, it adds extra space between two items.

How can I remove these rags, while being in the TinyMCE editor view?

Thank you!
  • RomanovVlad
  • RomanovVlad's Avatar
07 Mar 2013 11:53
Fatal error k2.php was created by RomanovVlad

Fatal error k2.php

Category: English K2 Community

Fatal error: Call to a member function get () on a non-object in / home/u352776191/public_html/administrator/components/com_k2/k2.php on line 49
The error occurs when trying to create something tag material.
Version k2 2.6.3, reinstall k2 does not solve the problem
  • tushar marne
  • tushar marne's Avatar
07 Mar 2013 06:48 - 17 Mar 2013 12:38

The links are shown in the admin area but not on t

Category: English K2 Community

I created k2 item containing anchor tag.

The links are shown in the admin area but not on the site view of the site.

Please help me.
  • Axel
  • Axel's Avatar
06 Mar 2013 23:42
Replied by Axel on topic How to add the Author to the Tag Page

How to add the Author to the Tag Page

Category: English K2 Community

THANK YOU! This should be on top of the K2 forum! Or "Andrey Miasoedov" should get a price from K2 for openly publishing a suggestion on how to fix this issue.

The ONE (of a couple of) place(s) (on a site with more than one publisher) where it is imperative that you can display the author it isn't possible by default?!

Don't get me wrong, I love K2 and everything about it (almost, apparently hehe), but this feels more like an oversight :)

Anyway, thank you again for this working solution.

To any K2 dev team member reading this... Please consider adding the option of displaying the author on ANY and ALL possible pages where author and content go hand in hand :) and thank you as well for a superior CMS add on (that should be a part of Joomla core ;))
  • Alfonso F. Moreno
  • Alfonso F. Moreno's Avatar
06 Mar 2013 12:09
Replied by Alfonso F. Moreno on topic Bug in Version 2.6.5 Tag + Cache

Bug in Version 2.6.5 Tag + Cache

Category: English K2 Community

As I said in a previous post i had to re-install K2 2.6.2 in order to use cache and tag views properly.
However, I have found a hack/solution with K2 2.6.2 that let me use anyk2link. This is a new feature implented in k2.6.5 that allows you to create a generic menu to all the categories, tags, autors that don´t have it to avoid duplicate urls. In older version google robot used to found urls like:
  • misite.com/menu1/itemlist/tag/firsttag
  • misite.com/menu2/itemlist/tag/firsttag
  • misite.com/menu3/itemlist/tag/firsttag

This is considered duplicate content by google webmaster tools. Whith anyk2link this disappears because you create a menu linked to no category that works like a generic menu. For example, I have created a menu called "i" and you can see that all tags are misite.com/i/itemlist/tag/firsttag (it's a unique url).

To allow that without install 2.6.5 (because 2.6.5 doesn´t works fine with cache and K2 tags view) I tested to replace /components/com_k2/ helpers/route.php of 2.6.2 version with the one in 2.6.5 and it works!

Maybe this could help someone
  • Andrey Miasoedov
  • Andrey Miasoedov's Avatar
06 Mar 2013 11:10
Replied by Andrey Miasoedov on topic How to display the tags on the tags page

How to display the tags on the tags page

Category: English K2 Community

Hello, Steven.

Unfortunately, it is not possible without K2 core modifications, because item tags block enabled only in specific K2 sections.

You can check it in components\com_k2\models\item.php

Find "//Tags" at line ~106 and condition for generate tags block, you can add " || $task == 'tag'" for enable it at tag page.
  • Andrey Miasoedov
  • Andrey Miasoedov's Avatar
06 Mar 2013 11:05
Replied by Andrey Miasoedov on topic How to display specific extra field in a Tag Page

How to display specific extra field in a Tag Page

Category: English K2 Community

Hello, Steven.

You need to use your extra code not at top of page but after <?php foreach($this->items as $item): ?> code in tag.php template file. And also you need to replace $this->item with $item and use another variable name for extrafield, e.g.:
 
  • Andrey Miasoedov
  • Andrey Miasoedov's Avatar
06 Mar 2013 10:51
Replied by Andrey Miasoedov on topic How to add the Author to the Tag Page

How to add the Author to the Tag Page

Category: English K2 Community

Hello, Steven.

Unfortunately, it is not possible without K2 core modifications, because author block enabled in specific K2 sections.

You can check it in components\com_k2\models\item.php

Find "//Author" at line ~228 and condition for generate author block, you can add " || $task == 'tag'" for enable it at tag page.
  • jeffreyd00
  • jeffreyd00's Avatar
05 Mar 2013 20:17

RSS Feed from Tag generates Internal Server Error

Category: English K2 Community

This feed works fine.
leanweb.org/tag/ealert?format=feed

This one gives me an internal server error.
leanweb.org/tag/riverkeeper?format=feed

If I limit the feed size to 20 both work. If I increase above 65 the first feed fails too.

I need to be able to list a 100 posts on the feed at a time.

I have tried disabling SH404SEF and changing templates but the issue persists so I assume it is a K2 issue.

I am using Joomla 1.5 and K2 2.6.2

Please help!
  • Kolio Kolev
  • Kolio Kolev's Avatar
05 Mar 2013 19:14 - 05 Mar 2013 21:16
Replied by Kolio Kolev on topic Bug in Version 2.6.5 Tag + Cache

Bug in Version 2.6.5 Tag + Cache

Category: English K2 Community

I have the same problem too... ( Installed versions Joomla 2.5.9 + K2 2.6.5)
  • evan.ingram
  • evan.ingram's Avatar
04 Mar 2013 22:33
360 virtual tours was created by evan.ingram

360 virtual tours

Category: English K2 Community

Hi there, here is a site I made featuring K2 and sh404sef.

using K2 content on the frontpage in the way of the latest blog posts and all content is tagged up.

360 virtual tours
  • enadri06
  • enadri06's Avatar
04 Mar 2013 15:56
JSON + tags was created by enadri06

JSON + tags

Category: English K2 Community

Hello,

I seek to recover items starting from a request in JSON :
'/index.php?option=com_k2&view=itemlist&tag=mytag&task=category&id=mycategoryID&format=json'
To fond category, I understood I need using &task=category&id=mycategoryID
but for tag, it didn't filter, I recover every items from mycategory ...
Have you any idea ?

Regards,
  • enadri06
  • enadri06's Avatar
04 Mar 2013 15:41
JSON + tags was created by enadri06

JSON + tags

Category: Communauté française K2

Bonjour à tous,

je cherche à récupérer des items à partir d'une requête en JSON :
'/index.php?option=com_k2&view=itemlist&tag=montag&task=category&id=macategorie&format=json'
Pour trouver la catégorie, j'ai compris qu'il faut utiliser &task=category&id=macategorie
mais pour le tag, il ne discrimine pas, tous les items de la catégorie macategorie sont récupérés..
Avez vous une solution ?

Merci
  • Jan Sorensen
  • Jan Sorensen's Avatar
03 Mar 2013 22:58
Replied by Jan Sorensen on topic [SOLVED] Strange URL Behavior (Latest Joomla and K2)

[SOLVED] Strange URL Behavior (Latest Joomla and K2)

Category: English K2 Community

I found the same type of code added to all my items after installing a code for Share

when I found it I cut the code and the tagline of the url was gone.
Then I of cause added the code again and there it is.

I put the code in the "Parameters / Social (tab)" Social button code

Here is the code i put in:

<!-- AddThis Button BEGIN -->
<a class="addthis_button" href="www.addthis.com/bookmark.php?v=300&pubid=ra-512c876878639e1f">s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-512c876878639e1f"></script>
<!-- AddThis Button END -->
Displaying 3721 - 3740 out of 6582 results.