Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Singh Rajesh Ram
  • Singh Rajesh Ram's Avatar
09 Jun 2011 13:01
Replied by Singh Rajesh Ram on topic Sort, group and search by extra fields

Sort, group and search by extra fields

Category: English K2 Community

Hmmm...   Ive spent quite ab it of time trying to learn how k2 works.. and at first site it looks good....

 

I've tried CCK extensions like Fabrik and Jseblod  

I'm slightly dissapointed about k2's sorting option... It looked good at first, but just to give you an example of what troubles i have been facing... k2 recently came out with Kmart and it has Kstore...

These are based on k2 items and categories.... I thought wow cool... it should be better than Virtuemart....

 

Using Virtuemart, you can create menus and specify which categories of products to show. All of this listing has a small filter feature at the top that allows user to sort by date, product etc.

After setting up k2, kmart, kstore and figuring out the layout. I had this feature request from my client which is a MUST is the user should be able to sort by certain fields....Because of this now i am stuck.     I'm back to the drawing board. Might as well i just use Virtuemart right?  k2 has to have some advantages for us to use it otherwise it seems too much of a hassle to integrate with virtuemart, caue in the end the result does not have certain "must haves"Creating Menus..> When i create a menu item..   normally i can choose Articles and sort them by anyway i want with the parameter options (By date, order, alphabetical, etc)For k2, if i choose a k2 item, there is no option there for me to set the sorting. Even with jseblod manage to come up with a directory system with very nice sorting. Isnt that the point of using a system like k2?
  • Andrea Vigato
  • Andrea Vigato's Avatar
08 Jun 2011 18:45
Replied by Andrea Vigato on topic in k2 manca la finestra editor per introtext

in k2 manca la finestra editor per introtext

Category: English K2 Community

dalle preferenze hai un blocco di PARAMETRI AVANZATI, il primo è: utilizzare una finestra editor per introtext & fulltext, se lasci no ne usa due separate...


chatst said:

Quindi è solo una questione di settaggio del componente!

Ho provato a smanettarci un poco con l'ausilio del box che limita le parole funziona!... ma quello che proprio non mi viene e riuscire a fagli scegliere i due testi separati... 

 

grazie!

 

 
  • carlo testa
  • carlo testa's Avatar
08 Jun 2011 18:31
Replied by carlo testa on topic in k2 manca la finestra editor per introtext

in k2 manca la finestra editor per introtext

Category: English K2 Community

Quindi è solo una questione di settaggio del componente!

Ho provato a smanettarci un poco con l'ausilio del box che limita le parole funziona!... ma quello che proprio non mi viene e riuscire a fagli scegliere i due testi separati... 

 

grazie!

 

 
  • Sotrek
  • Sotrek's Avatar
08 Jun 2011 10:12

Problem with K2 and Image Gallery Pro - No thumbnails

Category: Simple Image Gallery PRO

I had this problem and was getting pretty frustrated as well.  I found a thread on another site that fixed the issue for me.

community.getk2.org/forum/topics/solved-gallery-images-upload

I see this post, but don't work in my case.

Can someone help me, i upload zip file, but no thumbnails appear in backend and frontend, just h3 tag "Image Gallery".

I use SIG-pro 2.0.5 , K2 2.4.1 and Joomla 1.5.23

any idea?
  • Simon Olsen
  • Simon Olsen's Avatar
08 Jun 2011 03:23
Replied by Simon Olsen on topic K2 and Joomla 1.6 -

K2 and Joomla 1.6 -

Category: English K2 Community

One last thing, Yamin. Are you using Joomla 1.6 with K2, or J1.5? I'd suggest sticking with J1.5 at this stage. J1.6 is good, and will get a lot better, but a lot of other components are still in development or beta stage, and they might not function properly, or not even be available for J1.6.
  • Paul Le Fevre
  • Paul Le Fevre's Avatar
07 Jun 2011 16:45
Group by brand was created by Paul Le Fevre

Group by brand

Category: English K2 Community

Hi there, I am having a lot of fun working with K2 on a small product catalog I am building. I have a layout on the home page that I want to achieve and need a little help. I have attached an image showing the result I'd like.

