Or dropdown, in your case
Hi all, how can I change the table name for a many many relationship (SS 4.3)? I need to change it, because the automatically generated table name is too long (and MySQL is throwing an error because of that)
good question @Tamara. you could at least refactor to a "manymany through"
but.. why is it so long? didn't you specify table names for your dataobjects so the tables are with full namespace? Can you paste an example table name?
I didn't specify table names, at first. I just did, and that fixed it
just had a look, you cannot configure the join table name directly.
There’s any way to get the
page on nested data object? its like
@mmativ what do you mean? can you please explain? Do you mean the current Page? in template or in PHP?
In PHP, yeah its like
$CurrentPage on nested data object
Controller::curr() returns the current controller, which has the curernt page. Either directly (magic), or via
This filename returns 404 unless you're logged in as admin: