Skip to Content Skip to Menu

List Tab plugin

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 9 months ago #31073 by mikko
Replied by mikko on topic Re:List Tab plugin
Another solution would be to change the line which sets
[code:1]
$tab->fields=array();
[/code:1]
to
[code:1]
$tab->fields=false;
[/code:1]
in listtab.php

The reason for this originally being array is that I misunderstood the function of the fields attribute. Because assigning an empty array worked and caused no problems for me, I never changed it.

mikko

Please Log in or Create an account to join the conversation.

  • sperez88
  • sperez88
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
17 years 9 months ago #31897 by sperez88
Replied by sperez88 on topic Re:List Tab plugin
Hi,
I get the same error. I think it comes from the table #__comprofiler_field_value_lists in the query below which doesn't seem to exist in my database. When should this table get created? Any help would be greatly appreciated.

$sql="select name, type, MIN(fieldtitle) as fieldtitle from #__comprofiler_fields f left join #__comprofiler_field_value_lists l on f.fieldid=l.fieldid".
" left join #__comprofiler_field_values v on l.fieldvaluelistid = v.fieldid".
" where tabid=".$tab->tabid." and required=1 and published=1 group by name";

Please Log in or Create an account to join the conversation.

  • lebvision
  • lebvision
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
17 years 8 months ago #32812 by lebvision
Replied by lebvision on topic Re:List Tab plugin
well i have this error message:
Warning: Invalid argument supplied for foreach() in /home/wedding6/public_html/lebweddings/components/com_comprofiler/plugin/user/plug_listtab/listtab.php on line 30

any help is appreacited guys

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 8 months ago #32813 by mikko
Replied by mikko on topic Re:List Tab plugin
Get a new version from my server. (see my signature)

mikko

Please Log in or Create an account to join the conversation.

  • jbenga
  • jbenga
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
17 years 7 months ago #34599 by jbenga
Replied by jbenga on topic Re:List Tab plugin
Aloha,
First, great concept ... quite a useful plug-in.
Installed the version from your site. Saving data still does not work properly. It only saves one record in list mode. Inserting a record from the db level does display properly.
Also if you set a field flag to "view only", you can not add records from the Joomla Admin, CB User Management.

Last, when saving any other field information, the list tab values are deleted.

Mahalo

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 7 months ago #34606 by mikko
Replied by mikko on topic Re:List Tab plugin
Quoting my own signature:

If you want something fixed or have a feature request for my work, please write it to tracker.


;)

I will spend some time for coding during the weekend to clean the tracker.

mikko

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum