FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to add a Youtube "Formatting Tools" icon?  () 1 Vote
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to add a Youtube "Formatting Tools" icon? [message #163996] Thu, 23 December 2010 14:30 Go to previous message
gotzoom? is currently offline  gotzoom?   United States
Messages: 20
Registered: December 2006
Location: Silicon Valley, CA
Karma:
Junior Member
I searched around and read what I can find on this subject and I'm still not able to figure out how to add a Youtube icon to the Formatting Tools.

From what I have read, I need to add a line to the "fud_code_icons" in post_common.tmpl and copy over the image into the theme.

I'd like to have a popup window come up where the user can paste in the Youtube tag in a manner similar to the way the URL or Image buttons work.

Here's the code for the Image button:
<td class="FormattingToolsCLR"><a title="{MSG: post_common_image}" accesskey="m" href="javascript: image_insert();"><img alt="" src="{THEME_IMAGE_ROOT}/b_image.gif" /></a></td>


It seems that I will need to make the "accesskey" value unique and call a particular "javascript" to make things work properly.

Can someone help point me in the right direction on this?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mailing-list -> forum
Next Topic: I messed something up, not very serious though
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 04:10:24 GMT 2024

Total time taken to generate the page: 0.04645 seconds