Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Quincy
  • Quincy's Avatar
02 Jun 2010 03:45
K2 Content throwing Error was created by Quincy

K2 Content throwing Error

Category: English K2 Community

Hi, has anyone come across this module throwing an error on the hompeage? When i assign this module to a position for all pages, it shows the items from the specified categories in teh user position on my subsequent pages but for some reason, on the Home page it throws this error:

Fatal error: Call to a member function get() on a non-object in /home5/restlet1/public_html/xxxxx/staging/plugins/content/jcomments.content.php on line 323

I have looked at the code but its all confusing to me, anyone seen this before? Whatever help you can offer will be appreciated, i am very frustrated about this as it holds the key to my Homepage NEWS + Blog display

Thanks

Quincy
  • Daniel Arnolf
  • Daniel Arnolf's Avatar
01 Jun 2010 18:32
Replied by Daniel Arnolf on topic Extra fields in search results

Extra fields in search results

Category: English K2 Community

As far as I understand, you can't search through extra fields.
Something came up, check this module: labs.smartwebstudio.com/ , it does the job but it is a separated search module, just to search a single category, child categories, a chosen extra field etc, it even have other options like select box to filter by a determined item into a drop down extra field, which will avoid tags for filtering results.
You can use various instances of the module in same page to search and select by different criteria.
It outputs the filtered result through generic.php, which is a drawback since you can only override once, and affect the output of tags and author at the same time. I'm waiting for an answer from the developer to see if is possible to get the results assigned to a custom template override, and avoid changing the generic.php.
Another thing to notice, is that to get it to work, you may have to do a few slight changes to the K2 core files, the author provides the needed override, as well as the backup to restore the original core files.
Hope it helps.
  • Jay Jones
  • Jay Jones's Avatar
31 May 2010 14:30
Replied by Jay Jones on topic To use K2 or not to use?

To use K2 or not to use?

Category: English K2 Community

Thanks William. I had desided to just use the joomla article. It is faster for just an static page. But if I was to use K2 how do I not have the Catagory show up if I was to do a mod that shows the different catagories? I would want the static one to show up.

William White said:Assuming you have K2 installed, you can do either.Use a joomla article or use a k2 item depending on what you want to show in the static page and if you need the extras that a k2 item will display. If all you want is text, it would be quicker to point to a regular joomla article and you wont have to turn everything you dont want to show off. If you dont change the article or item it wont change in either case
  • B_Dark
  • B_Dark's Avatar
30 May 2010 03:16

Problems/Questons With The K2 Tag Manage/System

Category: English K2 Community

yes

Simon Wells (K2 Support) said:I just created a new tag called "forum support" and "forum-support" as seen in the first item at simon.getk2.org/blog
The "-" is stripped out, is that what you mean?

Simon
K2 Support
  • Francis Darren
  • Francis Darren's Avatar
29 May 2010 05:01
Replied by Francis Darren on topic SEO for K2

SEO for K2

Category: English K2 Community

Yes, I'm thinking of trying it out. I was waiting for an answer before doing so. I've been reading a bit about SEO but I'm not an expert. I came across an article from google stating that using sef plugins may make it harder for the crawlers to work. I'm slightly confused over that.

Anyway, I would like to have some control over my URL just in case I use a different platform some day. Also I do not understand why mod_k2_content is producing a different URL in comparison to those from the menu item even though they are both extracting from the same category. I've noticed that this problem only happens when the category you are extracting information from is a sub category.

Regarding support, I know they are busy. However, some form of support is expected even though its free. It's really frustrating trying to get something to work and being unable to find information to solve my issues. I think good support is needed for any software to succeed, especially at its early stages.

Jon said:hey dude - the support aint great - cant blame the developers though - it is a free product and they are no doubt busy with the next version - however you would expect fellow users to offer a bit more assistance now and then.
I'm afraid I haven't got an answer to your question, however have you considered using sh404SEF - a few niggles.. but on the whole does a good job
  • mauro calvo
  • mauro calvo's Avatar
28 May 2010 10:55
K2 search configuration help was created by mauro calvo

K2 search configuration help

Category: English K2 Community

I need to search words in title and tags only, how to do this?Thanks
  • klaas Venekamp
  • klaas Venekamp's Avatar
27 May 2010 23:59
Menu management in K2 was created by klaas Venekamp

Menu management in K2

Category: English K2 Community

Hello
I am new to Joomla and K2.
I followed the guidelines to start my first website.
But How do I create menu's. 
I donot see any button or Tag in K2 dashboard.

