Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • erkan ozlu
  • erkan ozlu's Avatar
23 Mar 2016 17:38
Replied by erkan ozlu on topic K2 Tag Problem

K2 Tag Problem

Category: English K2 Community

Thank you!
Then i should look for a SEO component, right? :(
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
23 Mar 2016 12:41
Replied by Krikor Boghossian on topic K2 Tag Problem

K2 Tag Problem

Category: English K2 Community

Hello,

Please look at this: github.com/getk2/k2/issues/71
  • erkan ozlu
  • erkan ozlu's Avatar
22 Mar 2016 18:30
Replied by erkan ozlu on topic K2 Tag Problem

K2 Tag Problem

Category: English K2 Community

Thanks for the reply!

3oda1salon.demowebsitesi.com/oteller/sri-lanka-nin-huzurlu-tatil-evi
You can check the tag "göl manzaralı projeler"

Regards,
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Mar 2016 18:27
Replied by Krikor Boghossian on topic K2 Tag Problem

K2 Tag Problem

Category: English K2 Community

Can you share an example of urls that is being generated?
  • erkan ozlu
  • erkan ozlu's Avatar
22 Mar 2016 17:33
K2 Tag Problem was created by erkan ozlu

K2 Tag Problem

Category: English K2 Community

Hi,

I'm having the same problem at www.joomlaworks.net/forum/k2-en/44925-k2-tags-generate-wrong-urls#151593
I can't post a reply there so thats why i posted this new topic.

Could you please let me know how you solved the problem?

Regards,
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Mar 2016 13:25
Replied by Krikor Boghossian on topic k2 category view problem

k2 category view problem

Category: English K2 Community

The "Βασιλόπιτα" is producing this issue.
In order to get rid of this issue you should use a word limit which strips all of the HTML tags.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 Mar 2016 16:22
Replied by Krikor Boghossian on topic K2 items

K2 items

Category: English K2 Community

This will lead to 404 errors but you are really cloe.
Simply remove the <a tags> altogether.

Remember to use overrides so you won't lose your edits when you update getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 Mar 2016 15:36
Replied by Krikor Boghossian on topic k2 category view problem

k2 category view problem

Category: English K2 Community

Hello,

It looks like some HTML tags are unclosed, without a link however it is impossible to tell.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 Mar 2016 14:46
Replied by Krikor Boghossian on topic Stop K2 image resizing

Stop K2 image resizing

Category: English K2 Community

Not really,

It will show you the generic image, the one used in date/ search/ tag results.
If you want to show the original image something like this will do the trick
echo JURI::base(true).'/media/k2/items/src/'.md5("Image".$item->id).'.jpg';
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 Mar 2016 14:17
Replied by Krikor Boghossian on topic Inceptive Multiple Categories problem with K2 2.7.0

Inceptive Multiple Categories problem with K2 2.7.0

Category: English K2 Community

Although we have decided against it, you are free to propose it as a K2 extension/ extrafield in the v3's repo.
github.com/getk2/k2-v3-dev-build

PS. I never user multi-categorisation in WP. It messes up canonical tags and can possibly lead to double content.
Adding custom taxonomies might be a useful enhancement request.
This might also be an interesting read for you: github.com/getk2/k2-v3-dev-build/issues/286
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
18 Mar 2016 14:03
  • Lefteris
  • Lefteris's Avatar
16 Mar 2016 14:45
Replied by Lefteris on topic Image rotation

Image rotation

Category: English K2 Community

@Victoria

K2 does not change the orientation of the image you upload. The generated images are also using the same orientation as the original image. This means that the images you upload are already marked with the wrong orientation. You can verify this by viewing the original image: staging1.leisureclique.com/media/k2/items/src/2a14beb1aee2d71c6fecb12f25c690f7.jpg . As you can see the browser renders it in landscape which means that the metadata of this image indicates that it is a landscape image.

To summarize, you need to ensure that your images are set in the correct orientation before uploading them in K2.
  • aris T
  • aris T's Avatar
12 Mar 2016 12:36 - 12 Mar 2016 12:41
Corner Ribbon on K2 image was created by aris T

Corner Ribbon on K2 image

Category: English K2 Community

Hi all,
Does anyone have any idea how to apply a corner ribbon on a K2 image, depending either on an extra field or a tag?
I want to show a SOLD ribbon on every K2 article if i have an extra text field sold or a tag: sold.

Thanks
  • Tancredi
  • Tancredi's Avatar
11 Mar 2016 16:44
Replied by Tancredi on topic issue with read more

issue with read more

Category: English K2 Community

Krikor wrote: Double check to see if there are unclosed html tags in your introtext.
If that is not the case, then you need to address this issue to the template's developer.


I did that already and they have not been able to help in three weeks now, can you please let me know why if I remove all the read more code I still get the button popping up in front end? does this sound like K2 issue? cause it does to me.
  • Gisen
  • Gisen's Avatar
10 Mar 2016 14:44

Overwrite tag.php in my template folder

Category: English K2 Community

Hi, I just wanted to ask how to overwrite tag.php in my template folder, for some strange reason I am not able to owerite it like item.php, catgegri.php...

I am keep getting layout from components > com_k2 > templates > defaults. Is it because I have to copy, generic.php to my template folder?

Thanks
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
09 Mar 2016 12:10
Replied by Krikor Boghossian on topic Delete Text "Children catagories"

Delete Text "Children catagories"

Category: English K2 Community

Hello,

You need to override the category.php file
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

Then remove this line of code:
<h3><?php echo JText::_('K2_CHILDREN_CATEGORIES'); ?></h3>
  • greg
  • greg's Avatar
09 Mar 2016 01:18
translated tags error 404 was created by greg

translated tags error 404

Category: English K2 Community

I created an english translation of my greek website with jDiction and although all K2 items, categories and greek tags in both languages seem allright, the tags' links translated in english show 404 error page.
Is it a K2 problem or a jDiction translator one?
www.pametaxidaki.gr/index.php/en/travel-with-us/in-greece
  • Luke
  • Luke's Avatar
08 Mar 2016 17:56 - 08 Mar 2016 18:05

Section 508 Compliance Labels for Select Menu

Category: English K2 Community

Hello,

I am relatively new to Joomla so this may be a silly question. I am set to keep this website goodwillmidmichigan.org/ compliant with Section 508, using a compliance checking tool it flags the Select Box (Resource Guides) as missing labels on the home which violates Section 508 compliance standards. The question is, how exactly do I change the code in order to add labels to this section?

I think it has to do with this file public_html/templates/goodwillmidmichigan/html/mod_k2_tools/helper.php but anything I do in this file does not reflect on the site itself. I have confirmed that the changes are indeed being made and saved. I am just misunderstanding what needs to be done to edit the way this is to work.

Any advice would be awesome!

The code in helper.php that leads me to believe this is what needs to be edited is as follows:
public static function treeselectbox(&$params, $id = 0, $level = 0) { $mainframe = JFactory::getApplication(); $root_id = (int)$params->get('root_id2'); $option = JRequest::getCmd('option'); $view = JRequest::getCmd('view'); $category = JRequest::getInt('id'); $id = (int)$id; $user = JFactory::getUser(); $aid = (int)$user->get('aid'); $db = JFactory::getDBO(); if (($root_id != 0) && ($level == 0)) { $query = "SELECT * FROM #__k2_categories WHERE parent={$root_id} AND published=1 AND trash=0 "; } else { $query = "SELECT * FROM #__k2_categories WHERE parent={$id} AND published=1 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}"; } $query .= " ORDER BY ordering"; $db->setQuery($query); $rows = $db->loadObjectList(); if ($db->getErrorNum()) { echo $db->stderr(); return false; } if ($level == 0) { echo ' <div class="k2CategorySelectBlock '.$params->get('moduleclass_sfx').'"> <form action="'.JRoute::_('index.php').'" method="get"> <label for="category" style="font-weight:bold;font-size:12pt">Resource Guides</label></br> <!-- 12-24-2014 JMEInc, MJM, added for Sec508 compliance --> <select name="category" id="category" onchange="window.location=this.form.category.value;"> <option value="'.JURI::base(true).'/">'.JText::_('K2_SELECT_CATEGORY').'</option> '; } $indent = ""; for ($i = 0; $i < $level; $i++) { $indent .= '&ndash; '; } foreach ($rows as $row) { if (($option == 'com_k2') && ($category == $row->id)) { $selected = ' selected="selected"'; } else { $selected = ''; } if (modK2ToolsHelper::hasChildren($row->id)) { echo '<option value="'.urldecode(JRoute::_(K2HelperRoute::getCategoryRoute($row->id.':'.urlencode($row->alias)))).'"'.$selected.'>'.$indent.$row->name.'</option>'; modK2ToolsHelper::treeselectbox($params, $row->id, $level + 1); } else { echo '<option value="'.urldecode(JRoute::_(K2HelperRoute::getCategoryRoute($row->id.':'.urlencode($row->alias)))).'"'.$selected.'>'.$indent.$row->name.'</option>'; } } if ($level == 0) { echo ' </select> <input name="option" value="com_k2" type="hidden" /> <input name="test" value="test" type="test" /> <input name="view" value="itemlist" type="hidden" /> <input name="task" value="category" type="hidden" /> <input name="Itemid" value="'.JRequest::getInt('Itemid').'" type="hidden" />'; // For Joom!Fish compatibility if (JRequest::getCmd('lang')) { echo '<input name="lang" value="'.JRequest::getCmd('lang').'" type="hidden" />'; } echo ' </form> </div> '; } }
  • Spyros Jonas
  • Spyros Jonas's Avatar
08 Mar 2016 16:25
meta description not working was created by Spyros Jonas

meta description not working

Category: English K2 Community

We have noticed that setting the meta description text for articles do not appear in the meta name="description" it continues to take the first 160 characters of the article. We have tried the work with the
if ($mainframe->getCfg('MetaDescription') == '1' && isset($item->description->name))
{
$introDescr = trim($item->description->name);

// $document->setMetadata('description', $item->description->name);
$document->setMetadata('description', htmlspecialchars(strip_tags($introDescr),ENT_QUOTES,'UTF-8'));

}

In the components/com_k2/views/item/view.html.php but it seems that item is not implemented. How can we set the item.
Any suggestion is welcomed.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
08 Mar 2016 12:34
Replied by Krikor Boghossian on topic tag.php introtext limit shows code

tag.php introtext limit shows code

Category: English K2 Community

You need something like this:
echo K2HelperUtilities::wordLimit(YOUR_NEW_VARIABLE_HeRE, 50);
Displaying 1381 - 1400 out of 6582 results.

Powered by Kunena Forum