Timeline for customised slugs using custom field
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 12, 2015 at 11:33 | vote | accept | Steven Grant | ||
Feb 11, 2015 at 15:07 | history | edited | Jamie Wade | CC BY-SA 3.0 |
The slug would automatically generate off the title field anyway. Thanks Douglas.
|
Feb 11, 2015 at 15:05 | comment | added | Jamie Wade | @DouglasMcDonald Good thinking, thanks. I'll update the answer. | |
Feb 11, 2015 at 15:02 | comment | added | Douglas McDonald |
Jamie. I would suggest just setting the sections 'title' to { firstName } { lastName } and leave the 'uri' set to /people/{slug} . The slug will automatically pick up the title if left blank when saving the entry. It will also not throw an error if you have 2 records with the same firsName/lastName, and you will still be able to use the 'slug' attribute in your templates if you need to.
|
|
Feb 11, 2015 at 12:43 | history | answered | Jamie Wade | CC BY-SA 3.0 |