Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions  

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba


Reply

Available BB Code tags

  • Bold Text [b]Bold[/b]
  • Italic Text [i]Italic Text[/i]
  • Underlined Text [u]Underlined[/u]
  • Struck-out Text [s]Struck-out[/s]
  • Coloured text [color=blue]blue text[/color]
  • Alignment [align=right]right aligned[/align]
  • Code Block: Unformatted code block [code]Code block[/code]
  • Email link: Create link to an email address [email]you@yoursite.com[/email]
  • Email link: Create link to an email address [email=you@yoursite.com]Email[/email]
  • Unordered list: Unordered list [ulist][*]unordered item 1[/ulist]
  • Image: Show an image in your post [img]http://www.website.com/image.jpg[/img]
  • Website link: Link to another website or URL [url]http://www.website.com/[/url]
  • Website link: Link to another website or URL [url=http://www.website.com/]Website[/url]

Available BB Code tags

  • Bold Text
    Example: [b]Bold[/b]
  • Italic Text
    Example: [i]Italic Text[/i]
  • Underlined Text
    Example: [u]Underlined[/u]
  • Struck-out Text
    Example: [s]Struck-out[/s]
  • Coloured text
    Example: [color=blue]blue text[/color]
  • Alignment
    Example: [align=right]right aligned[/align]
  • Code Block: Unformatted code block
    Example: [code]Code block[/code]
  • Email link: Create link to an email address
    Example: [email]you@yoursite.com[/email]
  • Email link: Create link to an email address
    Example: [email=you@yoursite.com]Email[/email]
  • Unordered list: Unordered list
    Example: [ulist][*]unordered item 1[/ulist]
  • Image: Show an image in your post
    Example: [img]http://www.website.com/image.jpg[/img]
  • Website link: Link to another website or URL
    Example: [url]http://www.website.com/[/url]
  • Website link: Link to another website or URL
    Example: [url=http://www.website.com/]Website[/url]
Avatar
Pix

Community Member, 153 Posts

9 June 2014 at 7:15pm

There's an excellent tutorial that does just that here:

http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/

Avatar
Bagzli

Community Member, 64 Posts

25 May 2014 at 4:44am

Hey guys,

I've been researching this quite a lot and any solution that I have found online does not works. I have thoroughly read the guide here and I don't quite understand which files I need to modify to make any of this work. http://doc.silverstripe.org/framework/en/reference/shortcodes

I am wondering if you can tell me how can I embed a youtube video into my editor. How do I create a short code that will allow me to do that.