jimport is a function that is used to include Joomla library files.

How to use Jimport:
  1. Find the path to the library file you want to include.

    • In our testing, we want to import /libraries/joomla/filesystem/path.php
    • Jimport will only import files found within the libraries folder.

  2. Make the following changes to the path:

    • Remove /libraries/ from the path
    • Remove .php from the path
    • Replace slashes with periods in the path

    After following the steps above, /libraries/joomla/filesystem/path.php will be:

    joomla.filesystem.path

  3. Take this new path and pass it to jimport, as in:

    jimport('joomla.filesystem.path');

If you followed along with the above example, you can see in the screenshot below how jimport is works:

Continued Education in Course Joomla 3
You are viewing Section 16: Jimport
Section 15: Updating article hits when using Joomla cache
Section 17: Fatal error: Call to undefined method - Joomla 3 Component Development
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!