Administrator Substitution
Administrator Substitutions provide logged-in administrator data.
{admin attr="one_of_the_following"}Attributes
| firstname | |
| id | |
| lastname | |
| locale | The administrator locale |
| login | |
| profile_id | The profile ID |
* : this is a DateTime information.
You can therefore specify 2 optional specific parameters :
- `output` which takes 'date', 'datetime' or 'time' as value
- `format` which take a PHP date format. The locale format for the current language will be used if this parameter is empty or missing
ie : {product attr='createdAt' output='date' format='Y-m-d'}