Questions tagged [autoload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
818 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
239 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
149 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 ...