I currently have items being listed across multiple categories on the home page in 4 columns. This part is working well but rather than just have them loose (from different brands) I'd like to have them 'grouped' together by brand ie. have a Brand heading, then the items from that brand listed underneath, then the next brand heading and so on.

Currently I have created extra fields including 'Manufacturer' (brand). I have also used the brand in a tag for each item but even though these can isolate items on a page, they can't group items from multiple brands on the one page.

I did see a suggestion to use the Author as the brand but I couldn't see how this would be an elegant solution.

I am building this for a friend who has a bike shop and is not terribly good with computers so I want to be able to set up this catalog for him to manage easily from the front-end.

I will need to account for what happens when there are no active items for a given brand and how the brands would be managed.

Thanks in advance.

Paul
  • Lynne Mitchell
  • Lynne Mitchell's Avatar
07 Jun 2011 16:09
Can K2 category or tags be called by date? was created by Lynne Mitchell

Can K2 category or tags be called by date?

Category: English K2 Community

Is there a way to call K2 category or tags by current date? I want to create sort of a calendar info site that would display certain content by current month and day. I could either create a category for each day of year or just use tags per item with the month/day included. Thanks!
  • BBC
  • BBC's Avatar
07 Jun 2011 15:06

<object> tag being stripped out of content

Category: English K2 Community

Try in Joomla articles. If is is the same then it is JCE problem, not K2.

 

At JCE forum there is a topic about your problem. If you use last Beta version, 2.0.
  • Jock
  • Jock's Avatar
07 Jun 2011 15:04
Flash in extra fields was created by Jock

Flash in extra fields

Category: English K2 Community

Hi,

 

If I try and embed a flash movie in an items extra field it outputs only the parameter tags and not the object tag. So the flash movie doesnt load.

 

I am using JCE and media manager but I am guessing this is a K2 issue?

 

Can anyone help me out here?

 

Thanks
  • ahmad balavipour
  • ahmad balavipour's Avatar
07 Jun 2011 13:05
Show number number of items in search , tag pages was created by ahmad balavipour

Show number number of items in search , tag pages

Category: English K2 Community

For showing total number of items in search and tag pages go to :

components\com_k2\views\itemlist\view.html.php

 

line : 381

add this :

$this-&gt;assignRef('total', $total);

 

in this statement:

 

else {            $this-&gt;assignRef('items', $items);         }

 

some thing like this:

 

else {            $this-&gt;assignRef('items', $items);          $this-&gt;assignRef('total', $total);        }

 

 

and you can show total number of items by this code:

 

$this-&gt;total

 

in generic.php
  • Jock
  • Jock's Avatar
06 Jun 2011 23:19
Replied by Jock on topic K2 tag link plugin

K2 tag link plugin

Category: English K2 Community

Does anyone know how you embed flash in an item?

 

I am using JCE and it seems to strip the object tag from being outputted?
  • Jock
  • Jock's Avatar
06 Jun 2011 23:17

<object> tag being stripped out of content

Category: English K2 Community

Hi,

 

If I try and embed a flash movie in an item it outputs only the parameter tags and not the object tag, so nothing is actually being outputted.

 

I am using JCE but I am guessing this is a K2 issue?

 

Can anyone help me out here?

 

Thanks
  • mach
  • mach's Avatar
06 Jun 2011 12:48

checkbox in extrafield with searching problem :/

Category: English K2 Community

ı think i have been solved the problem which is checkbox selection in extrafield but ı couldn't apply it to be searchable in ja k2 search plugin. After saving the item it doesn't update the ja plugin database table. When ı use the reindexing it updates but after if ı do some changing in item then ı save the data rows in table is become empty how can ı overcome...

 

ı add the checbox in extrafiled by this way

 

first of all i added some code in the libraries/joomla/htmla/html/select.php

 

