nestedset-app
nestedset-app copied to clipboard
split table for multiple translations
I understand that this package/app is probably no longer being maintained but I was wondering how would you recommend splitting the page table into 3 tables using a pivot table.
I moved the slug to the "contents" table but now I'm having trouble getting the slug through the eloquent relationship.
what would you recommend?
Thanks!
PS: I did try out cruddy but it's a little more than I need for my project.
You want to split node-related stuff to another table, right? Why three tables?
I've actually have been working on porting this app to Laravel 5 to use it as a base for a CMS.
Pages table: hold mostly numerical data Contents table: I was thinking of adding the ability to have locale based translations. I'm working towards having slugs being done in the target language. Even though I'm a native English speaker, I hate seeing every thing based on English. pivot table: But after having thought of this, I probably don't need this.
What I'm working on is going to be the front end module for this project: https://github.com/illuminate3/rakko
Ah, I see. But converting app to Laravel 5 is a real pain, I would rewrite it completely. Actually, I've been working some time on demo app for the package, but I didn't finish it yet, I can publish it for your investigation. It uses category/product theme, though.
I would appreciate it! Thanks!
https://github.com/lazychaser/laravel5-nestedset-demo