by
tim » Fri Jan 12, 2018 11:23 pm
You would use the admin theme to accomplish this.
viewtopic.php?f=5&t=10241#p24680First, enable your own custom admin theme in
couch/config.php by uncommenting the last line below.
- Code: Select all
// 26
// If the admin-panel uses a custom theme, set the following to the folder-name of the theme.
// Theme folder is expected to be within the 'couch/theme' folder. No leading or trailing slashes please.
//define( 'K_ADMIN_THEME', 'sample' );
In the
couch/theme/_system folder find
list_row.html. Place a copy of
list_row.html in your custom theme folder and modify it as follows:
- Code: Select all
<cms:admin_list_fields>
<cms:if k_user_access_level =='10' || (k_user_access_level =='7' && level ge '7' || level lt '1') >
<td class="col-<cms:show k_field_class />">
<cms:show k_field_content />
</td>
</cms:if>
</cms:admin_list_fields>