Forums / Setup & design / Where can i edit the header?
Timo Bahr
Tuesday 15 June 2010 1:51:18 am
Hello !
i need to add "xmlns:fb="http://www.facebook.com/2008/fbml" to the header of every page! I think its where also "http://www.w3.org/1999" is defined. Can you help me? Thanks a lot!
Robin Muilwijk
Tuesday 15 June 2010 4:30:41 am
Hi Timo,
You can add this to the page_head.tpl template file. This is where you find meta tags such as generator=ez publish (around line 50).
If for example you are using eZ Publish with the eZ Webin extension look in:
/extensions/ezwebin/design/ezwebin/templates/
You can of course also do a search for the mentioned filename.
Regards, Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation. LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
Tuesday 15 June 2010 6:36:59 am
Thank you sooo much!
And where can i edit the body to insert this:
<div id="fb-root"> <script> window.fbAsyncInit = function() { FB.init({appId: '0000000000000000', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/de_DE/all.js'; document.getElementById('fb-root').appendChild(e); }());</script>
on every page?
Gaetano Giunta
Wednesday 16 June 2010 5:44:20 am
In the pagelayout template.
Which one you are using depends on your current settings.
Enable debug to see what file is in use for your install (eg. via the admin interface, right-hand column)
Principal Consultant International Business Member of the Community Project Board