Add $theme->footer(); to your footer.

------------------------------------------------------------------------

        Scott Merrill <mailto:[email protected]>
February 18, 2011 10:00 AM



I already had that:
<link rel="stylesheet" type="text/css" media="screen"
href="<?php Site::out_url('theme'); ?>/style.css">
<link rel="openid.server" href="https://www.myopenid.com/server";>
<link rel="openid.delegate" href="http://skippy.myopenid.com/";>
<?php $theme->header(); ?>
</head>
<body>

If you look at the source of my site, you'll see that after the openid
stuff comes the Atom and RSD links. Yet no Google Analytics code is
being displayed. :(

------------------------------------------------------------------------

        Owen Winkler <mailto:[email protected]>
February 18, 2011 9:56 AM




The easiest way to make this work seems to be to add this code inside the <head> tag of your theme:

<?php $theme->header(); ?>

This will output all of the necessary stacks (javascript and css), the feed RSD, and any other plugin-provided header output.

Owen


------------------------------------------------------------------------

        Scott Merrill <mailto:[email protected]>
February 18, 2011 9:50 AM


I had previously hard-coded my Google Analytics script in my
footer.php, but decided today to use the Google Analytics plugin.

I installed and activated the plugin, but I don't see anything
relevant being output in my theme. I guess I need to modify my theme
somehow to trigger the plugin, but I'm not sure what I need to do. I
think it has something to do with the Stack and javascript ... ?


--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/habari-users

<<inline: compose-unknown-contact.jpg>>

<<inline: postbox-contact.jpg>>

Reply via email to