Re: Sidebox include external file?
You first need to thouroughly understand how the sideboxes are generated.
The file includes/modules/sideboxes/sidebox_name.php retrieves relevant data from the database if required, and/or from the defines within it. It also determines the sidebox template file to be used, and the final layout box that is used to display the information.
The sidebox template (includes/templates/template_default/sideboxes/tpl_sidebox_name.php) formats the content, and puts it all into the variable $content.
The final rendering is then done by the file includes/templates/template_default/common/tpl_box_default_left.php (or right.php).
That file simply takes the content of the variable $content that is sent to it by the sidebox template.
What you will need to do is customize your sidebox module and sidebox template, and use a separate tpl_box_my_left.php to display it - that way you will be able to put your include statement where you need it to be so your content gets included correctly.
Neville
An assumption is what you arrive at when you get tired of thinking...
Bookmarks