Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 9, 20204 yr How to get the ID of the record on Pages templates? I have tried: $record->id $record->_id $record->primary_id_field
November 9, 20204 yr ->primary_id_field would be right, but you need to make sure the variable is correct. If you are in a different template inside a loop it could be $row for instance instead.
November 9, 20204 yr Author ->primary_id_field would be right Perfect, I guess caching was the reason it did not work before.