Frequently Asked Questions | Dec 10, 2024 - 12:14pm |
|
|
Frequently Asked Questions Common Problems and Solutions Common Customization Problems & Questions
Why do overriden macros sometimes revert to default operation?
Rate This FAQ
(Not yet rated)
|
Created On: 5 Mar 1999 11:28 am Last Edited: 22 Oct 1999 12:26 pm |
Question |
|
|
Sometimes a user redefines a standard macro such as %% toolbar %% and finds that sometimes it works, and other times the default operation is used. |
Answer |
When a built-in macro is redefined in the webx.tpl file and then called from another macro, the %% use %% directive is required to call the redefined macro. For example:
%% macro myFirstTest %%
%% toolbar %%
%% endmacro %%
will show the default toolbar, while:
%% macro mySecondTest %%
%% use toolbar %%
%% endmacro %%
will show a new toolbar macro defined in the webx.tpl file. |
|
|
|
|