Also, I have tried overwriting the $menu_priority variable using Object::set_static, but it doesn't seem to work for the Class CMSMain :(
84 Posts 15836 Views
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 :)
Gah! It collides with DOM.
"I can't handle sub-URLs of a DsCMSMain object."
What version of SS are you running?
No.. DOM = DataObjectManager. Sorry.. that acronym has taken on a totally different meaning in Silverstripe.
Is there a better way to do that, in which case, I could remove that class?
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?