I'm developing a custom form field for my template and I need to know the name of this template from inside this form field. While otherwise I would do a
setQuery to look for
client_id=0 and home="1", this case is different because you can edit template styles even if they're not set as default.
My guess is that I need to read the current URL, get the item id and do a
setQuery on this one. For that I would probably have to do some Uri method I'm still looking for.
Any idea if there's a better way please?