Forum Open Notice
Forum Open Notice
  1. Forum
  2. Profile for

Jerry

Offline @jerry1970
Posts
15
Rank
New Member
Register Date
08 Jul 2012

Posts

Probably solved?! This is for other people looking for the same thing. That is, if someone can please confirm whether this is the right way to do it... Recap of the problem: I need to access the extra fields to set the title of an item....

English K2 Community Jerry, 14 years 4 months ago 5 replies

And a big problem is this... When an extra field is a select box, the $_POST of course contains the ID, not the VALUE of the selected item. So, in the onBeforeK2Save, I need to have access to the definitions of the extra fields. Is that possible? Thanks!!

English K2 Community Jerry, 14 years 4 months ago 5 replies

I need to read the extra fields in onBeforeK2Save because I have to set the $item->title. The $item->extra_fields is NULL. So far, I can only read the extra fields from the $_POST and there the names are K2ExtraField_1, K2ExtraField_2,...

English K2 Community Jerry, 14 years 4 months ago 5 replies

Maybe something is wrong, because $item->extra_fields is NULL in onBeforeK2Save.

English K2 Community Jerry, 14 years 4 months ago 5 replies

Hello, I've been trying and trying but cannot get it to work. I hope someone can give some useful clues here. I want people to enter calendar events: date, hour, minute, description. Nothing more. So I hide title, alias, publish up,...

English K2 Community Jerry, 14 years 4 months ago 5 replies

OK, great, I am a few steps further now, thanks. Next problem is I can't find any info on how to access the extra fields here. I can read the $_POST, but I only get keys like this: K2ExtraField_1 K2ExtraField_2 Is there a way to get the...

English K2 Community Jerry, 14 years 4 months ago 5 replies

So copying view.html.php to /templates/MYTEMPLATE/html/com_k2/SUBTEMPLATE/view.html.php is enough? That file is not in the templates folder...

English K2 Community Jerry, 14 years 4 months ago 5 replies

Hi, It seems I am not going to solve my problems just by using Extra Fields and from what I read I need to write a K2 plugin. I am a php programmer so that is not a problem, but I need some documentation on how to set things up. I have...

English K2 Community Jerry, 14 years 4 months ago 5 replies

I have to say I am a bit annoyed as well on it being so hard to find class definitions, etc. I can understand K2 have to follow the joomla structure, which is very confusing to say the least...

English K2 Community Jerry, 14 years 4 months ago 5 replies

Hi all, To make things a lot easier for a client, I am simplifying the front-end edit form. For a certain k2 category Events, I have made a menu item New Event, which pops up the New Item window. The client only has to enter the extra...

English K2 Community Jerry, 14 years 4 months ago 1 replies

More