PDA

View Full Version : help with template edit through product


harmor19
10-24-2005, 03:34 PM
I have a product and in that product I have

<hookname>global_start</hookname>
<phpcode><![CDATA[

$vbulletin->templatecache['navbar'] = str_replace('#<!-- / NAVBAR POPUP MENUS -->#', '<!-- / NAVBAR POPUP MENUS -->Testing', $vbulletin->templatecache['navbar']);

In the navbar template I want it to look for "<!-- / NAVBAR POPUP MENUS -->"
and replace it with "<!-- / NAVBAR POPUP MENUS -->Testing"