Hide dropdown buttons in list header without hiding those for each rows ?

kouros91

Member
Hi.
Is it possible to modify list css for hiding common dropdown buttons in header list (1) without hide dropdown buttons in front of each rows (2) ?
It's php plugin list buttons but as the code for each button is for one row at a time only, i would like to hide common buttons. Is it possible to modify css and how ?



Thank you :)

Nicolas
 

Attachments

  • list.jpg
    list.jpg
    34.6 KB · Views: 26
Hello

I think it is possible : go to your list option, in "Layout" tab.
You have a "Front-end template" option. Tip shows you the location of templates (as : components \ com_fabrik \ views \ list \ tmpl \ bootstrap for example).

Go in FTP at the location, and copy-paste "bootstrap" template, rename it.
Return to your list and assign it to your new template.

Then, in your new template, rename the custom_css_example.php in custom_css.php

Now you can modify/add CSS into, in security, it will be only applied to your list assigned.
With F12, search a class like "fabrik_ordercell" or "fabrik_actions", or other for a PHP plugin dropdown.

Good luck
 
To do it with a custom list template is a good approach for playing around and testing but is is not necessary.

You can add custom css for only one list also in the bootstrap list template.
As @georgie said
rename the custom_css_example.php in custom_css.php
after
/* BEGIN - Your CSS styling starts here */
add

#list_X_com_fabrik_X .heading.fabrik_select {visibility: hidden}
#list_X_com_fabrik_X .heading.fabrik_actions {visibility: hidden}

with X = your list id


If you want to use a custom template only used for this list (or if you want to hide the table headings for all your lists)
.heading.fabrik_select {visibility: hidden}
.heading.fabrik_actions {visibility: hidden}
 
I've bee thinking about adding an option to list plugins, to define whether they show in the "all" location. I'll look at that when I get a minute.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top