1776 Posts in 498 Topics by 533 members
Blog Module
SilverStripe Forums » Blog Module » Short Codes to embed a YouTube video
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 960 Views |
-
Short Codes to embed a YouTube video

9 July 2011 at 1:49am Last edited: 9 July 2011 1:49am
Hi
how can this great idea (http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video) enabled in blog module?
Thanks
-
Re: Short Codes to embed a YouTube video

10 July 2011 at 1:27pm
I would think it's better outside the blog module, even if your site doesn't include the blog module you may still want to use that shortcode. Things like shortcodes are weird, too small for being a module, not a widget. I think the best option could be to have a repo of shortcodes perhaps (like our recipes - https://github.com/silverstripe-labs/silverstripe-recipes)
-
Re: Short Codes to embed a YouTube video

10 July 2011 at 7:44pm
The issue is that the shortcodes (the way described by ssbits) are working in pages, but not in blogentries.
So, i am wondering. -
Re: Short Codes to embed a YouTube video

11 July 2011 at 10:54pm
Well blog entries *are* pages so it should work fine. Unless you're using BBCode for your blog - which in that case I recommend not using BBCode as it's so much more annoying compared to HTML.
| 960 Views | ||
|
Page:
1
|
Go to Top |


