facebook like doesn't work on child page from themetheme
I have this code into a template:
<div class="wasocial_facebook_like">
<div id="fb-root"></div>
<script src="http://connect.facebook.net/nl_NL/all.js#xfbml=1"></script>
<fb:like href="<?php echo urlencode(((!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]); ?>" send="false" layout="standard" width="170px" show_faces="false" action="like" colorscheme="light" font=""></fb:like>
</div>
From that template I created a theme, now the facebook like doesn't wrok in childpages from that theme. Somehow it inserts "Templates/" in the action and href on the child page: