❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$page->diruri()
Returns the full directory path of the page starting at /content
return
(string)
Example
<?= $page->diruri() ?>
↑
Cheat Sheet overview
←
$page->dirname()
→
$page->document($filename = false)
↓
Back to Cheat Sheet section
Top