Content visible to verified customers only.
Based on what your posting as long as the custom template contents are this it should work based on what your telling me as long as the path to the file is correct. The only advise I can give is what I am posting above because based on your html php include thats what the code would look like in our custom template since it is already a php file format. You would want to make sure in the Admin => Sidebar Options the sidebar and custompal are turned on.
Otherwise if this continues not to work since this is dealing with a software that is not manufacturered by us any support on that code or why it would not print would come from the manufacturer of that specific software. They would probally be able to tell you why it would not work if this continues to be an issue.