Layout : Show group "Detail view only" Bug?

myfatebiz

Active Member
Hi,

Current problem : If Show group set to "Detail view only"
  1. Form view = invisible
  2. List view = invisible
  3. Detail view = invisible
How to fix :

Go to components\com_fabrik\models\group.php

Line 283 :

$this->canView = false;

change to

$this->canView = true;

Result :
  1. Form view = invisible
  2. List view = visible
  3. Detail view = visible
Regards,
MyFateBiz
 
Hmmm, I have a sneaking suspicion that change may break other combinations of 'Show group' and form vs detail view.

Can you do me a favor, and make sure you have tested all the possible combinations of settings and views? So a matrix of views (form, detail, list) against 'Show group' options?

Your change may be all it needs, but I seem to recall fighting with that code when I first wrote it, and thinking I'd fixed it, and finding it broke other permutations ...

-- hugh
 
Alright. Here the result is :

Show group = Yes
  • Form = Visible
  • List = Visible
  • Detail = Visible
Show group = Yes, but hidden
  • Form = Invisible
  • List = Visible
  • Detail = Invisible
Show group = Detail view only
  • Form = Invisible
  • List = Visible
  • Detail = Visible
Show group = Only form view
  • Form = Visible
  • List = Visible
  • Detail = Invisible
Show group = Hide if no usable elements
  • Form = Visible
  • List = Visible
  • Detail = Visible
Show group = Always show as read only
  • Form = Visible with read only
  • List = Visible
  • Detail = Visible
Remarsk : All Show group seem working properly.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top