Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Termi on January 25, 2017, 06:27:34 PM

Title: Can own skin modify content in program folder
Post by: Termi on January 25, 2017, 06:27:34 PM
I am changing a skin and have an issue.
I want to get rid of the labels for username and password on the login screen and replace it with the html tag "placeholder" in the text and password input fields.
I made the labels invisible by changing css display:none

To insert the placeholder tag into the text input I have to change program/include/rcmail_output_html (add the tag) and program/lib/Roundcube/html.php (allow the tag).

It works when I do this in the original roundcube folders but that's not the idea of skins.
I tried to do this in skins/myskinname/program/include/rcmail_output_html and skins/myskinname/program/lib/Roundcube/html.php but these files are not regarded.

Does this work as designed or am I missing something?
Is there a way to achieve my goal within the skins folder?
Title: Re: Can own skin modify content in program folder
Post by: JohnDoh on January 26, 2017, 03:03:34 AM
you cannot do it from the skins folder but using a plugin you could override the default handler for the login form and write your own.
Title: Re: Can own skin modify content in program folder
Post by: SKaero on January 26, 2017, 09:18:19 AM
Or you can add the placeholder text with Javascript which can be done from the skins folder.