eZ Community » Forums » Setup & design » Where can i edit the header?
expandshrink

Where can i edit the header?

Where can i edit the header?

Tuesday 15 June 2010 10:51:18 am - 3 replies

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!

Tuesday 15 June 2010 1:30:41 pm

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

Tuesday 15 June 2010 3:36:59 pm

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?

Wednesday 16 June 2010 2:44:20 pm

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)

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from