Questions tagged [libraries]

Libraries are collections of external software used in Joomla.

Filter by
Sorted by
Tagged with
2 votes
2 answers
28 views

How to find what is dependent on a particular library?

I have a library installed that I'm reluctant to remove because I don't know what is dependent on it. How can I find that out?
user avatar
  • 267
0 votes
1 answer
81 views

How to use 3rd party libraries with a Namespace?

I need to use a library I found on Github in an existing component, but my near non-existent knowledge of NAMESPACE is making it impossible. To merge PDF files, I'm using the library at https://github....
user avatar
  • 7,685
1 vote
1 answer
88 views

Sharing a MVC resources library between two components

Lets say my component is called dumbo. It contains all kind of MVC stuff and works well. Now i have a second component that is called jumbo. I need both components to share some models, controllers ...
user avatar
  • 341
0 votes
2 answers
45 views

What directory should contain GPL scripts from external source? Best practice?

I am making a custom gallery module using Light Gallery. In most cases, I would just place all my JS files inside /assets/js directory. But I wonder if this is good practice when using an external ...
user avatar
  • 213
1 vote
1 answer
81 views

Joomla Framework folder "libraries" missing

I'm having difficulties when trying to implement the example given on https://docs.joomla.org/Framework:Creating_a_Stand-alone_Application#Examples I'm trying to do the first example and I'm getting ...
user avatar
0 votes
1 answer
73 views

Creating a Library with multiple classes within a single file

I am trying to incorporate an external application as a library within Joomla which I have done before on a couple of occasions, however in this case there is a single .php file with about 20 classes ...
user avatar
  • 2,240
0 votes
0 answers
133 views

Load namespaced library from component in J!4

I'm using the latest build of J!4. I have a component that has library files under joomla_root\libraries\mycomponent but the namespaced files in this directory aren't loaded by Joomla! 4 autoloader. ...
user avatar
1 vote
1 answer
183 views

Load language files inside custom library

I have a a library inside \libraries\mylib\. That library contains an include.php which uses following to load language files that are also inside a /language folder in the library: $lang = JFactory:...
user avatar
  • 341
0 votes
1 answer
703 views

How to use external PHP library in Joomla! CLI application - Class not found

I'm working on a custom Joomla! CLI application and would like to rely on an external PHP library to reuse some functionality. // Set flag that this is a parent file. const _JEXEC = 1; ...
user avatar
1 vote
1 answer
87 views

How does Joomla initialise all active libraries and plugins?

I'm trying to import Joomla in a Yii application. It goes well, but some plugins and libraries are not loaded. Does anyone know how to achieve this? Something like JPluginHelper::loadAllActivePlugins(...
user avatar
4 votes
1 answer
1k views

Using external library with a component

My component is using phpExcel library; I put it into /libraries/phpexcel/Classes. This is an independent (and quite big) library, so I thought, that it would be wise to tell the admin where to put it ...
user avatar
  • 179
1 vote
1 answer
79 views

Including extension configuration for a library

Am I guessing right that <config> in manifest file for a Joomla library is not supported? Only for modules, components, templates and plugins?
user avatar
2 votes
1 answer
183 views

How stop update/installation by install script and mantain actual folder?

I found by Joomla 3.x, that I can use an install script something like this: class lib_exampleInstallerScript { public function install($adapter) { // during install } ...
user avatar
1 vote
2 answers
627 views

Edit Joomla 3.x library file (to customize form validation error messages)

I want to change some lines in this Joomla's 3.6.5 library file: C:\xampp\htdocs\joomla\libraries\joomla\form\form.php I searched many places to find out how to do this, but unfortunately there ...
user avatar
1 vote
2 answers
99 views

Joomla got hacked. Is it safe to replace the entire library directory

the site is very old. version 3.3.0. I don't know if the libraries folder is ever supposed to have anything changed in it or if it would be safe to just delete that directory and upload a new ...
user avatar
  • 113
1 vote
2 answers
330 views

Popup window for a custom backend button

I have created a custom backend button (JToolbarHelper::custom()), when a user clicks the button it shows a popup window with some content. How can I do so, not using JToolbarHelper::preview() as this ...
user avatar
0 votes
1 answer
1k views

Is it possbile to create custom library with namespace

It is possible to create library package with namespace as below? namespace Main{ class PrefixFolderLib1{ //functions } } Not sure how the JLoader will understand the namespace.
user avatar
  • 2,651
2 votes
1 answer
791 views

Manifest file format for installing a Library package

I cant't able to find a Joomla help page explaining how a library type extension can be installed. Joomla Manifest Files I refer the above URL and don't find any further explanation on library ...
user avatar
  • 2,651