How can I add , at example, “2019-03-13-” to my page slug (would be useful for news or blog pages or something similar), after saving page, automatically? And get this value from my “date” field at example.
Yes, if you want the date in the slug, you have to use a hook. However, renaming a page via a hook will result in your current panel URL becoming invalid.
Yes, the number (when publishing a page) doesn’t become part of the URL. What you could do, however, instead of adding the date to the slug, is use a route to catch a URL with the date in it and return the corresponding page.
To actually print that URL when linking to that page, you can change the URL method in a page model.
Yes, if it is ok to do it manually. The hook option would be nicer but I’m currently not sure if and how to redirect to the new Panel URL from the hook.