# New Installation

### Website Domain

The site where a component has been installed should be installed in domain or sub-domain ( a root of the site), otherwise, some images may be not displayed e.g. map markers.

Install on **Domain/Subdomain** rather than the directory:

##### <span style="color: rgb(224, 62, 45);">www.site.com/mysite **WRONG**</span>

##### <span style="color: rgb(45, 194, 107);">www.site.com  **CORRECT** </span>

##### <span style="color: rgb(45, 194, 107);">www.mysite.site.com  **CORRECT** </span>

### Installation

We recommended using the newest stable release of Joomla version.

If you have already downloaded the extension, unzip it first to a temporary directory. You will see two packages:

<div bis_skin_checked="1" class="wiki-content" id="bkmrk-com_jomcomdev.zip-%28m">- **com\_jomcomdev.zip** (*main framework*)
- **com\_jomdirectory.zip** (J*omDirectory extension*)

</div>Both packages need to be installed but be sure <span style="color: rgb(45, 194, 107);">to install **com\_jomcomdev.zip** first</span>

The easiest way to install the extensions is by using the **Upload Package File** option. Just click on the **Choose File** button, and locate the extension.

Once you've selected the correct file, click **Upload File and Install.** Joomla will then automatically extract and install the extension for you.

### Installing from directory

From time to time you may find that the **Upload Package File** option is having a bad day (there's always a reason). If you find yourself in this position, you can either troubleshoot and fix the problem, or you can use the other option Joomla provides to install an extension: **Install From Directory**. To use of this option, you'll need FTP access, or another file access and transfer protocol. Your hosting provider will be able to give you the information you need in order to gain FTP access to your web files. Once you have FTP access, you'll need to upload the zipped extension into the public directory of your Joomla website (generally called **public\_html**).

From here, just provide Joomla with the file location of the extension under **Install From Directory**, and again Joomla will extract and install the extension for you.

Remember to install both packages.

<div bis_skin_checked="1" class="wiki-content" id="bkmrk-com_jomcomdev.zip-%28m-1">- **com\_jomcomdev.zip** (*main framework*)
- **com\_jomdirectory.zip** (*jomdirectory extension*)

</div>### Creating Administration Menu Links

Go to the System -&gt; Administrator modules and insert new. Than choose Administrator Menu. From the presets, select Comdev and place it under menu position. Do the same for the JomDirectory

<span class="confluence-embedded-file-wrapper confluence-embedded-manual-size">![](https://wiki.comdev.eu/download/attachments/4194525/screenshot-2021-12-22-19-30-33-536.jpeg)</span>

### .htaccess file

These are step-by-step instructions. Please follow them in the order they are presented here. If a step fails, **do not** continue until you have solved the problem.

<div bis_skin_checked="1" class="wiki-content" id="bkmrk-rename-the-file-%22hta">1. Rename the file `"htaccess.txt"` in your Joomla!'s base folder to `".htaccess"`.
2. *This step may not be necessary.* Open `.htaccess` in a text editor. Uncomment `RewriteBase /` (remove the first character, #). If Joomla is installed in its own folder, the enter the Joomla folder name after the backslash. e.g. `RewriteBase /yourjoomlafolder`.
3. Log on to your Back-end and open the Global Configuration.
4. Enable the **Search Engine Friendly URLs** option and *Save*. This option converts the URLs from the native Joomla! format to the SEF format.
5. Enable the **Use Apache mod\_rewrite/URL rewriting** option and *Save*. This option uses the Apache *mod\_rewrite* function to eliminate the "index.php" portion of the URL.   
    (Note:This can in some circumstances stop your Joomla front end working, if it does set back to No)
6. *If you think it's necessary*, enable **Add suffix to URLs** and *Save*. This option adds `.html` to the end of URLs. There are different opinions on whether this is necessary or even useful. Search engines do not seem to care if your URLs end in `.html` or not.
7. Open the Plugin Manager and enable the **System - SEF plugin**. This plugin adds SEF support to links in your Joomla articles. It operates directly on the HTML and does not require a special tag.

</div>### I have problem installing...  


Because Extensions is actually quite an advanced componenst, the size of the installer exceeds 2mb which is the default configuration that is set by most hosting companies. If you have problems installing, you might want to try to contact your hosting provider.

If your hosting provider allows you to override the php settings by adding a php.ini file in your document root, containing the following block of code.

```bash
upoad_max_filesize = 12M
post_max_size = 12M
memory_limit = 32M
max_execution_time = 120
```

<div bis_skin_checked="1" class="wiki-content" id="bkmrk--4"><div bis_skin_checked="1" class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div bis_skin_checked="1" class="codeContent panelContent pdl"><div bis_skin_checked="1"><div bis_skin_checked="1" class="syntaxhighlighter sh-default nogutter  java">  
</div></div></div></div></div><div bis_skin_checked="1" class="wiki-content" id="bkmrk-upload_max_filesize-"><div bis_skin_checked="1" class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div bis_skin_checked="1" class="codeContent panelContent pdl"><div bis_skin_checked="1"><div bis_skin_checked="1" class="syntaxhighlighter sh-default nogutter  java" id="bkmrk-upload_max_filesize--1"></div></div></div></div></div><div bis_skin_checked="1" id="bkmrk--5"></div>