By Hans-Guenter Heiserholt on Tuesday, 17 March 2015
Posted in General
Likes 0
Views 884
Votes 0
Hi,

is there a feature to preload some text to the comment field? Just to inform the writer about some things. This text should disappear when writing the own text.

regards HGH
Hi I found the place in Komento:
file:.../components/com_komento/themes/kuro/comment/form/editor.php
line: 16 change from
<textarea id="commentInput" class="commentInput input textarea"  cols="50" rows="10" tabindex="44"></textarea>
to
	<textarea id="commentInput" class="commentInput input textarea"      placeholder="... please fill in your comment here." cols="50" rows="10" tabindex="44"></textarea>


regards HGH
·
Wednesday, 18 March 2015 01:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Hans-Guenter Heiserholt,

Sorry for late reply to this,

Is it possible elaborate more details regarding this? Perhaps provide us some screenshot.
·
Wednesday, 18 March 2015 00:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I want to show some text to inform the writer via the comment-field, before he fills in his comment text.

Like:
... please fill in your comment here. or
... do not ask any support-questions here.

When the writer fills in his own text, the preloaded text has to disappear.

regards HGH
·
Wednesday, 18 March 2015 00:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi ans-Guenter Heiserholt,

Check my screenshot below.

if you would like to achieve this, you can edit on this file -> JoomlaFolder\components\com_easyblog\themes\default\blog.comment.form.php


//LINE 68
<textarea id="comment" name="comment" class="textarea"></textarea>
//Replace with
<textarea id="comment" name="comment" placeholder="please fill in your comment here." class="textarea"></textarea>

·
Wednesday, 18 March 2015 00:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
yes the screenshot is right.
That is what I want, but I didn't want it in easyblog, I want it in Komento

It will be great, when this becomes a future-feature in all your extensions.
And it can be configured by an option.

regards HGH
·
Wednesday, 18 March 2015 01:00
·
0 Likes
·
0 Votes
·
0 Comments
·
if Komento, you can edit on this file -> JoomlaFolder\components\com_komento\themes\kuro\comment\form\editor.php
·
Wednesday, 18 March 2015 01:11
·
0 Likes
·
0 Votes
·
0 Comments
·
yes, this file
·
Wednesday, 18 March 2015 01:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post