function checkboxGroup( $arr, $name, $attribs = null, $key = 'value', $text = 'text', $selected = NULL , $idtag = false, $translate = false )    {        reset( $arr );        $html = '';        if (is_array($attribs)) {            $attribs = JArrayHelper::toString($attribs);         }        $id_text = $name;        if ( $idtag ) {            $id_text = $idtag;        }                foreach ($arr as $i =&gt; $option)        {            $element =&amp; $arr[$i]; // since current doesn't return a reference, need to do this            $isArray = is_array( $element );            $extra     = '';            if ($isArray)            {                $k         = $element[$key];                $t         = $element[$text];                $id     = ( isset( $element ) ? $element : null );            }            else            {                $k         = $element-&gt;$key;                $t         = $element-&gt;$text;                $id     = ( isset( $element-&gt;id ) ? $element-&gt;id : null );                }                                    $splitText = explode( ' - ', $t, 2 );                $t = $splitText[0];                if(isset($splitText[1])){ $t .= ' - '. $splitText[1]; }                                            $extra    = '';            $extra    .= $id ? " id=\"" . $arr[$i]-&gt;id . "\"" : '';               if (is_array( $selected ))            {                foreach ($selected as $val)                {                    $k2 = is_object( $val ) ? $val-&gt;$key : $val;                    if ($k == $k2)                    {                        $extra .= " checked=\"checked\"";                        break;                    }                }            } else {                $extra .= ((string)$k == (string)$checked ? " checked=\"checked\"" : '');            }                        //if flag translate text                if ($translate) {                    $t = JText::_( $t );                }                // ensure ampersands are encoded                $k = JFilterOutput::ampReplace($k);                $t = JFilterOutput::ampReplace($t);            $id_text    = str_replace('','', $id_text);                $html .= "\n\t&lt;label for=\"$id_text$k\"&gt;$t&lt;/label&gt;";                $html .= "\n\t&lt;input type=\"checkbox\" name=\"$name\" id=\"$id_text$k\" value=\"".$k."\"$extra $attribs /&gt;";        }        return $html;    }

 

ı try to mix radio and option function to be appriopriate to use by checboxlist

 

 

 

in the administrator/component/com_k2/model/extrafield.php

 

i added some code piece on line 60 to be like this 

 

if ($row-&gt;type=='select' || $row-&gt;type=='multipleSelect' || $row-&gt;type=='radio' || $row-&gt;type=='checkbox'){                $object-&gt;set('value', $i+1);            }

 

and some another on line 162

 

if ($extraField-&gt;type=='textfield' || $extraField-&gt;type=='csv' || $extraField-&gt;type=='labels' || $extraField-&gt;type=='checkbox' )                $active=$value-&gt;value;

 

some another on line 222 

 

case 'checkbox':        $output=JHTML::_('select.checkboxGroup', $defaultValues, 'K2ExtraField_'.$extraField-&gt;id.'[]','', 'value', 'name', $active);            break;

and added on line 291 to be searchable

 

else if ($row-&gt;type=='multipleSelect' || $extraField-&gt;type=='checkbox'){            foreach ($jsonObject as $option){                if (in_array($option-&gt;value,$currentValue))                $value.=$option-&gt;name.' ';            }        }

in the



in the administrator/component/com_k2/view/extrafiled/extrafield.php

 

i added on line 48

 

$typeOptions[] = JHTML::_('select.option', 'checkbox', JText::_('Checkbox list'));

 

and in the administrator/component/com_k2/view/extrafiled/tmpl/default.php

 

i added case 'checkbox':  under  case 'multipleSelect':

 

 

 

i hope ı can be helpfull it is my first post to help peope this is important for me. I try to make realestate site by using k2 so checkboxes so important for tihs like search module and plugin but the advanced search not enough to do this how can ı overcome this poblem. ı couldnt solve the search problem checkboxes if anyone do this i appraciate him/her. İn addiiton ı can choose which extrafields are shown in module but the system of plugin and module is the same how  can ı seperate this. I want to show some extrafiled in module in the some where but ı dont want to show anotherwhere it must be choosable. Thank you for reading. I am waiting for helpfull replies.
  • Scarlett Design Ltd
  • Scarlett Design Ltd's Avatar
05 Jun 2011 18:21
SEF URLs activated but not working for Items was created by Scarlett Design Ltd

SEF URLs activated but not working for Items

Category: English K2 Community

I am in the final stages of a Joomla 1.5 / VM 1.1.8 / K2 website and cannot get the SEF URLs to work correctly.

All the main pages SEF URLS work fine but the homepage contains a News blog and when I click on one of the News items I get a 404 page not found.

Please can someone give me some advice / help? Have spent hours searching for info and seen lots of people with same problem but no solutions.

I've gone through the Global Config process correctly but there must be some setting that I have missed maybe?

I have another website - J 1.5 / K2 and switched on the SEF URLs at the start of that website's development and I have never had any problems. Was it a mistake to leave it till the end because it doesn't work on this website!

I'd really appreciate any help you can give me.

Thanks
  • B_Dark
  • B_Dark's Avatar
05 Jun 2011 04:26

Is it possible to mass add a tag in all items of one category?!

Category: English K2 Community

so the problem is from incremental number, the last write id from k2 normal is 40012. if i star from 40013 i have problem they write me 52-162 items. if i star from 41000 all is ok. but why they don't star write from 40013?
  • B_Dark
  • B_Dark's Avatar
03 Jun 2011 23:37

Is it possible to mass add a tag in all items of one category?!

Category: English K2 Community

everytime that i give the next one(40013) incremental number from the last (40012) they don't stat to write from 40013 but from another  incremental number of 40000 like 40145 why??

Andrea Vigato said:
$id: must to be a incremental number from the last id in jos_k2_tag_xref to counter of the first query, or just an incremental number if you want.
  • B_Dark
  • B_Dark's Avatar
03 Jun 2011 17:54

Is it possible to mass add a tag in all items of one category?!

Category: English K2 Community

the work with this..but...they don't write to all items of category do you know why??&gt;&lt;?php$db =&amp; JFactory::getDBO();$first_query = "SELECT id FROM #__k2_items WHERE catid=33";
$db-&gt;setQuery($first_query);$db-&gt;query(); $counter = $db-&gt;getNumRows();$column= $db-&gt;loadResultArray();
$start_id = 41825;
for($i==0; $i&lt;=$counter; $i++) {
$second_query = "INSERT INTO #__k2_tags_xref VALUES ($start_id, 4940, $column[$i])"; $db-&gt;setQuery($second_query);$db-&gt;query();$start_id++;}?&gt;

Andrea Vigato said:
just thinking :) really don't know how you cannot load JFactory class in the index.php....if you want just pass me the 2 tables (jos_k2_tags_xref and jos_k2_items) and i will do it in 3 hour cause i'm out now....otherwise really don't know sorry :( i repeat, the code is right for me...works perfect...
  • Eddy Eddy
  • Eddy Eddy's Avatar
03 Jun 2011 01:24
Replied by Eddy Eddy on topic Import Image URL in the head.php file

Import Image URL in the head.php file

Category: English K2 Community

I founded the solution after a long day of research !

 

Add this in the item.php of your k2 template :

 

&lt;?php            $facebookogtag .= '&lt;meta property="og:image" content="'.$this-&gt;item-&gt;imageXLarge.'"/&gt;' ."\n";        $document =&amp; JFactory::getDocument();        $document-&gt;addCustomTag($facebookogtag);        ?&gt;

Now when somebody like or share your page, it'll always be with the article thumb ;)
  • Katia
  • Katia's Avatar
02 Jun 2011 15:42
Replied by Katia on topic K2 and Multiple Videos

K2 and Multiple Videos

Category: AllVideos

You may just use tags, like this for example {youtube}wZg0WGKRg2A{/youtube}, in the content item in order to display a second video!
  • Ray
  • Ray's Avatar
02 Jun 2011 01:38

Twitter Social Bookmark link, title tag incorrect

Category: English K2 Community

When viewing an item/article in a category with the Social Bookmarks enabled the Twitter button is using the wrong title tag. When the Twitter button is displayed it has a "Add to Technorati" title tag. I found the error in the item.php file;

components/com_k2/templates/articles/item.php

line 235

&lt;li&gt;&lt;a class="twitter" title="&lt;?php echo JText::_("Add to Technorati"); ?&gt;" href="twitter.com/home?status=Currently reading <?php echo $this->item->socialLink; ?>" target="_blank"><span><?php echo JText::_("Add to Twitter"); ?></span></a></li>
Displaying 5041 - 5060 out of 6582 results.

Powered by Kunena Forum