Hide header of content plugin list?

joit

Active Member
is it possible to hide the header of a list in a content plugin?
I don't want to hide it always, just for the use in the content plugin

Thanks
Hannes
 
It's working fine with lists, too.
Check for formatting or multiple blanks inside {}
 
If I toggle the editor to code view, this is what I get:
{fabrik view=list id=4 products___userid_raw=[$my->id] show-title=0}
and the title is there
 
Is it possible that we talk about different things? Im taking about the header of the table (the element names)

Gesendet von meinem SM-G850F mit Tapatalk
 
In which case, no, we are talking about different thing. The "title" is ... well, the title. The list headings are the list headings. There is no built in way of not displaying the list header.

You'd have to do that either with CSS, with a selector specific to that list ... when rendered in a content plugin, the ID of the list is of the form listform_X_com_content_X, where X is your numeric list ID ... so select the thead inside the .fabrikDataContainer in that ID ...

Code:
listform_2_com_content_2 .fabrikDataContainer thead {
   display: none;
}

... works for my test ist ID 2 in a content plugin.

Ir clone a copy of the template, and remove the head rendering.

-- hugh
 
thanks for the code!
I put it in
components/com_fabrik/views/list/tmpl/bootstrap/custom_css.php
is this correct?
it doesn't work in my case :(
my products list has ID 4 so I used this

listform_4_com_content_4 .fabrikDataContainer thead {
display: none;
}

this is the page where I want to hide the header
161121/component/content/article?id=18&wirt=5
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top