Hi,
Im using way finder and constructed a similar 3 tier drop down like that of the ultimate drop down.
What I would like is for "parentRowHereTpl" to only be applied to Tier 1 navigation items, when on the subpages of the Tier 1 section or the Tier 1 section page itself.
If I had these pages:
> Main Page (Level Zero - Tier 1)
> Subpage - Drop Down - Tier 2
> Sub- Subpage Drop Down - Tier 3
So I would like "parentRowHereTpl" to put the "Main Page" button in the "Here" state even though I’m on the Tier 2 and Tier 3 pages.
I looked in wayfinder.inc.php and found, but couldn’t configure correctly?
elseif ($resource['id'] == $modx->documentObject['id'] && $resource['isfolder'] && $this->_templates['parentRowHereTpl'] && ($resource['level'] < $this->_config['level'] || $this->_config['level'] == 0) && $numChildren) {
$usedTemplate = 'parentRowHereTpl';
Has anyone tried to do this? Could anyone help me? Would be very appreciated, Thanks.