Forums / Install & configuration / Script in sectione HEAD

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Script in sectione HEAD

Author Message

Przemek Niemczuk

Thursday 21 May 2009 9:17:49 am

I have to put the script in the HEAD section. How do I do this?

best regards

PN

primo

Ivo Lukac

Thursday 21 May 2009 12:26:20 pm

This could help you:
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/design_ini/javascriptsettings/javascriptlist

Cheers

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Przemek Niemczuk

Thursday 21 May 2009 1:34:43 pm

I do not know whether the end of a well-understood. I put the following entry in the settings page: JavaScript=design/standard/javascipts/cormedia/cormedia_glowna.js

but I see the source of the page <meta name="JavaScript" content="design/standard/javascipts/cormedia/cormedia_glowna.js" />

I do not know whether the code works so placed?

primo

Ivo Lukac

Thursday 21 May 2009 9:50:36 pm

[More detailed]

In your settings/siteaccess/your_siteaccess/design.ini.append.php place this:

[JavaScriptSettings]
JavaScriptList[]=javascipts/cormedia/cormedia_glowna.js

And then, of course clear caches

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Przemek Niemczuk

Friday 22 May 2009 11:41:00 pm

Thanks for the help, but still something is wrong.

The source of the page: http://treningbiegacza.pl/ I posted these imports, but they do not work. The script is still not responding.

primo

Ivo Lukac

Saturday 23 May 2009 2:14:40 am

Well, I can see from the source that it is included so you configured ini files ok. Why include it 3 times?
Why is it not working in the way you expect I don't know, just helped with ini configuration.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac