Quix PRO 2.1 is here & enjoy 20% discount. Coupon : QUIXPRO

Joomla and WordPress Tutorials from experts.

Joomla! Component Development with FOF - Part 02

Joomla! Component Development with FOF - Part 02

Hey guys, hope you find your developing Joomla component easy and interesting. I really appreciate your collaboration and support to encourage me to write subsequent parts of Joomla! Component Development with FOF. In my last tutorial, I only covered single as well as multiple items view of backend. In today’s part I only show you how to create category multiple and single backend view of our Gallery component. Okey guys, let’s move forward. If you are following from this part of this tutorial, you are requested to follow me from Joomla! Component Development with FOF - Part 01

 

Step 01

Now in the very beginning of this tutorial, I will add multiple categories view of Gallery Component. Currently we don’t have categories panel available in the left sidebar of the Component admin panel. To create multiple category view, you have to get back Gallery component root from the link Joomla root directory/administrator/components/com_gallery open views folder and create a folder called categories.

step_01_01.png

Now back to the Joomla! backend and open up the gallery component dashboard. You can notice categories section has been added in left sidebar, Have a look in the image below.

step_01_02.png

Click on the categories where I’ve circled in the previous image. After hitting click, you will get the following error (1146 Table 'demo. o39p1_gallery_categories' doesn't exist SQL=SHOW FULL COLUMNS FROM `o39p1_gallery_categories`). It means, we have to create a database table called “o39p1_gallery_categories” for categories. In your turn o39p1 prefix would be different. So, Lets create database table. 

Step 02

Creating categories table in database is the same as we created for items. Select your database, click on new, add your database table name (o39p1_gallery_categories is my category table name), add gallery_category_id field, make sure you have checked in for auto increment and click Save. Have a look at the next image.

step_02_01.png

Now back to the error page, where you get 1146 error and reload the page. Now you get the following error (500 Layout admin: com_gallery/category/default not found). Don’t be panic the this error, Such errors paves us tor right direction. So, let get ourselves from this wired page.

Step 03

Now I can assume you in the categories folder we created in the first step. If you are in the right folder, add a new temp folder, and at least create form.default.xml file. Have a look at the file hierarchy.

b2ap3_thumbnail_step_03_01.png

Now open form.default.xml and paste the following code.

Now back to the component admin where you faced last 500 error and refresh the page. If you successfully followed the previous steps, Now you are on the following screen. Have a on the screen next.

Site---Administration---COM_GALLERY--COM_GALLERY_TITLE_CATEGORIES.png

Now you have noticed there no category available in the category multiple view. To create a category, click on the New button, In this turn you will receive following error (500 Layout admin: com_gallery/categories/default not found). Don’t worry, it's a great sign again. It’s asking us to create a single category view.

Step 04

To bring about the single category view, let’s get back to the views folder again. Create a folder title category under views folder, tmpl folder under category folder, and at last create form. form. xml. Have a glance on the file hierarchy.

b2ap3_thumbnail_steps_04_01.png

Copy the following code to form.form.xml and save the file.

Back to the page where you found last 500 error and refresh the page. If you constantly following me, I bet your reach screen below.

step_04_02.png

What are you waiting for? Fill the details of your new category and click Save and Close. Still wired screen waiting for you. Even you might be panick again when you landed on the following screen

step_03_02_20150123-062401_1.png

Do you know why our inputted data aren't be available here? The reason behind, we have only created category database table called o39p1_gallery_categories and added single database field gallery_category_id. You can see in image above a row has been created with blank data, because there are no database fields available to save your category inputted data. So, it’s time to add those fields in o39p1_gallery_categories with Magic fields

Step 05

In this step, we’ll add 14 fields in our existing database table, o39p1_gallery_categories. Just create your as you can see in the following image and click save.

step_05_01.png

If you successfully added new fields in o39p1_gallery_categories table, Create a category and click Save and Close. You can your newly created category is on the category multiple view screen. Have a look at mine.

 

step_05_02.png

06 Step

I think you are thinking we have done with category single and multiple view creation, right? The answer is yes. If you are with me from the last tutorial, you have noticed, We haven't defining any category while creating single item. The reason was because we didn’t have category created then. At this moment we have categories are ready. We can assign them from now.

To assign an individual category with items. Head to views folder and open form. form. xml folder from single item view from the following link Joomla root directory/administrator/components/com_gallery/views/item/tmpl. You might notice some line codes are kept commented. If you removed your commented code while creating item, Just copy them from the 8th step of our previous tutorial Joomla! Component Development with FOF - Part 01. When you uncommented the code blocks. Open item single view to create new items from component dashboard. You can see the image below, I can assign a category with individual item.

las_01.png

When you have done entire setting, head to the items from this link Joomla root directory/administrator/components/com_gallery/views/items/tmpl and open form.default.xml file and uncomment the commented code and save the file. Open the items multiple view from component dashboard, have a look at the Items details view, it looks like following.

las_02.png

In this turn If you have created multiple category for your items, you will face a logical error. I mean when you create a random category by mistake, you can’t update them later. Do you know the reason behind? It’s because you haven’t created any foreign key on o39p1_gallery_items for o39p1_gallery_categories table. Now we add a new field called gallery_category_id on o39p1_gallery_items table.

To add new field on o39p1_gallery_items table, head your database open your gallery items table and add the gallery_category_id on the table. Have a look in the following image.

okey_20150123-080300_1.png

Conclusion For this tutorial, we can make a component that can store items with their category in the backend. Though it isn't enough for any component. But we are slowly moving to the completion. Hope you find this step helpful the same as the first one. Stay connected, I am returning soon with subsequent parts of component development.

Joomla! Component Development with FOF - Part 01

Joomla! Component Development with FOF - Part 01

Developing a Joomla! component generally gets you to write tons of code, right? If you want to get rid of that and want your component to be compatible with Joomla regular and major updates of Joomla. You are on the right place. Today, I will show you how to develop Gallery Component with FOF, develop by Akeeba, thought FOF comes with default Joomla! installation, but we’ll download F0F (FzeorF) files. You might think why download, F0F right? There is a funny reason, I will disclose at the end of my tutorial.

There are a couple of parts related to this component development, such back-end view and front-end view. Only back-end view involves with Item view and category view, and item view consists of single item view and multiple item view, and the same as with category view. 

If you are confused with item view and category view. Let me make things simple. When we click on the New button from Article Manager, it opens up the single item view. In Article Manager, we can see all Articles altogether, this is called a multiple item view, Have a look at the image below.

Eshaan---Administration---Article-Manager--Articles_20141222-094455_1.jpg

Note: I have defined the terms such as single as well as multiple items view and category view in the last paragraph only to make steps simple in the subsequent steps. Hope it will help you a lot. Let’s get started. 

Step 01

To develop a Joomla Component, download the latest version of Joomla and FOF framework. Install Joomla in your computer and FOF framework as well. I think, you might not familiar with the FOF framework installation. After downloading latest version of FOF framework from this link, unzip it. Once you unzipped the folder, you will find golf. Copy the folder, and paste it in the libraries folder from the Joomla! root directory after rename it From fof to f0f (FzeroF).

com_fof_20141222-102054_1.png

Libraries folder path: Joomla root directory/administrator/components/libraries

Step 02

Now select your component name. You know we’re going to create Gallery Component. In this tutorial we will create only backend multiple and single item view. To create your own component, head to the Joomla and create the com_gallery folder in the component folder following this link Joomla root directory/administrator/components. You might be thinking why I use com_ prefix in com_gallery folder, let me make things clear. Whatever component you’ll create you have to add com prefix before your component name, Suppose you will create portfolio component. you have create folder com_portfolio. Have a look in the image below.

Screenshot-from-2014-12-22-16-24-27.png

Step 03

Now we have to create five files in com_gallery folder to initialize the component development. Here are file names create your own.

  • access.xml
  • com_gallery.xml
  • config.xml
  • fof.xml
  • gallery.php

com_gallery and gallery.php file name could be different depending your component name. If you create the portfolio component. The com_gallery and gallery.php name would be com_portfolio and portfolio.php.

Now open access.xml file copy the following code and paste on blank file access.xml.

Copy the following code, open gallery.php file and paste your copied code on it.

config.xml file copy and paste the following code

Copy the following code paste in fof.xml file

Now, open com_gallery.xml file copy the following code and paste on it.

Note: We are creating a gallery component. If you want to create some other component, such as portfolio component. Make sure you have replaced gallery text with portfolio on every file. You must follow the uppercase and lowercase convention while replacing your component name.

Step 04

Now you have to register your component in your database extension table. Open your database where you’ve installed your Joomla files. You can see my database name is demo. click on your database. click on Extension from left table columns. You might be thinking the prefixes before extension table, right? The prefixes are added automatically while installing Joomla, even you can add your own defined prefixes to secure your database. This is not part of FOF. Click on insert button from top navigation. Now fill name and element field value with com_gallery, type field value with component, assign the clicent_id,enable, access value with 1, fill the protect value field with 0, keep everything empty for this moment, and click on go button.

Screenshot-from-2014-12-22-16_41_43.png

Step 05

Now we access the component backend view from url. Type the URL (http://localhost/yoursitename/administrator/index.php?option=com_gallery) on your browser address bar, make sure you have logged in our Joomla backend. You will face the error something like this ( 1146 Table 'demo.o39p1_gallery_items' doesn't exist SQL=SHOW FULL COLUMNS FROM `o39p1_gallery_items`). The error is indicating us. We have a database call “demo”. The query can’t show all columns from o39p1_gallery_items table. Right now we have database called “demo” but have not table titled “o39p1_gallery_items” exist in your database. In your turn the database name and table prefix could be different. Be careful while creating your database table.

 okey.png

Step 06

To create new database table in your database, select your database and click New under it. Now field you Table Name your table name. My table name is o39p1_gallery_items. Insert table ID name (I inserted gallery_item_id), choose type INT (integer) and select A_I (Auto Increment), keep other field empty for this time and click Save. You can see in the image below, how I filled the field.

 localhost---localhost---demo---phpMyAdmin-4.0.10deb1q.png

Step 07

Now refresh the page where you 1146 error. But now it give you another 500 error. something like this ( 500 Layout admin:com_gallery/item/default not found). Don’t worry, we’ll no longer have this error after this step.

Error--500-Layout-admin-com_gallery-item-default-not-found.png

Now back to your joomla root directory in com_gallery folder where we created five files in our step 03 section . In this turn we will create backend view. To create backend view. Create a folder views under com_gallery folder. items folder under views, tmpl folder under items and create new file titled form.default.xml. Have a look on the file hierarchy.

last_20150109-081357_1.png

Now copy and paste the following code in form.default.xml file

Now refresh the page where you got 500 error, Now you will get following screen.

follow.png

Step 08

Our items multiple views is ready, Now we can term it items manager, because Its something like Joomla Article Manager. Currently there is no item is available in our items manager, because we haven’t create any items yet. To create new item click on New button from top menu. Now you will get 500 ( 500 Layout admin:com_gallery/items/default not found) error again. Because we haven’t created any files for single item view. To create single item view, back to the views folder. Create item folder under views, tmpl folder under item and create new file titled form.form.xml. Have a look on the file hierarchy.

b2ap3_thumbnail_form.png

Now copy and paste the following code in form.form.xml file

If you properly do the above steps, you can bring up the following screen.

I-am-Eshaan---Administration---COM_GALLERY--COM_GALLERY_TITLE_ITEMS_EDIT.png

Step 09

Our single item view is ready. Now give Title, Description, select image, and choose status publish for your new gallery item. and click Save and Close. Now you’ve created a sgine items, but no record have been created in our o39p1_gallery_items database table except gallery_item_id, because I’ve created only gallery_item_id field, not the other fields for Title, Description, Image, Status and other magic fields. You might be thinking what is magic fields, right? Magic fields have special meaning for FOF. to learn more about FOF, have a look on this link.

Lets get back o39p1_gallery_items table, and create all fields with their data type and values. Have a look in the image below, how I’ve created, insert the following fields in your items table, and click save button.

localhost---localhost---demo---o39p1_gallery_items---phpMyAdmin-4.0.10deb1.png

After clicking save button your items table will look like this.

localhost---localhost---demo---o39p1_gallery_items---phpMyAdmin-4.0.10deb11.png

Now you can insert your item from single item view, click save and close. Now you can see your newly created item has been added in your items table. Have a look in the image , My newly created item has been added in my items table.

Site---Administration---COM_GALLERY--COM_GALLERY_TITLE_ITEMS.png

Conclusion

There are couple of way to develop Joomla component, I found this way the easiest and quick. If you have eagerness to develop Joomla component, or want to try new way to develop component, FOF is the great way to get your started. The tutorial is only the first part of our entire gallery component development process, in upcoming tutorials I will take you the subsequent of parts of this first tutorial. If you have any question to please let me know in comment below. If love you answer, it leads my excellence into perfection. Hurry up! I am waiting for your response.

How to Install a SMTP Server in Joomla!

joomla_smtp

Delivering transactional emails is considered one of the most recursive and important tasks for a website owner. If your transactional emails fail to reach recipients’ inbox, it will be difficult for you to have the benefits of an automated email transaction. An automated email transaction is heavily dependent on a reliable SMTP server.

However, using an ordinary email service provider such as Yahoo Mail, Gmail and Hotmail has its restrictions. This is because they allow only a certain number of emails to be sent by a particular user per day. You might be thinking what is a smart solution for transactional email delivery and how to configure it, right?

For the purpose of this article I am going to discuss how to set up Mandrill for transactional emails. Mandrill facilitates sending 12,000 emails per month absolutely free. It’s easy to configure with a couple of steps. But the steps could be different depending on CMS. My today’s goal is to show you how to set up Joomla SMTP server on your Joomla website.

Step 01

To setup an Joomla SMTP server for transactional emails, you must have a registered account on the Mandrill website. Login to your Mandrill account, it will take you to the Dashboard of your account. Click on Get SMTP Credential button. Mandrill will verify your account password and give you Host, Port, SMTP Username and SMTP Password details under SMTP & API Credentials tab. But SMTP Password requires valid API key.

By default Mandrill doesn't provide an API key for SMTP password. To get the API Key, click on the Add API Key button. and you will be notified with a valid API Key.

setting_api_key

Step 02

Now we have all the SMTP credentials to configure an Joomla SMTP server on a Joomla powered website. Head to the Joomla backend. Go to the Global Configuration via System > Global Configuration link and click on server tab. Under the server you will find Mail Setting. Now we can configure Joomla Mailing Settings for the SMTP server using the following settings:

  • Send Mail: Yes
  • Mailer: SMTP
  • From Email: The email address your recipients get mails from.
  • SMTP Authentication: Yes
  • SMTP Security: SSL
  • SMTP Port: 465
  • SMTP username: Your Mandrill username
  • SMTP password: Your Mandrill password (API Key)
  • SMTP host: smtp.mandrillapp.com (Mandrill Host)

If the 465 port doesn’t work, use the following settings:

  • SMTP Security: TLS
  • SMTP Port: 587

smtp_server_configuration

Step 03

You might be thinking how do you scan for empty or busy ports. Don't worry, it's easy. Head over to mxtoolbox.com, select Port Scan from MX Lookup drop down, enter your desired website address and scan your site ports.

mxtool_port_scan

Step 04

Now register your user from the front-end of your Joomla website, and your user will get a confirmation email from your website system automatically. If you don't have a module to test your user registration, just type your website URL with following extension (www.example.com/index.php?option=com_users&view=registration), and it will open the user registration form. Complete your registration with your test email address, you will get a confirmation email.

Conclusion

I have shared my working experience with the technology I use for transactional email delivery. I would like to hear from you what extension you use for your SMTP client, in case I missed anything in my article. I would be grateful to have your experience in the comments.

If you are interested to read more, you can check our blog. For Joomla templates and Joomla extensions check here.

Originally published at www.magazine.joomla.org

Create Your Own Joomla Ecommerce Website Within 7 Steps

Create Your Own Joomla Ecommerce Website Within 7 Steps

We've developed our own open-source eCommerce extension called DigiCom. Check out from here.  

Are you looking for the easiest way to set out own online business right away?

There are a couple of Free and Premium extension available for eCommerce Joomla Website. For eCommerce extension, I found HikaShop comparatively useful for an eCommerce solution. And It’s going to be a great alternative of Virtuemart. The eCommerce extension comes with bundle of features with minimal restriction in the free version and extensive opportunities in commercial versions. So, I like the extension overall except it’s user experience. Let’s move forward. For your convenience, I have divided my entire process into 6 steps, Have a look below.

  1. Download and Install Hikashop
  2. Create product category
  3. Add Products and its details
  4. Add Product Categories, Image And Prices
  5. Add Characteristics
  6. Publish Products in Front-end

01. Download and Install Hikashop

Download the Hikashop eCommerce extension from their website and install the extension from the Joomla extension manager. For a quick demonstration, I am going to describe the entire process with non-commercial version of the HikaShop on Bolt Template. So, If you don’t have the premium version, feel free to download non-commercial version.

Screenshot-from-2014-11-27-12_22_15.2.png

02. Create Product Category

Categories are mandatory to have an extensive benefit of this extension, such as complex chart and many more. To create a category, head to the link Components > Hikashop > Categories. If you don’t need category, you don’t need to create them. You can see a category called “Product Categories” in the left sidebar, add your product under this category.

Eshaan---Administration---Products.png

If you want numerous categories. Make sure you have selected the root from the left sidebar. Click on the new button and create your own category. You can see in the image below, I have created three new categories. The categories are Joomla Templates, WordPress templates, and Ghost Templates. Now my categories are ready to take my products in.

Eshaan---Administration---Products_20141201-092456_1.png

(Note: You cannot delete default category, you have to rename it for your new one.)

03. Add Products And Its Details

Now it’s time to add products in our store, head to the Components > HikaShop > products. Once you’re on the product page. Click on new button. It will open up a page most numerous options. Fill out product name fields, Scroll down the page you have more important data you need to add. Make sure you have filled code field. It is required and others depend of the product type and specification and other options.

Eshaan---Administration---Products.jpg

04. Add Product Categories, Image And Prices

You can see many of important setting options are available. Now I only add product categories, product image and price as well in product details. 

Eshaan---Administration---Products_20141201-110820_1.png

When you click on the New button to create new products from product manager, It will open with the category highlighted in products manager. Now click on Add from category section. Select root from the right sidebar and then select relevant  category you want and click OK. A product could have multiple category. You can add other categories as you added the first one.

Eshaan---Administration---Products_20141201-111733_1.png

Product image essential while you showcasing your products. Add your product image from image section, you have already uploaded your product image in click on select button and choose your relevant image. You can see in the image below, I have added one image for our template product.

Image.png

Filling pricing section is one of the key parts of this section. But you might find adding pricing for your product a bit confusing. Click on the Add button. You can add a row by clicking on this button. If you want to remove a row, set its price to 0. The change will be applied after clicking save button.

Image_20141201-112736_1.png

05. Add Characteristics

Characteristic refers to the term “Variant”. Such you sell template, and your product is web templates, A template could have number of preset styles. For the demonstration we add presets as variation. To create such a variant for your templates, make sure you have save your previous changes. Head to the Characteristics manager Products dropdown. click on new button to Hikashop top menu. You can in the image below. I have put Preset Styles in name field (white and dark dark) color in value section, click on Add button to add more. Now you can create yours.

Eshaan---Administration---Products-1.jpg

Now open your product where you want to add Characteristics from product manager. Scroll to Characteristic panel. you can see in the in the image below, my Characteristic has been added. Add your product characteristics clicking on Add button.

Screenshot-from-2014-12-01-18_21_27.png

06. publish Products in Frontend

Now we have created all the settings to publish products in the front-end. There are a couple ways to publish products to the visitors end. But you might mostly familiar with two ways. First, you can publish products on a separate page linking on the main menu, and subsequently way to publish products on module position. But Joomla module positions can vary from templates and templates. So, I will publish products linking on the main menu. Have a look at the image below.

Joomla-Template.png

To publish products on main menu, add a new menu item from this link Menus > Main Menu > Add New Menu Item.  Fill Menu Type fill with menu item name (You can see in the image above, I termed my menu Template Jungle ), click on Select button from from Menu Item Type, Reveal  HikaShop tab, click on Categories listing and finally hit Save and Close

Eshaan---Administration---Menu-Manager--New-Menu-Item.jpg

Conclusion

I have just showed the basic implementation of HikaShop, There are lots of features in you find in HikaShop extension. Such as you can set price of products based on Characteristics. If you have any question, please ask in question below.

How To Add Support Forum in Your Joomla Website

how_to_add_support_forum_on_your_Joomla_website

Establishing a sound business communication with your existing customers and targeted clients is considered key to business strategy. The more you get a chance to communicate with the audience, the more you feel what they expect from you. Now the question is. What is the effective way to reach to customers easily? The answer is managing an interactive Joomla support forum on your website.

You might be thinking, why to manage a forum in a separate website instead of using social channels. Though social media are easier ways to reach existing and target customer, but the problem is the user created issues are unorganized. Even they are difficult to find out quickly. So if you want to foster real discussion and want to manage them easily on your site, your best bet is to add a Joomla forum.

Before bouncing from this post cowering in fear, allow me to ease your mind. You don’t need to know a single line of code to add a Joomla forum plugin to your Joomla site. You might think, I’m kidding. No, I am not. The only thing you have to install the extension and configure them to your specification.

From my experience I found two awesome Joomla forum plugin in Joomla JED (Joomla Extension Directory), the first in Kunena (Free) and another is EasyDiscuss (Premium).

Forum with Kunena

Step 01

To install a blog in your Joomla website, you have to download Kunena first from Kunena official website and then install the extension via Extension > Extension Manager > Install > Upload Package File link from the Joomla Back-end.

Installing_Kunena

Step 02

Now, We have successfully installed the Kunena Joomla forum extension, but forum could not access from the website front-end. To access the Joomla forum from front-end, we have to add a new item in the main menu. To add a new item in main menu, click on Add New Menu Item via Menus > Main Menu link.

Now add Menu Title (I titled Discussion), and click on select button from Menu Item Type. Unfold Kunena Forum tab. It will open up some options, select Home Page from the options and click Save and Close.

Configuring Kunena

Step 03

Now head to the front-end of your website, I am using Appy (Responsive Joomla Template for App & Business) template. You can see an item titled Discussion added to the main menu. Under the Discussion menu item you can see, a full-fledged forum system has been added.

Kunena_Front_end

I installed Kunena with its default feature and haven’t changed any single settings. If you want to know further settings of Kunena, get into Kunena Dashboard via Components > Kunena-Forum. From the Dashboard, you can manage your user, rank, file, template plugins and many more.

Forum with EasyDiscuss

Step 01

EasyDiscuss is a great premium Joomla forum extension for Joomla websites developed by Stackideas. If you want to buy EasyDiscuss, Stackideas provides a 20% discount for any of their extensions of ThemeXpert account holders (coupon: BLOGXPERT20). To install EasyDiscuss, download the extension from their website and install it as we installed kunena. When you successfully install Easydiscuss the following screen will appears.

Installing_easydiscuss

Step 02

Now, We’ll add a menu item in the main menu to access Easydiscuss from the front-end. The process is the same as we did Kunena Installation. Click on Add New Menu Item via Menus > Main Menu link.

We titled menu item Discussion for Kunena, in this turn, we'll title Forum for Easydiscuss. And click on the Select button from Menu Item Type. Unfold EasyDiscuss tab, It will again open up some options, select Frontpage Layout from the option and click Save and Close.

configuring_easydiscuss

Step 03

Now back to the front-end, you can see a new menu item has been added titled Forum in the main menubar. Don’t forget click on Forum, now have a look EasyDiscuss is rocking on your website.

easydiscuss_front-end

EasyDiscuss comes with total forum management system with extensive control handles, such as Auto Posting, Tags Manager, Category Manager, Role Manager, Blog Moderation, Custom Field, Moderation and many more. If you want to pay with the options, head over to Components and click on EasyDiscuss. and you will be taken to the EasyDiscuss Dashboard.

easydiscuss_dashboard

Conclusion

In this tutorial we shared our experience of Blog with Kunena and EasyDiscuss, but before you embark on your Joomla forum-creating journey, I want to hear from you “What Joomla forum extension do you use for forum that I missed here?” As always, I'll be glad to have your thoughts in comments.

If you need any free responsive Joomla templates, we have a list of good collection. Also a list of premium Joomla templates is also available. Be sure to check these templates.

Blog Doubles Site Conversion, Learn To Add Blog in Joomla Using K2

Blog Doubles Site Conversion, Learn To Add Blog in Joomla Using K2

Whether your business is large, or bootstrapping with your startup, naturally you want to reach your customer applying all your marketing strategies. But today's customers have been prudent enough to decode your marketing traps. Now a days, they are seldom got allured to click on your online advertisement and even they don’t believe in product ratings. But don’t worry, people still believe in quality contents. A statistic shows 57% of companies with a blog have acquired a customer from their blog. If you want to boost your website conversion, you should include it right away.

Adding a blog in a website is pretty easy, but each CMS follows different ways. My today’s job is to show you how to add blog in a Joomla powered website. There are couple of Joomla blogging component and extensions are available online, some are free and some are premium. I have chosen K2. K2 is powerful, Free, and choice of millions of Joomla webmasters as a content extension.

 

For quick demonstration, I have selected Bolt template from ThemeXpert template directory. Bolt is responsive supported Joomla 2.5 to Joomla 3.x. I can assume you have downloaded the template, if you're new to Joomla, here is the in depth details of Joomla installation. So, lets get into details K2 blog installation.

Step 01

To install a blog in your Joomla website, you have to download K2 first from K2 official website. and then install K2 component via Extension > Extension Manager > Install > Upload Package File link from the Joomla Back-end.

01_20141017-121710_1.png

Step 02

 After installing K2, the first task you must do is to create a category in K2 component. Because each blog must publish under a category, if you don’t define category first, no blog post (K2 Items) can be published. To create a category, head over to the K2 category manager following Component > K2 > Categories link.

03_20141017-123217_1.png

Step 03

You can see in the above image, there is no category available in the K2 category manager. To create a category, click on New button from the category menu bar. New button will open up Add Category panel with numerous option handles. In this tutorial I will not go into details explanation of these options. I will only create category with default option comes with K2. Make sure, you checked Yes for Publish  and select public from Access Level drop down. Just add title of category(I titled K2 Cat) and click Save and Close.

04.png

When you click save and close, you can see your created category is available in K2 category manager. You can see in the image below, K2 Cat category has been added. 

05.png

Step 04

Now we will create K2 items (blog Items). Get into K2 item manager from Component > K2 > Items link. You can see, there is no items available in K2 items manager. To create new items click on New button from top menu.

Now Add item/ blog title in Title field, select K2 Cat Category from category dropdown, add item description under content tab (You can add images from Image tab and tags from Tags Field). Here In Add Item panel various options are available but I will not go for explanation for the options. I will only create new item with default settings, but make sure you have checked the Yes for publish settings, and selected public option from Access Level drop down. When you done with all desired setting, click Save and Close.

08_20141019-055455_1.png

Now in K2 Item Manager you can see an item has been added.

07_20141019-054616_1.png

Step 05

We have almost done our process, but could not access our created item from front-end. To access item from front-end, we will add a new item in main menu and access K2 item under K2 Cat category. To add new item in main menu, click on Add New Menu Item via Menus > Main Menu link.

Now add Menu Title (I titled Blog), and click on Select button from Menu Item Type.  Unfold  K2 tab. It will open up some options, select Categories from the options and click Save and Close.

09.png 

Step 06

Now head to the font-end of Bolt template, you can see a item call Blog added in the main menu. Under the Blog menu item you can see, our created K2 item has been published with full-fledged blogging system. 

10.png

Suggestion  For K2 Integrated Template 

Conclusion 

Here in this tutorials I've only shown the basic installation of K2 Blog, I haven’t gone for blog styling. But don’t worry in coming tutorials, I will show the extensive details of K2 options and its possibilities. If have any suggest for our upcoming tutorials or any question to ask. Please feel free to add in comment, we really appreciate for your response.

How To Add Google Fonts On Your Joomla Website

How To Add Google Fonts On Your Joomla Website

When you have an initiative to launch your website, the conversion goal becomes your bread and butter. You might have invested your utmost endeavor to attract your visitors. But your catchy headlines and descriptions still fail to pin visitors on your website. If you're desperately striving to reach to your conversion goal, then I have a well-researched solution. The solution is Typography.

In 2006 Oliver Reichenstein wrote Web Design is 95% Typography. Some people love it, some get amazed. So, be focused on. If you're focusing mostly on other element of your website rather than typography, you might be on wrong traction. There are a number of elements of typography, but choosing an incredible font is considered most important of them.

Finding a font sounds time consuming and costly, But don’t worry Google has been supplying the community with a large collection of web-based fonts for quite a few years. At the time of this writing there are 651 font families available at Google font Library . You can filter all fonts by specific categories and font characteristics.

 

The included Categories:

  • Serif
  • Sans-Serif
  • Display
  • Handwriting
  • Monospace

The included characteristics:

  • Thickness
  • Slant
  • Width

There are numerous CMS over the web, and each of them comes with their own philosophy. You might follow unique way to add Google font for each and every CMS. Now the question is how we add Google font in Joomla websites? So, don’t worry just follow, I answer in steps below.

Step 01

For Joomla we have to import Google font stylesheet in the website backend. To do this first we need to get a stylesheet link from Google Fonts. I’ll be using Open Sans for this quick tutorial. Let’s head over to the Google Fonts library, search for Open Sans, and click on Quick-use icon to your desired font.

 01_20141015-050818_1.png

Step 02

When you click on the Use button, It opens up a details of your individual font with couple of control handles. On font details screen you can choose what weights and types of the selected font you would like to make use of on your website. The more interesting thing is documentation of the load time with the Page Load graphic seen in the image below.

02.png 

Step 03

After selecting the weights and styles of your fonts, scroll a bit down and copy the line of code from list number 3 under import tab which looks like this:

@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,700,600,300);

Step 04

When you copy the import link, head over to the Control Panel => Template Manager. click on the default template from Template column.

After clicking of default template (My default template Protostar), you will land on Customise Template page. Open template.less file form LESS folder , paste the copied code in template.less file (you can paste the code on any other LESS file) and click Save button. Make sure you have complied LESS clicking on Compile LESS button at the upper right corner of the screen. follow the below image.

musa-copy.png

You will probably also notice the familiar font-family of CSS styling like this, Copy this code from Google font details page underneath the imported code that we pasted in template.less file. font-family: 'Open Sans', sans-serif;

When you copy the following code, back to template.less file again and paste the code (font-family ) in the CSS element where you need to include the font. The code could be like this:

body{
      font-family: 'Open Sans', sans-serif;
      font-weight: 300;
      font-size: 14px;
}

or

h1,h2,h3,h4,h5 {
      font-family: 'Open Sans', sans-serif;
      font-weight: 400;
}

The process has been shown above could be different based Joomla Framework, If you are using Expose Framework or ThemeXpert template, you can include imported and font-family code in the scaffolding.less file. Just like this.

google05-1.png

If you think the above process is difficult, don’t worry Expose Framework has an awesome core feature to change Google font from Joomla Admin. Head into the Template Manager. Click on the default template(my default template is bolt) from style column, and click on Typography from the left sidebar of the screen. Here in this panel you can choose almost all Google font from Check Google Font Directory for Body, Menu, Heading and Module. After selecting your desired font click save and close.

oneoflast.jpg

Conclusion

Adding Google font in the core Joomla file almost similar to all Joomla websites, But each template clubs with their personal framework could provide easy and unique technic of adding Google or any other fonts in a Joomla website. You can see ThemeXpert Expose Framework made easy to add Google font for their users. So, feel free to comment, how you change or add Google fonts in your websites?

How To Find And Fix Broken Links in Joomla

Joomla_broken_link_checker

A website represents your business identity and hold the prestige of your brand. You invest your most of the time and hard labor to make your website trendy, slick and user friendly. But when a visitor clicks on a link, and if it directs him to a page or files that is deleted or no longer existed, you might not reach to the goal that you deserve.

So, it's harmful for your business. Even it could be reason of losing a handful of customers and slow down your whopping conversion rate.

Generally, most of the website contains broken links. But don’t worry, it’s avoidable. You might be thinking how to avoid it, right? Before heading to the solution, you have to find out the reason why the broken links occurs. There are numerous reasons that could occur this troublesome. Here are some.

  • The website owner changed the post or page alias (Probably to improve SEO).
  • The website is restructured: resulting in page having a different URL.
  • The website is transferred to a new domain and owner forget or did setup a redirect.
  • The website may go offline owing to hacking, a firewall, limited bandwidth, or the website owner not paying their hosting bill.
  • The website owner has removed the page or post
  • Website no longer exists
  • External website that have gone offline.
  • Misspelling in the link

A common technical errors are noticed to forget to include http:// at the beginning of a link. When you make this mistake, the browser assumes that you are trying to link to a location that is relative to your current location. For example, If you incorrectly linked to www.psdhub.com from this article instead of https://www.psdhub.com the URL would be published as a http://www.themexpert.com/blog/www.psdhub.com

Are broken links harmful for SEO ?

An important aspect of Search Engine Optimization is making your website easy for both users and search engine robots to understand. Majority of SEO experts say that fixing broken links, missing images, and 404 page errors, will improve your overall search engine ranking. But Google states on their website that 404 errors will not impact a website’s ranking.

Even though Google has confirmed that 404 errors will not hurt a website’s rankings, they do encourage all website owners to fix links on their website for a better user experience. So, when someone lands on your website and finds something unexpected, it really impacts on visitor's first impression in the long run.

How to find 404 and broken links ?

Now we know the reasons behind the broken links and how important to fix it. They are numerous Joomla broken link checker software and services available that will can scan your website and report broken links to you. Let’s have a look on Joomla broken link checker software’s around the web.

Google Webmaster Tools (FREE)

Google Webmaster Tools is a FREE web service by Google for webmasters, analyzes your website from the perspective of the Google search engine rather that visitor activity that occurs directly on your site. It not only provides critical information that can help you drive more traffic to the correct pages on your site, but also help to find out 404 errors and broken links.

You will find 404 errors and broken link information on the Crawl Error page; which is located in the Crawl section of the main menu.

To find the errors and broken links, add your website the Google Webmaster tool and verify your website ownership from from the recommended or alternative method.

google_webmaster_tool_verify_ownership

The below page displays site errors and URL errors for desktops, smartphones, and feature phones. URL errors are categorized, with server errors, soft 404 errors, and normal 404 errors (not found), all being presented separately.

display_site_errors

The not found page lists all of your 404 errors. Scroll a bit down to get into the list and check individual error. Some errors will point to pages that you have removed from your website, however others will be genuine broken links that should to be fixed.

list_of_404_page To bring up details about the broken link, click on the url from the list. It will popup a modal window with the full URL of the broken link and the first time the error was detected with first and last browser crawling date.

error_detection_details

If you want to know the linked source, click on the “Linked From” next to the “Error Details” tab, will help you to see exactly where the broken link was found.

linked_source

Joomla Redirect Manager

The Redirect Manager is a component, accessible from the Joomla back-end of. It was introduced in Joomla! 1.6 and its main function is to provide a mechanism to give an administrative ability to redirect the URL of a web page which no longer exists to a working web page.

To Head into the Joomla Redirect Manager, Select ComponentsRedirect from the drop-down menu of the Joomla! Administrator Panel. Here in this panel you will find the list of enabled, disable, archived and trashed 404 as well as broken links. Even your search for specific link your assumed to be broken.

Joomla_redirect_manager

[ Note: Make sure you have enabled an extension System - Redirect from plugin manager which remain by default disabled, otherwise Joomla Redirect Manager will not come into function]

Link Valet (FREE)

Link Valet is a WWW Link checker. When you enter the URL of an HTML page on the Web, it will scan your whole website, and print a report of broken links in various colors. But Link Valet is not an easy way to see all broken links together at a glance.

Link_valet

How to fix broken Links ?

When you have done with the listing of broken links of your website, you can move forward to repair and redirect them. Now you can do one of the following to fix your broken links on your website.

  • Correct the link with redirect manager: The easiest way to fix the broken links of joomla powered websites, is from the Joomla Redirect Manager. Just head over redirect manager, click on broken link from the list. It will take you to the Edit Link panel. Set destination in the Destination URL input box, tunt the status into enable if it is disable and click save and close.

correct_link_with_redirect_manager

  • Correct the Link: If you missed to link a website incorrectly, The only thing you have to do is edit the URL and replace it with the correct value. For example, one of the most common reasons a link becomes broken is because the author forgot to put http:// at the beginning.

  • Unlink the Link: Suppose you linked to a page that is no longer exists, or no longer relevant or available, you may want to completely remove the link from the article.
  • Mark as Fixed in Google Webmaster Tool: The idea of Mark as Fixed in Google Webmaster Tool is just to allow webmasters to clean up their previous report when you have fixed errors. Eventually Google will get informed that the broken links have been fixed.

mark_as_fixed_in_redirect_manager

Conclusion :

You invest your time and money to make your website full of contents. But if they go beyond the visitors access, you might lose your visitors as well as reputation. So, be careful with it. They are numerous way to find broken links on your website.

I have shared my preference with Google Webmaster Tool and Joomla Redirect manager. If you follow another method to fix your broken URL feel free to share in the comments.

How to Create New Language Override from Joomla Admin

How to Create New Language Override from Joomla Admin

Language always matters for a website, Joomla provides all specific pros and cons to run a website in any supported languages. According to Joomla community portal, 57 language pack is available in the Joomla extension directory at the time of writing. So, it can be said, Joomla is running almost in 57 languages.

Creating multilingual sites have become a lot easier with the new core integration of supporting more languages. In some case, you may need to choose a pack for your native languages. But only installing a language pack or using Joomla core languages may not give you satisfactory translated string.

Suppose you have installed a language pack for your native language or you have chosen an extension, it may produce some translation that may not appropriate for you. So, in this circumstance, you want to override the language string that doesn't suit your motto.

The overriding language string is comprised of few steps, you do not need to head over to the server to modify your language files. You can change the language text right from inside the Joomla Admin.

Step 01

Select the language string, that you want to override. Login to the Joomla admin panel, head to the Extensions > Language Manager > Overrides. Click on New button, search for selected word. Make sure you have selected Value for Search from the dropdown field.

You can see in the image below i have selected and searched for ”Written by” string.

image01.png

Step 02

Search Results can be appeared in maximum number, click on the relevant search result connected with your desired text. After clicking, you will notice, clicked element will be appearing on the override panel with its constant and text.

 image00.png

Step 03

Replace the text with your desired string from Text field. And press the save button.

In the image below. You can see, we have replaced the Written by with Published by text.

language-override.jpg

Conclusion :

One thing, you should have been covered. If you want to revert back to your default language changes, simply delete created language changes from Language Overrides section

How do override languages in your turn ?