I'm using Joomla 3.4.3 with Alexandria Book Library 3.1.0.
I'm trying to create several overrides for your component. One problem I got stuck is about the search view. I realized and managed, that I have to copy also the layouts folder to my html folder.
But I noticed that some fields, like the search field in bar.php on line 39
<?php echo $filters['filter_search']->input; ?>
I can't change the attributes of the input-field (like class="").
Any advise how I can change this.
thanks for any advise
Hi le5,
you have to modify class option by models/forms/filter_search.xml
from:
<field
name="search"
type="text"
label="COM_ABOOK_KEYWORD_DESC"
hint="COM_ABOOK_KEYWORD"
/>
to:
<field
name="search"
type="text"
class="something"
label="COM_ABOOK_KEYWORD_DESC"
hint="COM_ABOOK_KEYWORD"
/>
Thanks for the help.
Greetings Pawel