forum.webdiplomacy.net

webDip dev coordination forum / public access todo list
It is currently Sun Nov 19, 2017 7:45 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Feb 23, 2011 4:47 pm 
Offline

Joined: Thu Jan 14, 2010 7:48 pm
Posts: 87
it may be stupid, but I seem to fail in a simple task of inserting the google analytics code into the webdiplo pages... :oops:

I know it's in config.php right here:

public static function customFooter()
{
return '';
return 'Default custom server message / google analytics code.';
}

but I don't seem to be able to insert the code inside...


Top
 Profile  
 
PostPosted: Wed Feb 23, 2011 9:37 pm 
Offline

Joined: Wed Oct 08, 2008 12:47 pm
Posts: 726
You're probably forgetting to escape some special character in the analytics code?
You could consider using heredoc syntax to get round this problem.


Top
 Profile  
 
PostPosted: Thu Feb 24, 2011 9:18 am 
Offline

Joined: Thu Jan 14, 2010 7:48 pm
Posts: 87
oh £$"£&"$& ....

you're right.

thanks, figlesquidge. solved.


Top
 Profile  
 
PostPosted: Thu Feb 24, 2011 8:38 pm 
Offline

Joined: Wed Oct 08, 2008 12:47 pm
Posts: 726
alexintour wrote:
oh £$"£&"$& ....

Yeh that would cause problems if you put it in your code :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group