Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • James Wadsworth
  • James Wadsworth's Avatar
04 Jun 2015 16:04
Replied by James Wadsworth on topic Multiple Extra Field Groups

Multiple Extra Field Groups

Category: English K2 Community

If anyone is interested in testing K2 Multiple Extra Fields we have released a version over at github which can be download. It is base on the 2.7.0 development version.

github.com/jameswadsworth/k2/releases/tag/v0.3-alpha

BEWARE

It is purely for a development/test environment. It will break any other extensions that use K2. For example we had to modify roksprocket to get it working with K2 multiple Extra Fields.

Please add your comments here or over at github.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
04 Jun 2015 14:26
Replied by Krikor Boghossian on topic Frontpage Slideshow

Frontpage Slideshow

Category: English K2 Community

1. I prefer it that way as well.

2. The pause/ Play button is there, it is not available on all templates, but it can be placed in your overrides. Check the TT template. With some customisation (and/or help from us) you can trigger this button on certain occasions. Eg: Stop it when the user hovers over the slideshow.

3. Check the slide's category settings. You will find the option about the "read more" button.

4. If you use a wordlimit (same as K2's introtext) then all HTML tags are stripped.
  • william white
  • william white's Avatar
02 Jun 2015 17:47
Replied by william white on topic [SOLVED] Image alignment

[SOLVED] Image alignment

Category: English K2 Community

adding float:left; to div.itemFullText img in k2.css line200 will bring the text up. You will probably also have to put padding around the image to get what you want.
Best to work in a copy of k2.css located in your templates./css folder or a custom.css in the same folder if your template provides a way for this to load.
This will affect all your images and you will need to do a override for a specific category and add a class to the image tag there if you want it to only affect one category.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
02 Jun 2015 15:58
Replied by Krikor Boghossian on topic [SOLVED] "related by tag" intro text limit?

[SOLVED] "related by tag" intro text limit?

Category: English K2 Community

Hello,

This is the function you need:
<?php echo K2HelperUtilities::wordLimit($item->introtext, 5); ?>
Where 5 is the limit.

The complete code that should replace the default in item.php would be:
<?php if($this->item->params->get('itemRelatedIntrotext')): ?> <div class="itemRelIntrotext"><?php echo $item->introtext; ?></div> <?php endif; ?>

This post will help you locate the files you need to edit getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
  • Pierluigi Bontempi
  • Pierluigi Bontempi's Avatar
01 Jun 2015 10:38
Immagine non visualizzata nell'articolo was created by Pierluigi Bontempi

Immagine non visualizzata nell'articolo

Category: Comunità italiana K2

Ciao a tutti! Ho appena installato K2 2.6.9 su Joomla 3.4.1. Funziona tutto alla perfezione, tranne il fatto che l'immagine che carico per gli articoli non viene visualizzata nella pagina articolo! Compare nell'elenco di categoria, nell'elenco per TAG e in ogni altro posto, ma non nell'articolo. Mi sembra che nei settaggi di K2 sia tutto in ordine.. Qualcuno ha qualche idea a riguardo?!?

Grazie!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 May 2015 14:18
Replied by Krikor Boghossian on topic Duplicate k2 items in K2 tag listings!

Duplicate k2 items in K2 tag listings!

Category: English K2 Community

You need to update to K2 2.6.9
Then you need to disable these extensions one by one to see which is causing this issue.
  • ATHANASIOS ILIOPOULOS
  • ATHANASIOS ILIOPOULOS's Avatar
29 May 2015 14:14
Replied by ATHANASIOS ILIOPOULOS on topic Duplicate k2 items in K2 tag listings!

Duplicate k2 items in K2 tag listings!

Category: English K2 Community

Hello!

a) tag ordering settings: INHERIT FROM CATEGORY OPTIONS
Have selected a single (root, one level) category with parameters:
Catalogue mode: Yes
Item ordering: most recent first (date created)

b) other k2 related extensions:
"MODULE: K2 Filter & Search module",
"PLUGIN - Komento Comments - integrated with k2",
"MODULE: K2 ExtraOrder",
"MODULE: K2 Categories Treeview - Pro",
"MODULE: BT Content Slider",
"PLUGIN - Inceptive Image Gallery for K2",
"PLUGIN - K2 - Additional Categories for K2",
"PLUGIN - jNews K2 Plugin"

