Keyword

Advanced Search

Search Results (Searched for: extra field order)

  • Fotis
  • Fotis's Avatar
30 Nov 2019 10:17
Fotis replied the topic:Extra fields ordering without hacking core file [model file using extra_fields]

Extra fields ordering without hacking core file [model file using extra_fields]

Category: English K2 Community

Re-ordering by extra fields as you mention is not really practical because the data that is held in that field is basically an array of JSON objects.
  • agan E
  • agan E's Avatar
28 Nov 2019 16:49 - 28 Nov 2019 16:51
agan E created the topic:Extra fields ordering without hacking core file [model file using extra_fields]

Extra fields ordering without hacking core file [model file using extra_fields]

Category: English K2 Community

Hi Fotis,

Can we expect extra field ordering option in upcoming update. currently we can't done it without hacking core file like the following:
File path: model/itemlist.php

case 'alpha' :
$orderby = 'i.extra_fields DESC';
break;

you mentioned something like "I'll note it down to add a re-order option in the coming versions." in the following tread but last update(K2 v2.10.1) not having this feature. and also not in "What's next" (v2.10.2) .

www.joomlaworks.net/forum/search?query=extra%20field%20order&childforums=1

I'm eagerly waiting for this feature. looking forward to your reply with fingers crossed.

Thanks,
Agan
  • Dimitris
  • Dimitris's Avatar
10 Jun 2019 21:24
Dimitris created the topic:How to disappear Extra Fields???

How to disappear Extra Fields???

Category: English K2 Community

Hello everyone and thank you in advance for your time!
I have the following issue using K2 extension in Joomla 3.5.
My template had from itselfe choices in extra fields:
Camera (a text field)
Time spend (a text field)

I publish my K2 items but I do not want them. I leaved them blank they appear, I delete them from Extra fields but they still appear!! They do not go away!!! I searched K2 files one by one in code but nothing changes.. (See the photo I attached)

Please if anyone know anything about it or suggest me where should I search in order to delete them I would so happy. Thank you!
  • Thomas Thrane
  • Thomas Thrane's Avatar
22 May 2019 09:39
Thomas Thrane replied the topic:Cloaking email address as extra field value

Cloaking email address as extra field value

Category: English K2 Community

Hi Fotis
NP regarding the styling :-)

As for the 2nd issue, I apologize for the tone :-(
I have tried to reorder the plugin last, but same result. And the field in K2 is already a plain text field with nothing more than the email.

I'm sorry for this, I just don't know who to reach out to to get this fixed ...

Kind regards
Thomas
  • Fotis
  • Fotis's Avatar
21 May 2019 11:03
Fotis replied the topic:Cloaking email address as extra field value

Cloaking email address as extra field value

Category: English K2 Community

The unstyled buttons in the item edit form (and the category edit form) are part of some last-minute UI changes. They will be sorted until v2.10 is released officially.

As for the 2nd issue, I strongly disagree with Peter (and I certainly don't like his tone). His comment "I'm not sure I appreciate and want to keep having to work around issues K2 caused when it changes things which are already non-Joomla standard ways of doing things" is insulting and it's also confusing. Well, boo-hoo. We deal with third party extensions all the time. We don't go trashing the other developers, even if they're bad. Cause in the end, what matters is that the user/customer gets the job done.

I mean, is there like a "non-Joomla standard ways of doing things" for outputting text in a document? If he didn't understand the issue in the first place, he should say so.

Now, if you want to have your emails parsed by his plugin - which BTW should be smarter to perform a regex at the whole <a> element - you should probably re-order that plugin last. Updating K2 may have changed the order of some plugins. Worse case scenario, if you use a link type extra field, switch to plain text field. That should make it simpler for the plugin to grab the email address and convert it to an obfuscated link.
  • Jacques Abada
  • Jacques Abada's Avatar
04 Mar 2019 14:36
Jacques Abada created the topic:filter by extra fields

filter by extra fields

Category: English K2 Community

Hello,
I'd like to filter a listing by extrafield and order by extra field alphabetical ASC, i saw in the forum to Open the file modules/mod_k2_content/helper.php and change

case 'alpha' :
$orderby = 'i.title DESC';
break;

by

case 'alpha' :
$orderby = 'i.extra_fields DESC';
break;

but how can I use a specific extra field ?

: my developpment website

Thanks for your kind help
  • Fotis
  • Fotis's Avatar
18 Feb 2019 21:58
Fotis replied the topic:Extra Field Drop-down selection add new one but sorting them alphabetically

Extra Field Drop-down selection add new one but sorting them alphabetically

Category: English K2 Community

...And you obviously get more than re-ordering ;) Thanks Mohamed for sharing this!
  • Fotis
  • Fotis's Avatar
13 Feb 2019 19:39
Fotis replied the topic:Extra Field Drop-down selection add new one but sorting them alphabetically

Extra Field Drop-down selection add new one but sorting them alphabetically

Category: English K2 Community

I'll note it down to add a re-order option in the coming versions.
  • George Nasis
  • George Nasis's Avatar
11 Feb 2019 19:38
George Nasis replied the topic:Extra Field Drop-down selection add new one but sorting them alphabetically

Extra Field Drop-down selection add new one but sorting them alphabetically

Category: English K2 Community

Yes of course when it is selected it is indeed static. But I have about 40 options in the drop down that I display to user to choose between them :) So there I have to order them alphabetically.

In extra fields manager I could add an option in the end and transfer with the hand all the values to that direction but it is not working, because for the items that already a value has been assigned will break :)

So the most convienient way without not hacking the core is to add options in the end and then in the table of k2_extra_field to put to the right order

Thank you very much Fotis!

Looking forward of v3
  • George Nasis
  • George Nasis's Avatar
11 Feb 2019 15:18
George Nasis replied the topic:Extra Field Drop-down selection add new one but sorting them alphabetically

Extra Field Drop-down selection add new one but sorting them alphabetically

Category: English K2 Community

Hi Fotis,

yes sure it would be an option. Another option that i found is to change the order inside the k2_exta_fields table for he specific values I want. So no hack is required.
  • Fotis
  • Fotis's Avatar
11 Feb 2019 00:32
Fotis replied the topic:Extra Field Drop-down selection add new one but sorting them alphabetically

Extra Field Drop-down selection add new one but sorting them alphabetically

Category: English K2 Community

It's possible, but it would require to hack core K2 files to enforce the order you want.
Displaying 1 - 11 out of 11 results.
Powered by Kunena Forum