Create a new plugin folder in user/plugins/example, and add those files:
user/plugins/example/example.php
user/plugins/example/example.yaml
Then in your twig, you'll have the users
object available:
{{ dump(users) }}
#!/opt/local/bin/php | |
<?php | |
/* | |
1) replace the shebang (first line) with the path to your php binary | |
(probably something like /usr/bin/php) | |
2) move the file to /usr/local/bin/datauri.php | |
(this should be in your PATH) | |
3) chmod ugo+rx /usr/local/bin/datauri.php | |
(make the script executable for everyone) |
Create a new plugin folder in user/plugins/example, and add those files:
user/plugins/example/example.php
user/plugins/example/example.yaml
Then in your twig, you'll have the users
object available:
{{ dump(users) }}