but none of them is used on this TAG listing page!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 May 2015 13:45
Replied by Krikor Boghossian on topic Duplicate k2 items in K2 tag listings!

Duplicate k2 items in K2 tag listings!

Category: English K2 Community

What are your tag ordering settings?
Also which other K2 related extensions are you using?
  • ATHANASIOS ILIOPOULOS
  • ATHANASIOS ILIOPOULOS's Avatar
29 May 2015 13:08
Replied by ATHANASIOS ILIOPOULOS on topic Duplicate k2 items in K2 tag listings!

Duplicate k2 items in K2 tag listings!

Category: English K2 Community

I am attaching the code of tag.php (custom template) since i can not attach a file:

<?php /** * @package K2 * @author GavickPro http://gavick.com */ // no direct access defined('_JEXEC') or die; //build rich titles $document = &JFactory::getDocument(); $app = JFactory::getApplication(); $title_str= JText::_('ELLITE_PAGE_PREFIX_TITLE') ." | " . JText::_('VILLA_PAGE_SUFFIX_TITLE'); $document->setTitle($title_str); ?> <div style="font-size:90%; margin-top:5px;"> <?php //echo JText::_('ELLITE_INTRO'); //load intro text for elitecollection $articleId = 35; $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select($db->quoteName(array('introtext'))); $query->from($db->quoteName('#__content')); $query->where($db->quoteName('id') . ' = '. $db->quote($articleId)); $db->setQuery($query); $fullArticle = $db->loadResult(); echo trim($fullArticle); ?> </div> <section id="k2Container" class="genericView<?php if($this->params->get('pageclass_sfx')) echo ' '.$this->params->get('pageclass_sfx'); ?> ellite"> <?php if($this->params->get('show_page_title')): ?> <header> <h1><?php echo $this->escape($this->params->get('page_title')); ?></h1> </header> <?php endif; ?> <?php if(count($this->items)): ?> <section class="itemList"> <?php foreach($this->items as $item): ?> <article class="itemView"> <?php if($item->params->get('tagItemImage',1) && !empty($item->imageGeneric)): ?> <div class="itemImageBlock"> <a class="itemImage" href="<?php echo $item->link; ?>" title="<?php if(!empty($item->image_caption)) echo $item->image_caption; else echo $item->title; ?>"> <img src="<?php echo $item->imageGeneric; ?>" alt="<?php if(!empty($item->image_caption)) echo $item->image_caption; else echo $item->title; ?>" style="width:100%; ?>px; height:auto;" /> </a> </div> <?php endif; ?> <aside> <?php if($item->params->get('tagItemDateCreated',1)): ?> <time datetime="<?php echo JHtml::_('date', $item->created, JText::_(DATE_W3C)); ?>"> echo "<br />"; ?> </time> <?php endif; ?> <?php if($item->params->get('tagItemCategory')): ?> <ul> <!-- print some extra fields --> <?php if($item->params->get('tagItemExtraFields',0) && count($item->extra_fields)): ?> <?php ?> <li class="location"> <?php echo $item->extraFields->location->value . "<br />" . $item->extraFields->area->value; ?> </li> <?php endif; ?> <li class="bedrooms"> <?php echo $item->extraFields->sleeps->value . " sleeps"; echo "<br />" . $item->extraFields->bedrooms->value . " bedrooms"; echo "<br />" . $item->extraFields->outside_water_facilities->value; ?> </li> </ul> <?php endif; ?> </aside> <div class="k2box"> <header> <?php if($item->params->get('tagItemTitle',1)): ?> <h2 class="ellite"> <?php if ($item->params->get('tagItemTitleLinked',1)): ?> <a href="<?php echo $item->link; ?>"> <?php echo $item->title; ?> </a> <?php else: ?> <?php echo $item->title; ?> <?php endif; ?> </h2> <?php endif; ?> </header> <div class="itemBody"> <?php if($item->params->get('tagItemIntroText',1)): ?> <div class="itemIntroText ellite"> <?php $string=""; $length = 400; //modify for desired width $string = preg_replace('/\s+?(\S+)?$/', '', substr($item->introtext, 0, $length)); echo $string; ?> </div> <?php endif; ?> <?php if ($item->params->get('tagItemReadMore')): ?> <a class="itemReadMore button" href="<?php echo $item->link; ?>"> <?php echo JText::_('K2_READ_MORE'); ?> </a> <?php endif; ?> </div> </div> </article> <?php endforeach; ?> </section> <?php if($this->params->get('tagFeedIcon',1)): ?> <a class="k2FeedIcon" href="<?php echo $this->feed; ?>"><?php echo JText::_('K2_SUBSCRIBE_TO_THIS_RSS_FEED'); ?></a> <?php endif; ?> <?php if($this->pagination->getPagesLinks()): ?> <?php echo str_replace('</ul>', '<li class="counter">'.$this->pagination->getPagesCounter().'</li></ul>', $this->pagination->getPagesLinks()); ?> <?php endif; ?> <?php endif; ?> </section>
  • ATHANASIOS ILIOPOULOS
  • ATHANASIOS ILIOPOULOS's Avatar
