Adding a “Prepend” Option to URLs generated by the {exp:structure:nav} Tag

In mod.structure.php function nav() insert the highlighted line: [php highlight=”81″ firstline=”76″] … // Miscellaneous parameters $depth = $this->EE->TMPL->fetch_param(‘limit_depth’, 1); $exclude = $this->EE->TMPL->fetch_param(‘exclude’, NULL); $mode = $this->EE->TMPL->fetch_param(‘mode’, ‘sub’); $prepend = $this->EE->TMPL->fetch_param(‘prepend’, NULL); … [/php] And before …