I just found out there must be a bug with a tpl override, it will result in a empty/broken page.
if the sidebox_dropdown.override.tpl is used, it will break.
error.log:
[quote]PHP Fatal error: Uncaught exception ‘SmartyException’ with message ‘Unable to load template tygh ‘blocks/sidebox_dropdown.override.tpl’ in ‘addons/my_changes/hooks/blocks/sidebox_dropdown.override.tpl’’ in /xxxxx/app/lib/other/smarty/sysplugins/smarty_internal_templatebase.php:127[/quote]
The problem is caused by this include:```php
{include file=“blocks/sidebox_dropdown.tpl” items=$item.$childs separated=true submenu=true iid=$item.$item_id}
<br />
seems the problem is caused because the override tpl is recursively called.<br />
<br />
Any idea on a fix ?
The fix they posted works if you're trying to override sidebox_dropdown, but I was actually trying to override sidebox_dropdown_element (which is inside sidebox_dropdown).
Anyways, I'm just now going to use sidebox_dropdown.override and not sidebox_dropdown_element.override like I did in V3.
(It does sound like a bug to me. It worked fine in V3)