InMotion Hosting Support Center

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 19: Jimport
Section 18: Updating article hits when using Joomla cache
Section 20: Fatal error: Call to undefined method - Joomla 3 Component Development

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!

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

   
Social Login Joomla

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

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!