Jump to content


Photo

sendMessage more chars

DM500s web interface sendMessage

  • Please log in to reply
1 reply to this topic

#1 falconet

  • Member
  • 1 posts

0
Neutral

Posted 14 October 2011 - 22:56

hi
we need more than 120 chars (maxleght="120") for sendMessage web interface
how do this ?
we try to edit /share/tuxbox/enigma/templates/sendMessage.tmp

<html>
<head>
<title>TV Message</title>
</head>
<body>
Send the following message to your TV:
<br><br>
<form name="tv" action="/cgi-bin/message">
<input name="message" type="text" size="120" maxlength="120">
<br><br>
<td><input type="checkbox" name="wait" value="on"></td> Wait for confirmation
<br><br>
<input type="submit" size="100px" value="Send">
<input type="reset" size="100px" value="Clear">
</form>
<script>
document.tv.message.focus();
</script>
</body>
</html>


with this code


<html>
<head>
<title>TV Message</title>
</head>
<body>
Send the following message to your TV:
<br><br>
<form name="tv" action="/cgi-bin/message">
<textarea name="message" rows="8" cols="87"></textarea>
<br><br>
<td><input type="checkbox" name="wait" value="on"></td> Wait for confirmation
<br><br>
<input type="submit" size="100px" value="Send">
<input type="reset" size="100px" value="Clear">
</form>
<script>
document.tv.message.focus();
</script>
</body>
</html>


but it can't save because is read only :(
please help me

Edited by falconet, 14 October 2011 - 22:59.


Re: sendMessage more chars #2 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 15 October 2011 - 16:51

You can only change files in /var. So, if you want to change this you need to build your own OpenPLi image.
Many answers to your question can be found in our wiki: http://openpli.org/wiki



Also tagged with one or more of these keywords: DM500s, web interface, sendMessage

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users