Hi Andre,
Thank you very much for your help.
I created the view.detail.php as mentioned above and copied it directly from the User Guide.
I then populated the toggle_panel_fields.php with the following:
Code:
<?php
$toggle_panel_fields = array(
'account_type' => array(
// setup here all options but 'Customer'
'Prospect' => array(
'lbl_detailview_panel1' => 0,
),
'Integrator' => array(
'lbl_detailview_panel1' => 0,
),
'Referrer' => array(
'lbl_detailview_panel1' => 0,
),
'Analyst' => array(
'lbl_detailview_panel1' => 0,
),
'Competitor' => array(
'lbl_detailview_panel1' => 0,
),
'Investor' => array(
'lbl_detailview_panel1' => 0,
),
'Partner' => array(
'lbl_detailview_panel1' => 0,
),
'Press' => array(
'lbl_detailview_panel1' => 0,
),
'Reseller' => array(
'lbl_detailview_panel1' => 0,
),
'Other' => array(
'lbl_detailview_panel1' => 0,
),
),
);
?> I then ran a repair/rebuild. Upon doing this even though nowhere have I specified 'Customer' above the panel is hidden when the account_type is 'Customer' as well.
I even tried adding to the above with:
Code:
'Customer' => array(
'lbl_detailview_panel1' => 1,
), I placed this as the first line of code with all the other definitions below it. When I did this the Panel was now visible for all account_type even when they were set to 0.
Have I messed something up?
Bookmarks