Thanks in advance'

Klaas
  • Simon Wells
  • Simon Wells's Avatar
27 May 2010 16:09
Replied by Simon Wells on topic Problems/Questons With The K2 Tag Manage/System

Problems/Questons With The K2 Tag Manage/System

Category: English K2 Community

I just created a new tag called "forum support" and "forum-support" as seen in the first item at simon.getk2.org/blog

The "-" is stripped out, is that what you mean?

Simon
K2 Support
  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
27 May 2010 14:28
Replied by Kannan Naidu Venugopal on topic How to change the layout for tags listing

How to change the layout for tags listing

Category: English K2 Community

Thank you very much Simon, it works like a charm now. Just did a small tweak in generic.php.

Simon Wells (K2 Support) said:Did you copy the generic.php? Take a look at my guide here.

You can then change the layout from within the generic.php.
Please note, that as this is outside of the individual k2 templates and can only be modified to over ride the default. It can not be used as a per k2 template variation.
The site will use either the default in components/com_k2 etc or your over ride file in your joomla template.

Hope that helps.

Simon
K2 Support
  • Simon Wells
  • Simon Wells's Avatar
27 May 2010 14:19
Replied by Simon Wells on topic How to change the layout for tags listing

How to change the layout for tags listing

Category: English K2 Community

Did you copy the generic.php?
Take a look at my guide here.

You can then change the layout from within the generic.php.
Please note, that as this is outside of the individual k2 templates and can only be modified to over ride the default. It can not be used as a per k2 template variation.
The site will use either the default in components/com_k2 etc or your over ride file in your joomla template.

Hope that helps.

Simon
K2 Support
  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
27 May 2010 14:09
How to change the layout for tags listing was created by Kannan Naidu Venugopal

How to change the layout for tags listing

Category: English K2 Community

Hi,I am using the MVC where i copied the com_k2/template to my default Joomla template folder, i got everything to display differently for each category.My question is, how do i do the layout editing for the tags listing page. Eg: From the item page, they click on any of the tags and there's a page listing all post tagged under that particular tag. i want to change the layout for that.Any idea ? Thanks
  • Case Noland
  • Case Noland's Avatar
27 May 2010 06:17
Replied by Case Noland on topic Adding category name to 'Related tags' on item page

Adding category name to 'Related tags' on item page

Category: English K2 Community

Found what I thought (if anything) would be what I was looking for within:

/modules/mod_k2_content_tag/tmpl/default/default.php

Around line 117 it is doing exactly what I want to do, namely calling and linking to the category of a tag.
I used the same "$item->categoryname" but it still IS NOT WORKING??

Confused and appreciate the help.
Case
  • Case Noland
  • Case Noland's Avatar
27 May 2010 05:45
Replied by Case Noland on topic Adding category name to 'Related tags' on item page

Adding category name to 'Related tags' on item page

Category: English K2 Community

After looking deeper into the "jos_k2_items" table in the DB it just doesn't look like there is a text field for category name. The closest there is category ID (catid). How else would you recommend I retreive the category name?

will pull the current category name, but I want the category name for the corresponding tag being pulled, and doesn't work.
  • Nathan Brown
  • Nathan Brown's Avatar
27 May 2010 02:53
Replied by Nathan Brown on topic Extra fields + joomfish = translation doesn't appear

Extra fields + joomfish = translation doesn't appear

Category: English K2 Community

