Updates in SmartyExtend set var calls

Removed cms object from Frontend and replaced with optional smarty data
array (HEADER, DATA, DEBUG_DATA)
Updated admin call that if $cms is given above data will be extracted.
Added a CONTENT_PATH option for admin, must be set if $cms is set
Is used for the adbTopMenu call
Moved the $cms global check and trigger to the admin call branch only
This commit is contained in:
Clemens Schwaighofer
2023-03-13 11:29:21 +09:00
parent d56ee68482
commit fc57aabf5d
3 changed files with 64 additions and 27 deletions

View File

@@ -1,6 +1,9 @@
<div>
SMARTY_TEST: {$SMARTY_TEST}
</div>
<div>
MERGE DATA: {$adm_set}
</div>
<div {popup width="250" caption="Info" text="Text block<br>Control"} style="border: 1px solid black; margin: 5px 0 5px 0; padding: 5px;">
POPUP HERE (hover mouse)
</div>