I need an advice. Is there any downsides when embedding views in the page/node tpl files like the following:
<?php print views_embed_view('course_videos', 'block_1'); ?> and this
<?php $key = views_get_view_result('course_videos', 'block_2'); ?> in the node.tpl files
I am little bit concerned cause I've read several articles saying you must not query the db or use a complex php logic in the tpl files. Everything's working like a charm now. The site is still not in production though...
Thank you in advance!