Nice work on making a start. Once you get the basics down you'll be making and editing your own template in no time.
To start with the .xml file had a foreign character which was causing issues.
"Versión" needed to be "Version".
It's minor I know but the first line of the .xml file defines the types of characters which are allowed in the file by utf-8. ó conflicts with the compatible characters.
The index.php had quite a few errors, but all quite minor. You get better at picking up on syntax errors as you go along.
- Every time you use $GLOBALS[mosConfig_live_site] it needs to be inside quotes like so $GLOBALS['mosConfig_live_site']. This is for any php array.
- Next up is closing brackets every time you open a bracket it needs a partner closing one. It's much like html tags if you open a link tag you need to close it <a>Link text</a>, so { needs a }. Where you have
| Code: |
<?php if (mosCountModules('user2')) { ?>
<jdoc:include type="modules" name="user2" />
<?php if (mosCountModules('user3')) { ?>
|
you needed
| Code: |
<?php if (mosCountModules('user2')) { ?>
<jdoc:include type="modules" name="user2" />
<?php } if (mosCountModules('user3')) { ?>.
|
- Then mosCountModules() is for Joomla 1.0.x, 1.5 uses $this->countModules(). Same effect different spelling.
Now your .xml file installs perfectly and your index.php doesn't throw out any errors. All that's left is adjusting the template.css to the appropriate tags. You shouldn't need to write any more css you'll just need to link up the correct tags. Things like .moduletable needs .moduletable_menu as well. I hope that makes sense.... give it ago because it's good practice. And if you run into trouble I'll be able to give you a hand in a few days.