More Settings for everyone
So today bI was able to add a setting to handle the appearance of a menu, I put refactored breadcrumbs so that they appear only in the system skin (and another setting for that, I already did this but was broken). Then a setting for the elements in the menu, defaulting to all the scaffolded controllers + AdminController.
Also did some nice xhtml cleanup, removing evil <br> tags, and making the search page more obvious (now you can understand that even if search will not work withouth a Model.search advanced search still will, due to it working via query_by_example).
I also checked (didn’t for a while) that everything is working fine with relations. Answer: no, if you’re using SQLite, it is utterly broken. took me a lot to find out this because, for some strange reaosn, I had other bugs that suddenly disappeared once I colsed my terminal. Go figure. Anyway, I was able to use it with MySQL, so the problem is in Og’s SQLite adapter.
Also, pulling the latest patches from george seem ok, just a tiny microconflict in Og.setup.
I can even tell you that facets 1.7 breaks Og horribly.
Then I went to refactor the controllers so that every scaffolded thing inherits from AdminController when they are generated together. But guess what? I impacted in a strange problem: it seem that the template root get messy when using inherited controllers.
Given FooController and a subclass BarController the template path of the former will be used with the latter, obviously causing bugs.
But I’ve been hacking for something like 15 hours so I need some rest.
Leave a Reply (use Markdown Syntax)