_tpl_vars; $this->_smarty_include("location.tpl", array('last_location' => 'Editor mode')); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>
_tpl_vars['editor_mode_enabled']): ?> You are now in Webmaster mode; you can now directly change any language label stored in database from pages it appears on.
Open customer area in new window
To close Webmaster mode press the button below.
A webmaster mode makes changes to language variables (denoted as "$lng.XXX" in templates) easier by changing those values in WYSIWYG mode.
Usage
Go to the page you want to change. Additional "templates" window will appear with the list of all included templates. You can call template editor from it by clicking a template. Notice that the browser status line (at the bottom) changes when you move the mouse over the site. It indicates (a) template name and (b) label name where the mouse is. To change the label, click it. If the label is under a hyperlink, move mouse over it (its name appears at the bottom) and press "e" (Edit) on the keyboard. Label dialog appears. You can (1) preview the site after setting the label, (2) save the text into the database, and (3) copy the label name into the clipboard (IE only).
More tips:
_smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean(); ?> _tpl_vars; $this->_smarty_include("dialog.tpl", array('title' => 'Editor mode','content' => $this->_smarty_vars['capture']['dialog'],'extra' => "width=100%")); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>