Translating your website into several languages will increase your audience notably.Adding the multilingual functionality to your Joomla site is just a few instinctive steps away. Let me do it even easier for you.This tutorial is going to show you how to configure a multi-language Joomla site. To perform this you need to go through the following steps:1. Install a new language2. Create a new content language with new parameters3. Enable Language Filter plugin4. Setting up Language Switcher module5. Create menu for every installed language6. Create menu module7. Multilingual articles## Step 1: Install a new languageAt first, let's add the language files for the desired language we want to use as the second language on our site.So, log in to your Joomla admin panel. Now, to install the language pack you need to navigate to Extensions -> Languages.In the screen that opens, select "Install Languages".Another screen will be opened, tick on your desired language pack and click "Install” button.You will see your installed language packs in Extensions -> Languages -> Installed.## Step 2: Make a new content language with new parametersThe next step is to originate a content language.Although you have already installed a second language, still you need to add the appropriate information for this languages.In this step, you need to navigate to Extensions -> Languages -> Content Languages.You will see here, the default content language, to add a new content language click the "New" button from the top menu.A new screen will open, insert the required information according to the selected language.Look at the image below. There are five required fields.Title: This fields for language name that will display in the Joomla backend that you can assign a specific language for your articles, modules or other items.Title Native: Here you insert the original language name which will display in the language manager and the list of content languages.Language Tag: The language tag consists of the language code. If you are not sure about it, you can find it next to the language name in the list of installed languages at the language manager section.URL Language Code: This is the code that will appear in the URL. For example, here I insert "de" hence, the URL will like this when I select Germany as the desired language. www.example.com/index.php/de/Image Prefix: This is the language code. Joomla uses this code to display the country flag images enabling the visitors to select a site language.## Step 3: Enable Language Filter pluginThe language filter plugin enables the CMS to recognize the different installed languages and display only the content relevant to the current language.Just navigate to Extensions -> Plugins and search for the “Language Filter” Plugin and enable it.Also, enable the "Language Code" plugin. This plugin installed with the Joomla engine by default.## Step 4: Setting up Language Switcher moduleYou will also have to add a menu module to display the language list on your site.Navigate to Extensions -> Modules, a new window will open. Click “New” and select “Language Switcher” from the list.It will open an editing window.Insert the title as it is required, though you have an option on hand to display the title or hide.Set the position where the switcher module will visible and set the switcher status as public.Look at the image below. A language switcher section is visible on the right sidebar.## Step 5: Create menu for every installed languageYou will need to create menus for each content language to display multilingual content on your site.To perform so navigate to Menus -> Manage -> Add new Menu.After that insert the "Title" and "Menu Type" and hit the save button.Do the same process for every content language that you wish to display on your site.You will find all your created menus in Menus -> Manage later and also edit them.So now you need to add items in each menu, the easiest way to perform is to open your main menu then select any item and then hit the "Batch" button top of the page.In this process, we are going to copy all the menu items from the main menu to each menu.A popup will open, you need to set the language to which you are going to copy the item and select the menu to where you want to copy this.Check copy from radio button and press "Process". Once it was done, do that for each one.Now you have a menu for every language and several items on it.You can open each menu one by one, make an item to default page and edit them. ## Step 6: Create menu moduleJust navigate Extensions -> Modules then select a menu from the list.In the module section, set position for selected menu.In advanced section, insert "nav-pills" in the menu class suffix field.And then in menu assignment section, select "Only on the pages selected" option.It will display only the items which you want to show in your menubar.So, uncheck the other languages menu items.## Step 7: Multilingual articlesLet's create a multilingual article to see how it works.Create a new post, set the language of the post in the content section.Make a copy of this post or make more copy as you want. Set different languages for each post.And now again edit the post, go the "Associations" section, associate the post with the copy of this post.Save and close it.As a result, when you click a flag it will change both the menu and the articles to the desired language.Look at the image below, how I associate the posts to each other.So, we are at the finishing stage. Just take a look how it works.# Make this process easier with an extension:In the first section, I talk about the manual process.Now here, in the second section, I'll show you how to create a multilingual website using an extension.In our previous article we discussed about Neno translation extension for joomla and today I am going to use the another popular extensions JA Multilingual Component.It's free Joomla multi-language translation extension.This extension is light in weight but robust at speed. To boost up your multilingual website, it will do almost everything what you need.Let's see how it works through the following steps:1. Download JA Multilingual Component2. Component Installation3. Translate Language## Step 1: Download JA Multilingual ComponentAt the beginning stage, you need to download JA Multilingual Component from their official site.It is free of cost. To download this extension, you need to create an account on their site because they don't admit to providing their service to non-users.## Step 2: Component InstallationNavigate Extensions -> Manage -> Install.In the new window that opened, you will see a file upload option.Just point to your download file and hit Upload & Install button. After a few seconds, the extension will successfully install.## Step 3: Translate LanguageNavigate Components -> JA Multilingual.Here you see a notification that asks to configures authenticate API (Application Programming Interface) to translate the site.Just press the Options from the top. Insert the API key and save and close the current window.You can install languages as you want and then press Translate All to do all tasks immediately. Wait a few moments until it is done.Take a look how it works.### Final WordsHope you enjoyed this tutorial, and now you can create a multilingual site using Joomla. Let us know about your further query and share your opinion.
More popularity your Joomla website gains, more security concern you'll be. Hackers or bad guys are always searching one way or others to hack your website and use it for their purpose. Mostly for DDoS attack using your host/network.Joomla! as a CMS is very powerful and secure, but often times we made it vulnerable by ourselves. Besides the popularity, more and more individuals and businesses of all sizes start to rely on this open source CMS and get their products and services through the online.In fact, more than 2.5 percent of websites are now running on a Joomla CMS. The latest research by SUCURI reveals that - Joomla is the second largest CMS downloaded over 68 million times and the second infected website platform.The bad guys or hackers may try all kinds of hacking methods to attack your site or bring down your site. These range from remote file inclusion to cross-site scripting to the ever-popular SQL injection.As the admin, you have the responsibility to ensuring your Joomla site is properly patched, updated and secure.A properly configured instance of Joomla CMS on a properly configured server is about as secure as any other off-the-shelf solution.In today's post, I am going to discuss the best practices to secure a Joomla website. Let's dig into it!## Best Practices to Secure Your Joomla Website### Use the Latest Version of Joomla & ExtensionsWebsite owners don’t upgrade or maybe forget to upgrade to the latest version in most of the times, which creates a significant risk.Almost in every release, Joomla has fixed some security issues. So if you don't upgrade to the latest version means you are keeping some vulnerability on your website.### Use Strong Password for Secure Administrator LoginIn most cases, people leave the default administrator account as the user name to “admin” and a silly password which is easily guessable and creates the biggest risk.If you are keeping the default “admin” and a guessable password, you subconsciously helping the hacker in their job.### Delete Unwanted & Unsecured ExtensionsJoomla is open source CMS and as an administrator, you may install many modules or extensions to try out new functionality in your site.It’s good to improve the functionality, but the bad thing is when you install a low-quality extension that will create flaws in your site.So, delete the extensions, which you are not going to use.### Take Backup RegularlyBackup is the life-saving process. In case of, when things go wrong, backup is probably one of the quickest and best way to restore your online business operations.You should host your website in a reliable hosting company like SiteGround, who provides a good backup plan. Along with hosting backup, you may use an extension like Akeeba backup.### Monitor your Joomla SiteIf your website goes down or defaced then how do you know?Use the StatusCake tool which monitors your website and notifies you through the email, slack or SMS when if website is not reachable.This is a free tool and you can take necessary actions immediately if needed.### Use a Powerful Security ExtensionsUse a powerful extension that can fight against spam, known vulnerabilities, and known attacks like brute force attack, SQL Injections.There are many and security extensions available for Joomla in the Joomla extensions directory. Amongst them, R Antispam, Incapsula, and Security Check are best and effective ones. You may use one from these.### Implement Two-Factor AuthenticationTwo-Factor Authentication is an extra security layer that requires not only a username and password from the user but also require something that only, and only, that user has on them.It will be a piece of information only the user should know or have immediately to hand such as a physical token or a random generated OTP (One Time Password).OTP is a six numeric digit code that generated by cryptographic functions in a short interval. Even if the hacker will get your Joomla administrator username and password, they would still require the OTP to logged in the system.If you want to enable the Two-Factor Authentication, it requires Joomla 3.2.0 or higher version.#### The steps to enable Two-Factor Authentication:Step 1: Login to the administration panelStep 2: Click on Components >> Post-installation MessagesStep 3: Click on Enable two-factor authenticationStep 4: Install a Google Authenticator compatible client for your device### Use SSL CertificationUse SSL certificate on your site and force Joomla into SSL mode.Before enable SSL mode be sure that you have configured SSL certificate for your site’s domain, or you will not be able to enable this feature.When you use an SSL certificate on your website, it will encrypt the user’s username and password before sent to your server over the internet.Read our blog post to know - How To Enable SSL On Joomla Website?## Last WordsIf you follow these steps, the chances to be hacked your Joomla website is decreased and your site will be more secure than past. And you’ll be able to recover your site quickly than ever if it will be hacked.I hope this helps you! Share your tips with us if those are not listed here.
Do you know what is a webmaster's biggest nightmare? You're right. It's the hackers. Every now and then, website administrators get to deal with hackers. It's not possible to make your website 100% hack-proof. A small security hole in your entire website's coding can give an experienced hacker access to the backend of your website. And if they manage to crack it down, you may have a hard time figuring out what to do if you didn't have a backup. However, if you do have a backup, you can restore the site. But what's the guarantee that it won't be hacked again? How do you exactly determine which security hole gave the hacker access to your server in the first place?There is one tool that can do the job of finding out what's the security hole and what other weak points there are on your website. The tool is called My Joomla. If you remember, we faced the same Joomla hacked experience a while ago at ThemeXperts. This is the tool that made our website's security stronger and protected. But before we talk about how to audit your website with this tool, let's first look at some of the basic features the site comes with.###Features- My Joomla scans your entire website in just a few moments. You have to first sign up with them and you will be provided with a downloadable extension that you need to upload and install on your Joomla site. The tool then scans for all potentially harmful contents in your website and shows you possible reasons of Joomla hack. - During a Joomla hack, a hacker may leave a backdoor on any of your website's core files so that they can gain access later. My Joomla will instantly scan and recognize those changes in the file that are suspicious.- If you're using too many extensions and your site is very large, you might be wondering which files are untouched and which files are affected. With My Joomla, you can easily revert the core files to their distributed state making sure everything is at their default.- Like I already said, you will never know where the security holes are. My Joomla can look them up for you on you Joomla hacked site and you can make very technical changes in your Joomla quite easily with the tool.- You can also get suggestions for best practices by using this tool and prevent chances of future Joomla hack. For example, if you are using root username to connect the database, you're at risk. The tool My Joomla will suggest you to change that username to something more complex so that hackers can never guess what it is.###What to do after a Joomla site is hackedYou can use the tool to secure and fix hacked website of yours and NOT to backup or restore the content. My Joomla offers two types of auditing. The easiest way is to let them do the job. But if you're a little familiar with Joomla administration interface and how these things work, you can do the audit by yourself. You need to register with a username and add your website before you can audit it. Just so you know, the first audit is totally free of charge. From second audit onwards, however, you will have to pay which is worth the service.So, let's fix and secure your Joomla site for free!###Install and ActivateAfter you add your first website, you'll see a screen idential to the one below. You must click the Generate new connector for the extension to be ready.Within moments, the download button will show up and you can download and install the extension to your Joomla website the usual way.As you can see, you can also use the button on Step 2 go to go the Joomla administration panel on your website directly.Once the plugin has been installed, you'll see a message saying that there isn't anything more you can do from your Joomla administration. You need to go to the first tab and continue with the following.The buttons to test endpoint are self-explanatory. Click accordingly.If connection was established, you will see the word “endpoint” upon clicking the button. Remember to click the right button. If you are using Joomla 1.5.x, use the 1st button. If Joomla 2.5+ is running on your site, use the second button.Now, click the Connection Test button to make sure that the connection has been established. If connection is established, you'll briefly see the success message.You will then be redirected to start audit page. You will have to confirm that you want to start auditing now. The page here will look identical to the one below:As soon as you click the start button, My Joomla will start its magic on your Joomla hacked site. You will see a live screen of what the plugin is doing on the next screen. Be patient, though; this may take a while if you have a very large website.As the audit finishes, you'll see a screen with all the details of audit results. From there, you will be able to view what problem fond on your Joomla hacked site. If it has found any problem, there will be blue button that reads “next steps” next to the configuration name.If you click the next steps button, you'll see all the details of what the problem was and what the tool recommends you to fix the issue of your Joomla hacked site.If you scroll through the audit results, you might be a little bit overwhelmed. The tools developer writes,
Remember, the object is NOT just to get green OK for each item, the aim is to understand more about your site and its integrity at this moment in time. In fact it's impossible to resolve all items in this list as some checks have knock on effects to others.
If you've got enough time or a dedicated developer, you can have them check the entire result and take action to better protect your website from hacking attempts. If you'd rather leave it to the tool's developer, you can always pay and get their service right over to you. Fees for the service can be found here.As you might have already realized, the service is really amazing. The tool takes deeper-than-any-human-can-do look into your Joomla's core files and comes up with an incredibly detailed result and possible fixes within minutes. This is some serious stuff that every serious web developers and administrators should have on their Joomla website.Just as a reminder, the first audit is free. But you cannot audit your website again without paying the charges.###Your TurnWhat security measures have you taken to protect your Joomla powered website? How do you find out after your site has been hacked where the problem or security hole lies? Let us know if you have come across any other tool that does better job than My Joomla!
Have you ever search for best Joomla CCK that allows you to create Joomla custom fields within Joomla core articles? I know you find a lot, but failed to find a suitable advance custom field for Joomla. To provide ultimate flexibility and empower to create unlimited category specific or standalone custom field in Joomla articles, We, at ThemeXpert HQ has cooked a powerful Joomla extension called Xpert Custom Fields (XCF).##Why we developed the Joomla CCK extension called Xpert Custom Field (XCF) ?Glad you asked. We regularly help Joomla developers to accomplish their projects perfectly. The thing we find common that developers are found spending extra hours to add Joomla custom fields support to satisfy their clients requirement. To kick away all above limitation, we developed this advanced custom field extension. The extension allows you to create vast array of custom fields including multiple field types without touching single line of code.Features- Joomla Article Support + More coming- Unlimited Fields Group- Customized Rules for each group- Joomla Event support- 7 Fields + More coming- Shortcode Plugin to access the field data inside article- Intuitive API for developer- Category specify and standalone field support- Multiple event support
##How to add Joomla custom fields in Joomla articles?I assume, you’ve already downloaded our XCF extension. I ain’t going to discuss about the installation process. The step is not different. Just head to the Extensions > Manage and install on your own. After installing Xpert Custom Fields(XCF), the entire process to get started is simple. For your convenience we’ve created a video tutorial for you. Have a look.Don’t like to watch tutorial video? I have chunked down the entire process in easy steps. Let’s get it. ###Step 01: Create Field GroupAfter installing XCF, navigate to Components > Custom Fields - XCF. In the Joomla Custom Fields manager, you will find two different tab in the right sidebar of screen. The sidebar includes Group and Fields. Before adding a new custom field in your Joomla Article, It requires to create group first.Click New button but make sure you have Group tab selected. Provide group Name, Content Type, Category, Description, Event and Status. Click save and close when done.Name : Used for organizing the groups in back-end. Try to give some meaning full name.Content Type : Define where this group of fields load. Right now it only support Joomla Articles and more coming.Category(PRO) : For which category the group fields will load. If you want this group of fields load on all category you can select 'All'. You can specify specific group to load specific category.Description : Group description only use in admin area to give your more details about the group.Show Event : You can select where this group filed data will display. They includes After Display Title, Before Display Content, After Display Content and None.###Step 02: Create a new fieldSelect Fields tab and click New. Add Field label, Name, Group, Type, and Status.Field Label : Give your field a label so you can easily recognize it in backend.Field Name : Field name is used to call the field from article editor or code. This is very important to do not put any space and special charterer in Field Name.Field Group : Select group for this field you have created on Step 1**Field Type : Type of date you are going to receive. If you need simple text then select 'Text' field. If you need image the select 'Image' field.Field Instruction : Give instruction for this filed and it will show in popup.When you added all field data successfully, click save and close button.###Step 03: Add custom field in a Joomla ArticlesCreate a new or open an existing article where you want to present your custom field data. You can notice in the following image, a tab titled Xpert Custom Fields. Another button called Custom Fields added adjacent to editor bottom.Get into Xpert Custom Fields section and insert the data according to their type. For demonstration we added field to take image input.After adding all further necessary data, click save and close. Head to the article single view in frontend. As the follow image indicates, Advance custom field is working great in my end.###Step 04: Show field data using ShortcodesYou may not want to show your custom field data according to the event provided. Because Joomla provides only 3 events, allow to present your custom data After Display Title, Before Display Content, and After Display Content. What if you want to show this data middle of the article ?To give ultimate power on your custom data presentation, we have created shortcode plugin. To use your custom data anywhere in your Joomla article, head to the field group, change After Display Content to None from Show Event** dropdown.Now head back to the article edit screen, place cursor where you want to display the field data. Click on Custom Field button down to the editor, and select the desired field button to insert shortcode in your editor.##How to add layout override for Xpert Custom Field(XCF)The default look of Xpert Custom Field may not suit your site look and brand. So we have added a super capability to add personalized look according to your brand. But I ain’t going to cover this this feature in this article, I have prepared a separate article for you. Till then stay tune to ThemeXpert Blog