Recent Topics

1 Jan 28, 2016 16:29    

I would like to embed a piece of JavaScript code that will send information to a tracking service that I use. It is typically placed in the <head> section of the homepage. Any idea as to the /path/filename that it goes in?

Thanks.

2 Jan 29, 2016 01:43

May be the file skins_fallback_v5\_html_header.inc.php, have a try.

3 Jan 29, 2016 02:32

Good job, Haharen! I never would have guessed that folder.

4 Jan 30, 2016 09:25

@rsthomas @haharen touching core files is not a good idea unless there is no more option, which is not the case in this situation. There are many "correct" ways to do it, but I think this is the easiest:

Please check this page: http://b2evolution.net/man/skin-and-style (follow the breadcrumb to find that screen in the back-office) and paste your code into the Custom meta tag/css section (before </head>): field.

Please see the screenshot below.

Regards!

5 Jan 30, 2016 10:22

@mgsolipa

Yes, it's really the best way. Thank you for reminding me.

6 Feb 02, 2016 21:34

Thanks, mgsolipa!! Yes, definitely the easiest, once I found out from you that there is a place to put it without breaking into the code.

My site has three main headings/collections, so I put the code in the Advanced/Skins and style section of each -- is that the best way to make sure if someone lands on any of the three collections, the code will be activated?

7 Feb 04, 2016 01:32

is that the best way to make sure if someone lands on any of the three collections, the code will be activated?

yes.

8 Feb 04, 2016 03:55

Roger that, thanks! Over and out...


Form is loading...