1036 Posts in 810 Topics by 315 members
|Go to End|
27 February 2009 at 11:43am
I received the following when trying to view a forum on the published site.
Fatal error: Call to undefined method Controller::currentcontroller() in D:\wamp\www\SilverStripe-v2.3.0\forum-v0.1.2\code\Forum.php on line 155
I see there's a new forum module under development. Is this due out soon? Maybe this will resolve my problem if I wait for it.
27 February 2009 at 2:40pm
Hey Bruce, Try the RC. It is pretty stable with SilverStripe 2.3. These forums are running it, we just haven't got round to releasing it as stable yet.
27 February 2009 at 4:08pm
That seems to work.
If I wanted to set up a customised Forum holder and forum pages (layouts, colour, positioning, spacing etc) what's the best way to go about that?
Is there a tutorial to explain this procedure?
27 February 2009 at 5:26pm
If its all just css/ html changes then you can copy forum/templates forum/css forum/images to yourthemename_forum/*
So you should have
Now you can edit away at the files in yourtheme_forum! without touching on the forum/ folder
27 February 2009 at 5:52pm
I'll have a crack
It all sounds so simple - if only I knew what I was doing???
28 February 2009 at 2:51pm
Basically you can override the default theme by defining your own custom theme. Eg if you installed with the BlackCandy theme the theme is stored in themes/blackcandy. Now when you add a module it first looks for its templates, images and css from themes/blackcandy_forum as blackcandy is the current theme. If that does not exist it uses the default styles in forum/.
So if you want to override any default styles (this covers the templates in sapphire and cms as well as any modules) you just need to create a yourcurrenttheme_modulename folder and place the files in there. This is whats known as a subtheme.
|Go to Top|