MojoMotor

Contact Us

Partial MojoMotor Implementation for your Site

Sometimes a client only needs to be able to edit certain sections of their site. MojoMotor is perfect for this. You can import only the pages you want editable, then simply upload your other, non-editable, pages into the web root as you normally would. This is a fairly simple process so let's look at an example.

For our example, we are going to be building a small site for a local hardware store. The owner only wants to be able to edit the sites Products section. Knowing this you come up with the following site structure and get started:

  • Home
  • Products
    • Nuts
    • Bolts
    • Electrical
    • Tools
  • Services
  • About
  • Contact

After designing and coding up the site, you will first need to do is prepare the site for Import into MojoMotor. You will want to import only the Products page, and the Product sub-pages. You can find more information on how to prepare your site in the user guide or by watching the screen cast.

After the site is prepared, you will need to install MojoMotor. Remember to select your site for import when running the installer. If you need more information regarding the installation you can look in the user guide installation section and importer section. There is also a screen cast about installing MojoMotor.

The next step is to rename your index.php file so that it is available by visiting http://example.com/products.php. This will allow you to still use an external file as your home page. To do this, simply do the following:

  1. 1. Rename the "index.php" file to "products.php"
  2. 2. Open system/mojomotor/config.php
  3. 3. On line 27 change "index.php" to "products.php"
  4. 4. Save the file and close it.

You can now test your Products section by visiting http://example.com/products.php.

The last thing you need to do is upload your static files to the server. You will also need to make sure that you use the correct URLs when linking between the Products section and the static pages and from the static pages to the Product pages. Your Product URLs will be in the form of http://example.com/products.php/page/page_uri_here.

Now your client can create, update and delete product pages easily inside MojoMotor, while not worrying about the static pages.