Jump to content

Auto-change page URL on template save


alexm
 Share

Recommended Posts

Hi guys,

How would I go about creating a module to change the page urls when a page is save.

I would just like to change the page urls to "property$page->id" e.g. "property1068"

I can add a hook before inputfield::render which changes the field value to property but I don't know how to get the page's ID.

Any help greatly appreciated.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...