I need to convert a html to joomla

by yeadh
5 replies
Hi everyone.
I have a html file that I want to convert into joomla theme.I know joomla but not much.
Still learning.
Need help.
#convert #html #joomla
  • {{ DiscussionBoard.errors[10455527].message }}
  • Profile picture of the author PeachCoding
    Converting html into a joomla template is a bit more complicated than what's described on the link above. That is if you want your template to be 100% dynamic, want to be able to manage your menu entries with the joomla menu items manager and if you want the template to be mobile responsive.

    I can convert the html into a dynamic and mobile responsive template for just $50. You can reach me via PM here or via email to ivanphp404@gmail.com
    Signature

    Services offered: PSD to Wordpress, Joomla, Drupal Templates or Full Site, Custom PHP or C# Programming, Fix problems on any software, and more.

    You will get 25% OFF all services by mentioning the Warrior Forum. PM me here or email me to ivanphp404@gmail.com if interested and/or if you have questions.

    {{ DiscussionBoard.errors[10477373].message }}
    • Profile picture of the author SteveJohnson
      [DELETED]
      {{ DiscussionBoard.errors[10479195].message }}
      • Profile picture of the author PeachCoding
        Originally Posted by SteveJohnson View Post

        You don't value your work very highly, do you?
        That is your opinion and you're entitled to it. So by all means you can think what you want. I personally see it as paying the price to show my talents on a forum that barely knows me at the moment.

        As I value the long term business a whole lot more than what most people go after (a quick buck). But that is my opinion and just as well as you I'm entitled to it.

        Hope you have a great day.
        Signature

        Services offered: PSD to Wordpress, Joomla, Drupal Templates or Full Site, Custom PHP or C# Programming, Fix problems on any software, and more.

        You will get 25% OFF all services by mentioning the Warrior Forum. PM me here or email me to ivanphp404@gmail.com if interested and/or if you have questions.

        {{ DiscussionBoard.errors[10479209].message }}
  • Profile picture of the author SteveJohnson
    Of course it's my opinion.

    Do you think bottom-feeding (looking for low-end work) is a gateway to long-term business? Do you think people who jump on $99 WP sites will ever be a high-dollar client?

    You might think that working for peanuts is a great way to break into the business or introduce yourself, but all you're advertising is that you'll work for cheap.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[10479284].message }}
  • Profile picture of the author NEMESH
    Banned
    Step 1
    Review the HTML template that you wish to convert. Ensure that the template is (X)HTML and CSS compliant.

    Step 2
    Open your Joomla folder. Locate the Templates folder. Ensure that all your files -- the HTML file, any images and the CSS file -- are all located in this folder. Locate the index.html file for your HTML template and rename it as index.php.
    Step 3
    Open the index.php file in Notepad or another text editor and add a piece of security code at the top of the file. An example of security code would be:
    <?php // no direct access defined('_JEXEC') or die('Restricted access'); ?> <?php echo '<?xml version="1.0" encoding="utf-8"?'.'>'; ?>

    Step 4
    Replace all the header code in your HTML template document with Joomla includes. Delete all code between the <head></head> tags and replace it with the following code:
    <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ? >/css/template.css" type="text/css" />

    Step 5
    Replace all the text in your template with Joomla includes. Do this by finding any <div></div> tags and deleting the content between them. Where you want your Joomla Articles content to appear, insert the following code:
    <jdoc:include type="component" />
    Between any other <div></div> tags, place the other Joomla variables. You can use predefined Joomla variables or define your own. Here is an example of the code:
    <?php if ($this->getBuffer('message')) : ?> <div class="error"> <h2> <?php echo JText::_('Message'); ?> </h2> <jdoc:include type="message" /> </div> <?php endif; ?> <div> <jdoc:include type="modules" name="user3" /> <jdoc:include type="modules" name="user4" /> </div> <div id="breadcrumbs"> <p> <jdoc:include type="modules" name="breadcrumb" /> </p> </div>
    Save and close the index.php file.

    Step 6
    Create an XML manifest file. This is a master file that lists all of the files used in your template. It is necessary for your Joomla template to work properly.

    Step 7
    Ensure that the files index.html, index.php and the XML manifest file are all in the same directory, along with all their contents. Create a ZIP file from these. Install your new template via Joomla administration.
    {{ DiscussionBoard.errors[10481755].message }}

Trending Topics