Error in the code

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Error in the code

Post by martin123456 »

This topic viewtopic.php?f=45&t=1304

First we will add the background image to the Quickreply
Open styles/prosilver/template/quickreply_editor.html
Find:

<textarea style="height: 9em;"

Replace with:

<textarea style="height: 9em; background: #FFFFFF url('{ROOT_PATH}images/message.png') center no-repeat;"

But on the premod the first part of the code is

<textarea id="message" style="height: 9em; width:99.4%; font-size:1.14em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox messagecount"></textarea>

just overwrite the below part

<textarea id="message" style="height: 9em;

Its the same on all the premod themes

either way just over write it as it does work

I thought i'l point this out as some might get confused

Error in the code

Post by Stoker »

Then just replace: style="height: 9em; width:99.4%; font-size:1.14em;" with: style="height: 9em; width:99.4%; font-size:1.14em; background: #FFFFFF url('{ROOT_PATH}images/message.png') center no-repeat;"