Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
BHegnauer Posted May 24, 2018 Posted May 24, 2018 I'm using a Pages database to integrate with CloudFlare so our clients can make simple edits to their DNS. All of that is working great. Right now I have the title field hidden from all groups. It defaults to "DNS update in progress" so that the user doesn't need to enter anything when creating an entry, and I'm updating that title field with data I get from the CloudFlare API response (to something like [A] record.domain.com => 192.168.1.1) My problem is that the URL slug doesn't update when the title updates, so it's always something like /dns-update-in-progres-r15/... Which looks sketchy to the client. Is there a way to have this particular database ONLY use the entry ID in the URL? Is there a better way to set the title up so that it pulls the content of the other fields right away rather than waiting for the API to provide the response that triggers the entry update?
opentype Posted May 24, 2018 Posted May 24, 2018 {{$record->record_static_furl=$whatever_you_want;}} {{$record->save();}}
BHegnauer Posted May 25, 2018 Author Posted May 25, 2018 Thanks, @opentype! This helped get me on the right track.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.