Welcome, Guest
Please Login or Register.    Lost Password?

change to 1.5 in Nifty Corners... somet is wrong..
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: change to 1.5 in Nifty Corners... somet is wrong..
#1566
change to 1.5 in Nifty Corners... somet is wrong.. 3 Years, 5 Months ago Karma: 0
I am trying to change this template a 1.5 version, but something is wrong....

you can view the file... ZIP
File Attachment:
File Name: NinftyTheme.zip
File Size: 164210
efra
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2008/11/22 23:45 By efra.
The administrator has disabled public write access.
 
#1595
Re:change to 1.5 in Nifty Corners... somet is wrong.. 3 Years, 5 Months ago Karma: 12
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.
File Attachment:
File Name: NinftyTheme-eb8c25a0a229629a36416c6e30319f84.zip
File Size: 160446
Bambi
Moderator
Posts: 343
graphgraph
User Offline Click here to see the profile of this user
Gender: Male bambii7@msn.com Location: New Zealand Birthday: 12/21
Last Edit: 2008/11/26 05:44 By Bambi.
The administrator has disabled public write access.
 
#1596
Re:change to 1.5 in Nifty Corners... somet is wrong.. 3 Years, 5 Months ago Karma: 12
P.S.
I think due to two files called NiftyTheme it's given mine an excessive name. Rename it to NiftyTheme.zip before installing.
Bambi
Moderator
Posts: 343
graphgraph
User Offline Click here to see the profile of this user
Gender: Male bambii7@msn.com Location: New Zealand Birthday: 12/21
The administrator has disabled public write access.
 
#1716
Re:change to 1.5 in Nifty Corners... somet is wron 3 Years, 5 Months ago Karma: 0
I can´t make the css, is difficult for me.... i hope 1 day you can make this template for joomla 1.5

Thanks
efra
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Support
 
JOOMLA TEMPLATES Joomla Templates By JoomlaBear