1. mr412
  2. General
  3. Friday, September 14 2018, 12:33 PM
Dear EP-team

I have modified /components/com_jsn/views/list/tmpl/table_search.php because I want to display the search fields side by side. I copied the file to

../templates/my_template/html/com_jsn/views/list/tmpl/table_search.php but it not works. I dont want keep it as "core modification".

The other thing is, I'm searching for echo $class::getSearchInput($fields[$id]); ?> I want to modify the placeholder text from the input box.

Thank you so much in advance!
Attachments (1)
Accepted Answer
admin Accepted Answer
Admin
Hi,
the most simple alternative is to use Javascript code. for example like:
jQuery(document).ready(function(){
jQuery('#id_of_input').attr('placeholder','new placeholder');
});
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
../templates/my_template/html/com_jsn/views/list/tmpl/table_search.php
This is a wrong folder, you need to remove "views" and "tmpl", so the override path should be /templates/my_template/html/com_jsn/list/table_search.php

The other thing is, I'm searching for echo $class::getSearchInput($fields[$id]); ?> I want to modify the placeholder text from the input box.
you can use Joomla Language Override feature to customize the static text from Extensions->Languages->Overrides, see screenshot
Attachments (1)
  1. more than a month ago
  2. General
  3. # 1
mr412 Accepted Answer
Thank you for your reply. I know that is possible to do language override. But I want different text per input box, so I have to modify the code.
  1. more than a month ago
  2. General
  3. # 2
mr412 Accepted Answer
amazing, thank you!
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.