I have a client site which utilises the SEO lite module. The client has come back with a feature request which I'm trying to figure out a way to achieve: they want to pre-populate the SEO fields on a number of channels using the title and description channel fields, but then allow the admin user to edit those values before saving/publishing.
(I know that in my templates I can can fall back to channel field content if the SEO lite fields are empty, this is more about providing a convenience for the client in filling out the SEO Lite fields)
I'm thinking I can do this by writing a custom extension to inject some JS into the CP on publish/edit forms.
I can write the JS easily enough, but need some advice on the extension side of things.
Questions:
- Is a custom extension the best route?
- Can some one point me towards a good template / existing xtn to use as a basis (ie just injects custom JS into the public/edit view, uses similar hooks etc)?