Hey guys, this is a core hack, but it seems to work to show extra field data :P
(note, it doesn't translate the field names, only the data - but it should be a good starting point for anyone trying to do this)


I'm not a PHP guy, and this is my first real hack out of desperate need, so please use with caution (and post improvements please!) It seems like a relatively simple thing and I'm quite shocked that none of the 'Pro' PHP guys here have helped with this. I hope it helps someone.

You need to replace some code in the file:

components/k2_com/models/item.php

replace the first function "getData() {...}" with

function getData() {

$id = JRequest::getInt('id');
$db = & JFactory::getDBO();
$query = "SELECT * FROM #__k2_items WHERE id={$id}";
$db->setQuery($query, 0, 1);
$row = $db->loadObject();
//Joomfish Hack to set correct language extra fields
$this->setJoomFishExtraFieldData($row);
return $row;
}
//Checks language and replaces extra fields with correct language data from joomfish
function setJoomFishExtraFieldData($row){
$id = JRequest::getInt('id');
jimport('joomla.filesystem.file');
$db = &JFactory::getDBO();
$language = &JFactory::getLanguage();
$defaultLang = $language->getDefault();
$currentLang = $language->getTag();

if (JFolder::exists(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_joomfish') && $currentLang != $defaultLang) {

$query = "SELECT id FROM #__languages WHERE code='{$currentLang}' ";
$db->setQuery($query, 0, 1);
$langdata = $db->loadObject();
$langcode = $langdata->id;

$query = "SELECT value FROM #__jf_content WHERE reference_id={$id} AND language_id={$langcode} AND reference_field='extra_fields' ";
$db->setQuery($query, 0, 1);
$jfdata = $db->loadObject();

if (count($jfdata)) {
$row->extra_fields = $jfdata->value;
}
}
}
  • B_Dark
  • B_Dark's Avatar
27 May 2010 02:28

Problems/Questons With The K2 Tag Manage/System

Category: English K2 Community

I've seen on K2 that when you create a tag with more then one word there is no "-" between the gaps of the words.Why is this happening?+
Why in tag cloud or in someone item give me the same tags like this:

www.mywebsite.com/component/k2/itemlist/tag/tag1.html
or
wwww.mywebsite.com/news/music/itemlist/tag/tag1.html
or
www.mywebsite.com/news/cinema/itemlist/tag/tag1.html

and make so many links(for deferent categories) for the same tag??!?

why they don't have same general path for all, something like this:
www.mywebsite.com/tag/tag1.html?!?!
  • Mauricio González
  • Mauricio González's Avatar
27 May 2010 00:33
Replied by Mauricio González on topic AYUDA con internet explorer y K2

AYUDA con internet explorer y K2

Category: English K2 Community

cuando le corri el debuger en internet explorer, noté que al final de las tags de html aparecen un monton de etiquetas de div, que aparentemente tienen que ver con Roksearch.

Tratá de desactivar roksearch y mira si aparece.
Revisá el artículo, talvez erroneamente metiste codigo.
Revisá tu template, en item.php.
Reinstalá roksearch.

Tratá de analizar que archivo está generando este código, y así encontrarás el error.

Saludos, y de nada :D, contame como te va con esto.
  • kabeza
  • kabeza's Avatar
26 May 2010 17:08

Question about old joomla articles and importing

Category: English K2 Community

HiI've not installed K2 yet in my site, but I've been reading some docs and guides.I'm wondering if K2 deletes old joomla articles after importing them into K2?Also, the site has 10+ sections/categories with content already created. This content has articles which already have the read more tag inserted. Will this be recognized in K2 or should I re-edit each article?Thanks a lot in advance,
  • Mark Canham
  • Mark Canham's Avatar
26 May 2010 01:21
Replied by Mark Canham on topic Bug in the search plugin

Bug in the search plugin

Category: English K2 Community

Hi, I've found this thread trying to find a solution to an error I am receiving when I set "Enable search in tags" to yes, and search using the joomla mod_search. When I do this I receive the following error:

"Warning: Invalid argument supplied for foreach() in /plugins/search/k2.php on line 142"

Another thread points to this one, but as far as I can tell my issue is not resolved in this thread.

I've setup a test site with the latest 2.3svn to see if the issue is resolved there, but rather than being fixed the functionality to search tags seems to have been removed. The option to Enable search in tags has gone from the k2 search plugin configuration, and I cannot get it to pick up tags in a search result.

Does anyone know if there is a fix for this issue in 2.2, and whether or not the search by tag function is going to be included in 2.3?

Thanks.
  • Renea
  • Renea's Avatar
25 May 2010 22:50

Mobile templates and inline styling issue

Category: English K2 Community

First, awesome product!I am trying to make MobileJoomla play nicely with K2 and have run into my first display issue. Not sure how to tackle this.When you display subcategories on main category pages, the width of the DIV tag for subCategoryContainer is computed and added to the DIV tag via an inline style.components/com_k2/templates/default/category.php
<div class="subCategoryContainer" style="width:<?php echo number_format(100/$this->params->get('subCatColumns'), 1); ?>%;">
I need to override the style="width" for the class subCategoryContainer in my mobile template but I can not, since the style is inline.I was thinking about removing the style declaration all together from category.php and defining a width=20% in my template css (since all my subcategory listings are always 5 columns on every page).Anyone have a better idea?
Displaying 5941 - 5960 out of 6582 results.

Powered by Kunena Forum