Topic Closed
juergen
1.5K Posts
54.5K Downloads
16 Plugins
design, web development & visual effects

When I use common::LoadComponents('colorbox') in template.php or in GetHead plugin hook, I get the JS error

colorbox_lang is not defined

when I try to invoke it. Seems to works in 4.3 and earlier.

Edited: 5 years ago#7438

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

Just fixed.

Note, there's also the common::AddColorBox(); method that will add colorbox js and colorbox_lang to a page

5 years ago#7441

juergen
1.5K Posts
54.5K Downloads
16 Plugins
design, web development & visual effects

… there's also the common::AddColorBox();

Yes, I know. Thought, LoadComponents is the newer and more future-proof method.

Thanks for fixing!

Edited: 5 years ago#7442

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

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register