I'm just thinking that you are evaling it at the wrong time and I'm not sure what to suggest regarding that. For instance, I happen to have member.php opened and the $navbar array isn't contructed until the very bottom of that page. Therefore, if you pick any hook location that gets evaled *before* that point, you aren't going to get it evaled correctly. The only hook location after that is member_complete. But, that isn't available on every page. So, I'm not sure how you are supposed to go about this without having several plugins that eval your template all for different pages.
|