Topic Closed
Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

Josh,

I noticed that some of the plugins of mine you worked on for the next version of gpEasy combined the css & js but didn't have

 

[GetHead]
script = script.php
method = plugin_function

Did you make changes so this isn't required?

If it is still required how do you add multiple scripts?

The TipTip plugin has several gadgets but they all use the same js file. Would I add multiple "script = gadget_name.php" or something else?

 

Edited: 9 years ago#2068

Josh S.
2K Posts
290K Downloads
16 Themes
18 Plugins

[GetHead] is not needed in the ini file.

The new methods for gadgets will call the appropriate gadget functions just before the template.php file is included. This will allow gadgets to add css and javascript to the head of the document without using the [GetHead] hook.

9 years ago#2075

Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

Thanks!

I didn't update the documentation for it as. . . well, I'm pretty clueless on the programming end of this stuff and don't want to muck any of it up :)

 

9 years ago#2083

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register