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.

Blog Module

Discuss the Blog Module.

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



5 Posts   1639 Views


7 April 2009 at 7:49pm Community Member, 26 Posts

Hi I'm new to SS, I've got a couple of new questions regarding using the blog module as a podcast:

1. How do I add an mp3 to an entry? and would the mp3's be showing correctly in the RSS feeds?

2. How do I change the url away from ? I unzipped to, did the /db/build?flush=1, but my podcast url is still

3. I will be adding a blog to my site in the future as well, will I be able to use this blog module multiple times? i.e. one instance at and one at ?

Thanks for your help.


7 April 2009 at 9:19pm Forum Moderator, 5511 Posts

1) Yes you can add an MP3 to a page - see tutorial 2 for adding fields to pages. If you want to add them to blog entries you have to 'decorate' the standard blog module (unless you want to edit the actual module files).

You would want to add this to your mysite/_config file - this tells SS that you have a custom code that you want to use ontop of BlogEntry

DataObject::add_extension('BlogEntry', 'MP3BlogEntry');

Then you would what to create a MP3BlogEntry.php file in mysite/code/ with the information you want to add to the BlogEntry. See for my example code.

2) You can edit the URL on the 'Blog' Page in the cms - look under the 'Content' -> 'Meta Data' tab

3) Yes you can create as many instances of the BlogHolder / BlogEntries as you want


8 April 2009 at 12:53am Community Member, 26 Posts

Thanks for that! Now I understand a little bit more about how SS works. One more question:

It looks like it wasn't necessary for me to unzip to the [SS base install]/podcast directory, how do I change it back to [SS base install]/blog? Can I simply rename it?


8 April 2009 at 11:00am Forum Moderator, 5511 Posts

should just be able to rename it.


24 April 2009 at 12:09am Community Member, 26 Posts

Now, how do I get the mp3 download link appear in the rss feed?