|
|
|
Show Fields that are hidden in profile in a list
|
|
Date: 2005/11/27 18:44
|
By: krka
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
Hi,
I would like to hide some fields from users profiles but still make them available in the List Manager possibly for users that have higher priviledge than Registerd.
However as i can see as soon as i make a field unavailable in the Profile it also disapears from the fields to chose from in List Manager.
Krister
|
|
The topic has been locked. |
|
|
|
|
Re:Show Fields that are hidden in profile in a list
|
|
Date: 2005/11/27 19:34
|
By: krka
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
Hi,
Would work but it will also mean that private data is shown in profiles while doing the list editing.
I was more looking for a way to disable the hide from profile check inside list manager.
Krister
|
|
The topic has been locked. |
|
|
|
Re:Show Fields that are hidden in profile in a list
|
|
Date: 2005/11/29 22:09
|
By: JohnQM
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 2 |   | |
|
Hi
I needed a way to make all fields available when creating a new list, wether or not those fields were hidden for profile.
I finally decided to hack the code so that all fields would always appear in the list management. Lists have access level settings, which is what I need to make those special fields only available to certain groups.
The hack is in administratorcomponentscom_comprofileradmin.comprofiler.html.php
// 22-11-2005 : Fabian : removed f.profile = "1" so we always have all fields when creating new lists /* $database->setQuery( "SELECT f.fieldid, f.title, f.name" . "nFROM #__comprofiler_fields f" . "nWHERE f.published = 1 AND f.profile = 1" . $sqlWhere ); */ $database->setQuery( "SELECT f.fieldid, f.title, f.name" . "nFROM #__comprofiler_fields f" . "nWHERE f.published = 1" . $sqlWhere );
That's working fine for me. J.
Post edited by: JohnQM, at: 2005/11/29 16:09
|
|
The topic has been locked. |
|
|
|
|
Re:Show Fields that are hidden in profile in a list
|
|
Date: 2005/11/30 02:57
|
By: krka
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
Hi,
Thanx exactly the hack i was looking for.
FYI i submitted a feature request refering to this thread.
Krister
|
|
The topic has been locked. |
|
|