11001 Posts in 2733 Topics by 1823 members
|Go to End||Next >|
1 October 2009 at 11:21pm
Also, I have tried overwriting the $menu_priority variable using Object::set_static, but it doesn't seem to work for the Class CMSMain
2 October 2009 at 3:48am
Right, I have just released version 0.3. It seems to be more stable and should play better with CMSWorkflow.
I have also added some static variables:
If you add for example:
DashboardAdmin::$rss_url('http://rss/url') to your _config.php file, this will overwrite the default feed address.
The other variables accept Integers, and represent the maximum number of pages/files/unmoderated comments will be shown.
Hope that helps, hope you enjoy
2 October 2009 at 4:48am
Gah! It collides with DOM.
"I can't handle sub-URLs of a DsCMSMain object."
2 October 2009 at 4:52am
What version of SS are you running?
2 October 2009 at 5:03am
No.. DOM = DataObjectManager. Sorry.. that acronym has taken on a totally different meaning in Silverstripe.
2 October 2009 at 5:09am
Is there a better way to do that, in which case, I could remove that class?
2 October 2009 at 5:30am
2 October 2009 at 6:05am
It ideally needs to be the last file loaded, or into the page.
Why is DOM looking for sub-URL's? Surely it should just look at CMSMain for those, as DsCMSMain is just an extension of it?
|Go to Top||Next >|