Hi everyone.
I would like to make that the buttons (save, delete, preview ...) always appear at the bottom of a specific table in the detailed view.
Is there any way to do this by working only on the files in the hooks folder?
Thanks!
Fabiano
buttons at the bottom in detail view
Re: buttons at the bottom in detail view
Hi,
which buttons do you mean, please post a screenshot.
which buttons do you mean, please post a screenshot.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: buttons at the bottom in detail view
Hi and thank for your help!
I mean the group of standard button to save record, update, delete, cancel and print preview (see screenshot).
the ideal would be, when the width of the browser window allows, to have the buttons in line at the bottom of the page and not one below the other. In the case of navigation from a smartphone or if the browser window is narrow, it is better that the buttons are displayed one below the other
Thank you!
Fabiano
I mean the group of standard button to save record, update, delete, cancel and print preview (see screenshot).
the ideal would be, when the width of the browser window allows, to have the buttons in line at the bottom of the page and not one below the other. In the case of navigation from a smartphone or if the browser window is narrow, it is better that the buttons are displayed one below the other
Thank you!
Fabiano
Re: buttons at the bottom in detail view
Hi,
isn't this the default behaviour? if you resize your browser (make it small) you will see the buttons go to the bottom of the page.
isn't this the default behaviour? if you resize your browser (make it small) you will see the buttons go to the bottom of the page.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: buttons at the bottom in detail view
Thank you so much for your help.
I try to explain myself better.
In detail view, in the computer browser (large window) I would like the buttons to appear as in screenshot 1.
In the layout of the detailed view when browsing from a mobile device or with a narrow browser window there is nothing to change because the buttons already appear at the bottom.
I would like to obtain the result shown in screenshot 1 by working only on the files in the hook folder and applying the result only to a specific table.
Thank you!
I try to explain myself better.
In detail view, in the computer browser (large window) I would like the buttons to appear as in screenshot 1.
In the layout of the detailed view when browsing from a mobile device or with a narrow browser window there is nothing to change because the buttons already appear at the bottom.
I would like to obtain the result shown in screenshot 1 by working only on the files in the hook folder and applying the result only to a specific table.
Thank you!
Re: buttons at the bottom in detail view
Hi,
sorry to say that this is quite complicated to achieve.
To put "only" the buttons to the bottom of the page (but still in a column), you may use
in the hooks/YOURRABLENAME-dv.js
sorry to say that this is quite complicated to achieve.
To put "only" the buttons to the bottom of the page (but still in a column), you may use
Code: Select all
$j('#YOURTABLENAME_dv_form').removeClass('col-md-8 col-lg-10');
$j('#YOURTABLENAME_dv_action_buttons').removeClass('col-md-4 col-lg-2');
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: buttons at the bottom in detail view
Ok! Wonderful! I will try it soon! Thanks!!!