Miscellaneous > Roundcube Discussion

Text Under Message Toolbar

(1/1)

dave1978:
Im trying to add the title for each of the icons like compose, reply etc etc under the correct image

so far I've been able to show text but its not within the link


--- Code: ---<a href=&quot;./?_task=mail&amp;_action=compose&quot; onclick=&quot;return rcmail.command('compose','',this)&quot; onmousedown=&quot;return rcmail.button_sel('compose','rcmbtn104')&quot; onmouseup=&quot;return rcmail.button_out('compose','rcmbtn104')&quot; title=&quot;Create a new message&quot;><img src=&quot;skins/default/images/buttons/compose_pas.png&quot; id=&quot;rcmbtn104&quot; border=&quot;0&quot; alt=&quot;&quot; /></a><br />Create Mail</div>
--- End code ---

I need to be able to get it to output


--- Code: ---
Create Mail
--- End code ---

I presume this would need editing:


--- Code: ---

--- End code ---

Does anyone know if this is possible

Many thanks

dave1978:
After some searching I've managed to sort this

For anyone who would like to do the same all you need to do is enter


--- Code: ---label=&quot;forwardmessage&quot;
--- End code ---
replace "forwardmessage" with whatever text you want displayed

kmn:
Thanks Dave.

This is a feature quite often requested for.

Could you specify which are the files that need editing.

Regards

kmn

dave1978:
Sorry for the rather delayed post the files you need to edit are html template files for example compose.html and find the buttons etc


--- Code: ---<roundcube:button command=&quot;send&quot; imageSel=&quot;/images/buttons/send_sel.png&quot; imageAct=&quot;/images/buttons/send_act.png&quot; imagePas=&quot;/images/buttons/send_pas.png&quot; label=&quot;customlabel&quot; title=&quot;sendmessage&quot; />
--- End code ---

Then you need to go to the localization dir select your language dir and open labels.inc and add your custom label


--- Code: ---$labels['customlabel'] = 'Custom Label';

--- End code ---

Hope this helps

Navigation

[0] Message Index

Go to full version