29 May 2015 13:04
Duplicate k2 items in K2 tag listings! was created by ATHANASIOS ILIOPOULOS

Duplicate k2 items in K2 tag listings!

Category: English K2 Community

Hello to the Forum!

Got a strange behavior in one of my TAG listing custom templates (attached) ...

Check here:

www.greekvillas4rent.com/elite-collection-en

on the bottom of the first page, there is the item: Villa Elea III

on the second page:

www.greekvillas4rent.com/elite-collection-en?start=12

it appears again!
  • Joe Campbell
  • Joe Campbell's Avatar
28 May 2015 14:39 - 28 May 2015 14:39
K2 Power Tip: Using PHP in Extra Fields was created by Joe Campbell

K2 Power Tip: Using PHP in Extra Fields

Category: English K2 Community

If you're anything like me, you're using to leverage its Extra Fields. But the are you using K2's Extra Fields to the fullest (using it to render all images, meta data, etc.) If so, or if you intent to, then you need to know this trick...

Thank's to NoNumber Sourcerer, you can utilize PHP in your extra fields. It's simple, just wrap your PHP code with it's tag, like this...

{source 0}<?php echo '<p>Joomla, K2 & NoNumber Rocks!!!</p>'; ?>{/source}

The uses are limitless, for me, I am using it to generate random content bases on extra fields.

Here's the link to NoNumber Sourcerer
bit.ly/1FPPRf8

Here's my post on how to randomize extra field content
bit.ly/1FPPQYA
  • Richard Renz
  • Richard Renz's Avatar
28 May 2015 09:54
Replied by Richard Renz on topic K2 Items view in FrontPage shifts Template Layout

K2 Items view in FrontPage shifts Template Layout

Category: English K2 Community

Hello
I have my request provided the Forum of JoomlaShine because where the Templete ago. There I got the following response, which must it be because of the articles.


As I checked I don't see problem in your site but I can guess maybe in your k2 article, maybe the html code have more than one <div> tag so it break the html layout .


Where can I find in the article views the faulty DIV here?

Thanks in advance!
  • Michael Yaeger
  • Michael Yaeger's Avatar
27 May 2015 01:19
Replied by Michael Yaeger on topic [SOLVED] Limit of Tags in K2 Admin Filter

[SOLVED] Limit of Tags in K2 Admin Filter

Category: English K2 Community

Lefteris wrote: Hi,

Can you apply this github.com/joomlaworks/k2/commit/5e114d47889b02ccf9737111a8d386e82550c23c and verify that works as expected?


Yes, this seems to fix the issue. I, now, have 1616 tags showing in the Item dropdown filter for tags. ;-)
  • william white
  • william white's Avatar
25 May 2015 14:38
Replied by william white on topic Very overwhelmed by using Joomla

Very overwhelmed by using Joomla

Category: English K2 Community

I ran into a problem like this the other day when doing an override for a k2 category.

@Krikor, please correct me if i am wrong.

When k2 resizes the images they will all be the same width, and doing the resize and constraining the proportions they will turn out with different heigths unless you size them all the same before uploading them.

I have use a css height tag in the wrapper around the image to make the all the same, making it taller than any of the images would end up. I did this to keep the extra fields from wrapping under the image (if the images were too short) when placing the extra fields on the left and floating the images to the right.
  • Lefteris
  • Lefteris's Avatar
