Questions tagged [autoload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
31 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. ...
5
votes
2answers
142 views

Why do we need a system autoloader when we are all ready using Composer autoloading?

There is one class called JLoader which has auto loading techniques for loading the library packages. Why do we need some class for loading when we already have Composer autoloading? What is this ...
1
vote
2answers
1k views

Loading custom classes in a component automatically

I am writing my first Joomla component. I found there are 3 so called entry points. installer site entry admin entry I'd like to use some common utility classes by all of these entry points. These ...
0
votes
1answer
29 views

No autoloader for JTable etc?

How come I have to manually include JTable, JModel, etc? Is this for security reasons or just a missing feature? Edit: Top google blog post about it: http://dongilbert.net/php-autoloading-and-joomla/
2
votes
1answer
275 views

Autoloader not working import, discover & registerPrefix

I have an extension that is using autoloader to import helpers. Everything works well in localhost development environment but in the live server the classes are not loaded. I get the error "Fatal ...
8
votes
2answers
2k views

Problems auto loading classes with JLoader::registerPrefix

This is probably a really stupid question but I cannot find the answer and trial and error has failed. I am developing a component for Joomla 3.x and I have a number of classes that I want to use. I ...
5
votes
1answer
160 views

Installing php-font-lib in Joomla libraries namespacing

I am currently trying to install php-font-lib in joomla, i have been working with custom libraries in joomla for the last 3 hours, So I have absolutely no idea whats going on. I have Joomla 3.3. I ...