5519 Posts in 1734 Topics by 1223 members
|Go to End|
26 March 2011 at 3:00am Last edited: 26 March 2011 3:07am
Im using the many_many-example (http://doc.silverstripe.org/old/recipes:many_many-example?s=categories) to create categories for my project. Evertyhing was going according to plan until i try to add a new category. The name is not saved in the database and when i check in the db its saved as NULL instead of what i enterd. If i change them from null to a new name in the db manually they stay saved with the new name.
Im using Silverstribe 2.4.5 and MySQL client version: 5.1.41.
I copied the code from the example and created a new ArticleHolder with a Article subpage, so i figured it should work since i havent changed any of the names and such.
edit: Also im getting <% sprintf(_t('ADDITEM','Add %s'),Category) %> next to the + sign in the cms where im suppoed to add the category. Dont know if that is something that is worth to be mentioned.
Im really new to this so maybe that example doesnt work anymore.
Thanks in advance for any help i can get!
|Go to Top|