spacer field in list ? #162

Closed
opened 2017-11-03 11:15:08 +00:00 by sepehr09 · 3 comments
sepehr09 commented 2017-11-03 11:15:08 +00:00 (Migrated from github.com)

hi, i need to put button for my list in admin list view like this picture :
image

the problem is spacer field is not showing in list view!
i test spacer field but that not show in list view. for now i used hidden field & show print button with model (Add PHP (getItems Method - before translation fix & decryption) ), but i don't need save anything in mysql table.

hi, i need to put button for my list in admin list view like this picture : ![image](https://user-images.githubusercontent.com/11753906/32371132-e83825ac-c0a4-11e7-9b4f-d2435b28fe9d.png) the problem is spacer field is not showing in list view! i test spacer field but that not show in list view. for now i used hidden field & show print button with model (`Add PHP (getItems Method - before translation fix & decryption)` ), but i don't need save anything in mysql table.

Hmmm this is a problem, to add none "fields" in the list view is not really an easy task.

Why not do what we did with JCB? I added some custom scripting in the body file, take a look here down to line 132 is all custom script, and is adding all those nice buttons on the page.

Hmmm this is a problem, to add none "fields" in the list view is not really an easy task. Why not do what we did with JCB? I added some custom scripting in the body file, [take a look here](https://github.com/vdm-io/Joomla-Component-Builder/blob/master/admin/views/joomla_components/tmpl/default_body.php#L89) down to [line 132](https://github.com/vdm-io/Joomla-Component-Builder/blob/master/admin/views/joomla_components/tmpl/default_body.php#L132) is all custom script, and is adding all those nice buttons on the page.
  • Another way is with some javascript in the footer of the page, but can be little cumbersome.
  • Also adding custom buttons.
  • Or we need to adapt JCB, and make this a feature request. (not ideal timing)
- Another way is with some javascript in the footer of the page, but can be little cumbersome. - Also adding custom buttons. - Or we need to adapt JCB, and make this a feature request. (not ideal timing)

Have you managed this?

Have you managed this?
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#162
No description provided.