25 May 2015 13:13
  • Michael Yaeger
  • Michael Yaeger's Avatar
23 May 2015 01:38
Replied by Michael Yaeger on topic [SOLVED] Limit of Tags in K2 Admin Filter

[SOLVED] Limit of Tags in K2 Admin Filter

Category: English K2 Community

Is there a way to remove this 1,000 tag limit in the dropdown?
  • Joe Campbell
  • Joe Campbell's Avatar
22 May 2015 16:42
Replied by Joe Campbell on topic [SOLVED] Tag View or Multicategory Extension

[SOLVED] Tag View or Multicategory Extension

Category: English K2 Community

Hello qguitare,

If you decide to use Multiple Categories as a solution, I would recommend the following extension:
extensions.joomla.org/profile/extension/extension-specific/k2-extensions/additional-categories-for-k2

It works well, but best of all, it does not create duplicate content. It merely shows the item in each additional category. When the item is clicked, you are then taken to the item (in the primary category). This way there is never an issue with duplicate content because each full item is only viewable from it's primary category.

So for example, if you categorized "item-1" in "category-1" but then additionally placed it in "category-2" and "category-3", the item would be visible from all three categories, but when click whether from the category-1, category-2 or category-3 list view the item will resolve as /category-1/item-1

I hope this helps,

Joe Campbell
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 May 2015 16:37 - 22 May 2015 16:39
Replied by Krikor Boghossian on topic [SOLVED] Content Type If Statements

[SOLVED] Content Type If Statements

Category: English K2 Community

Ok.

It is not that simple you have to do
IF it is K2 AND the task is a category (or view is an item).

You need this little helper.
$option = JRequest::getCmd('option'); $view = JRequest::getCmd('view'); $layout = JRequest::getCmd('layout'); $page = JRequest::getCmd('page'); $task = JRequest::getCmd('task'); $id = JRequest::getInt('id'); $itemid = JRequest::getInt('Itemid'); $tmpl = JRequest::getCmd('tmpl'); If($option == 'com_k2' && $view == 'item' ) { } If($option == 'com_k2' && $task == 'category' ) { } If($option == 'com_k2' && ( $task == 'category' || $task == 'tag' )) { }

With this helper you can create your own conditional tags based on the menu item, the item's id etc...
  • Joe Campbell
  • Joe Campbell's Avatar
22 May 2015 16:29
Replied by Joe Campbell on topic [SOLVED] Content Type If Statements

[SOLVED] Content Type If Statements

Category: English K2 Community

For example if you have a K2 Content Module that is visible for all K2 content views (item, category, tag, user)

But you want to show specific content based on the current view, for example:

<if view = category>
hello I'm a category
<end if>

<if view = item>
hello I'm a item
<end if>

<if view = category or tag>
hello I'm either a category or tag :)
<end if>
  • Richard Renz
  • Richard Renz's Avatar
22 May 2015 16:23

K2 Artikelansicht in Frontpage verschiebt Template Layout

Category: Offizielle deutsche Gemeinschaft

Hallo zusammen.

Ich habe seit ein paar Tagen folgendes Problem.

Auf unserer Homepage werden auf der Startseite die Artikel mehrerer Kategorien in der Übersicht angezeigt. Hier ist auch noch alles in Ordnung. Wenn man nun einen Artikel öffnet, um die Artikelansicht zu erhalten, dann wird die rechte und die linke Spalte des Templates unter den Artikel verschoben, und nur noch die mittlere Spalte ist da wo sie hin gehört.

Das komische daran ist, das es nur auf der Startseite so ist. Wenn man andere Artikeldarstellungen über das Hauptmenü, z.B. Jugendfeuerwehr, anwählt, dann sind die Spalten links und rechts gleichauf mit der mittleren Spalte.

Unsere Seite: www.feuerwehr-moosburg.de

Das Problem ist seit ein paar Tagen. Es wurde nichts neues installiert. Nur ein paar neue Artikel geschrieben.

Kann mir hier jemand weiterhelfen ? Wäre prima!

Danke im voraus!
Displaying 1861 - 1880 out of 6582 results.

Powered by Kunena Forum