794 Posts in 408 Topics by 304 members
|Go to End|
19 March 2009 at 4:33pm
I ask for two reasons:
1. the Wiki says: "Blog Widgets: A module can provide 1 or more blog-widget classes. See widgets for more information."
2. I cant get the YouTube widget to work and another user has posted that theirs [YouTube widget] works only in the blog
Have I just picked a widget that works with blogs only or does it apply to all widgets?
21 March 2009 at 1:25am
Many thanks for the link, but it doesn't seem to work for me. Have I missed something in the code? I am trying to implement the RandomContentWidget, but putting the code in the forum just gives me an error.
Many thanks for any help
21 March 2009 at 11:20am Last edited: 21 March 2009 11:26am
Not sure why the link doesn't work for you, without it though I haven't exactly answered my own question for you.
The answer is yes and no.
Widgets are, by default, for Blog pages only. However, you can add them to other pages by including some code - which is a little beyond my understanding of SS right now, it's only been a week!
The relevant documentation is here:
The link that didn't work for you has a detailed discussion about implementing widgets across a range of pages, if the link still doesn't work try searching for "General Widget Question" which is the title of the topic.
hope that helps
27 March 2009 at 2:47pm
Make sure you remove the WidgetAreaEditor from the blog page's getCMSField() function.
|Go to Top|