Support

  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.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.