Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions core/components/wayfinder/wayfinder.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,13 @@ public function renderRow(&$resource,$numChildren) {
$placeholders['wf.subitemcount'] = $numChildren;
$placeholders['wf.attributes'] = $resource['link_attributes'];

// Add every parameter prefixed with an underscore to the placeholder array
foreach ($this->_config as $key => $value){
if( $key[0] == '_' ) {
$placeholders["wf.$key"] = $this->_config[$key];
}
}

if (!empty($this->tvList)) {
$usePlaceholders = array_merge($placeholders,$this->placeHolders['tvs']);
foreach ($this->tvList as $tvName) {
Expand Down