Friday, July 29, 2011

How to Integrate HTML to Joomla Template?

If you are looking for a robust content management system that will not make you feeling the pinching effect in your pocket, you should settle with Joomla, which is an opensource content management system. So that means you will not have to pay a single penny for integrating this platform to your website, which is all very good. But converting PSD to CSS/Joomla is more or less a technical affair and unless you have certain degree of specialization in the field of psd to html conversion, you are sure to make a hell out of it. So, if you love to have a unique online presence, you should find out the best possible way to integrate HTML to Joomla template. Now, if you do not know where to start it, you should not mess with it and put your trust on a web design company who knows how to integrate HTML to Joomla template without making you pay an astronomical amount of money. But if you are adamant on learning the secrets of integrating HTML to Joomla, this article is for you.

Integrating HTML to Joomla is certainly not a highly complex task but it does require certain degree of professionalism, the absence of which can lead to a complete disaster. Before you start integrating HTML into Joomla, you need to make sure that your PSD file has been converted beautifully while maintaining all the guidelines strictly. If the conversion has been done crudely, you are sure to face barrage of problems while integrating HTML into Joomla template and therefore, you should not disregard the importance of PSD to Joomla conversion. You can hire a professional to convert PSD to Joomla if you are not feeling confident.

Before you start your tryst with Joomla, make sure the HTML file is ready and it does not contain any errors. A single directory needs to be created and that should be named as – templates and you need to put all the HTML files, CSS, images into that particular file. Once it is done, you need to change the extension of the index file. Change the extension to .php. After that you need to ask your hired developer to make changes in the body tag of the HTML file.

Syndicate, footer, debug, top, right, left, breadcrumb etc. are some of the popular module positions that come with every Joomla template. These modules further help you make changes in the look and feel of the Joomla template. You can do some experiments with them but make sure that you are giving minute attention to all the changes.

Another vital thing is the creation of manifest file. Now, if you skip this vital step, it will generate errors while installing the template. Enlist all the files that are being used in the newly created template inside the file tag. This work has to be completed carefully; otherwise you may face some problems while copying files to Joomla templates. To declare the position name, you need to use position tag.

Now, it seems you are done with task but do not forget to create a thumbnail of your template before wrapping it up. Now, you just need to test the template in different browsers before making it live.

Wednesday, July 20, 2011

Seps Involved In HTML to WordPress Conversion

Are you looking for a best CMS for your website? If yes then your search is over. WordPress is the first name that clicks in mind. WordPress is used as a blogging platform or as a CMS which offers the finest blend of efficiency and efficacy to the websites. Earlier, the most reliable and preferred methods used for converting PSD designs to HTML were PSD to HTML, PSD to CSS and also PSD to XHTML. Since Websites which are powered by WordPress are very easy to maintain, customizable and also suits the individual’s needs, therefore, HTML to WordPress has become the need of the hour. Basically this conversion service is for those designs which are ready in HTML and want to convert those HTML designs into WordPress. However, HTML to WordPress conversion is the best conversion option that enhances the quality of the websites. So, below are the conversion steps that help you in converting your HTML files into WordPress.



1) Create a New Folder
First step in HTML to WordPress conversion is to create a new folder. After creating a folder, name it whatever you want to call it. Then create two files “style.css” and “index.php” and place these files in the folder. Both the files are very important and actually needed for a WordPress Theme. Now copy and paste the code from CSS file into the style.css file.

2) Splitting of HTML File
Here in this step, splitting of HTML file take place. WordPress not only use PHP to call data from databases but also helps in calling different files from within the template folder itself. Html files are split up into 4 distinct sections; starting from header, followed by content, then sidebar and finally footer. Once the splitting is over, instead of putting these 4 sections together in one file, put each of them in separate file. And then call each of them one by one using PHP.

3) Put Splitted Files Together
After Splitting of HTML file into 4 distinct files known as header.php, index.php, sidebar.php, and footer.php. Now it’s the time to put all these 4 files together with the use of a few lines of PHP code. Open your index.php file and add this line “<?php get_header(); ?>” at the top of the file and these lines “<?php get_sidebar(); ?>” “<?php get_footbar(); ?>”  at the bottom of index.php file. Basically these three lines of PHP are instructing WordPress to fetch and exhibit header.php, sidebar.php and footer.php files within index.php file. Ultimately, your code is now put back all splitted files together.

4) The Loop
In the last step, you need to insert the quality content into the above code. For inserting content into the code, WordPress uses PHP for this. And in PHP there is a Loop function which WordPress uses to call and exhibit your posts and comments from the database where they actually stored in. Finally, seize this code and paste it into your index.php file.
Lastly, upload your theme folder to “/wp-content/themes/ “and after that log into WordPress to activate your theme. Therefore, if you want to convert your HTML theme to WordPress then you can take help of above mentioned steps.

By PixelCrayons:-
xhtml.pixelcrayons.com converts your design files from various common image formats (PSD, JPG, GIF, PNG, AI) into best quality cross-browser compatible W3C validated XHTML/CSS markup. Check xhtml.pixelcrayons for our PSD to HTML Conversion and integration such as PSD to drupal, PSD to Wordpress etc.