permalink use record 'num' field
I have a problem, I need to use the record Number 'num' field in the permalink, but it will not allow me to do this.
$GLOBALS['PERMALINKS']['autopopulate_fromFields'] = array('num', 'name', 'title'); // the first field in this list with content will be used to create the permalinks. To use multiple fields separate them with spaces
This is a problem for me as using this field to denote the invoice number, and generating a permalink, this will ensure that the invoice numbers will remain intact and as direct links on the system. I can not use another field as they would not auto-increment, and I do not want them to be manually entered.
I can't find a solution to this.
any suggestions greatly recieved.
I have tested the permalinks plugin locally and it works with num field being used to created permalinks. Could you provide more details about what you want to achieve so we can identify what your issue is?
Is the permalink field set to be required or are you logged in as a non-admin user? When I test it with the admin account (And permalink not being admin only) and not required permalink field it works.
Logged in as admin, permalinks field set to everyone and not required.
still not working