www.clan-themes.co.uk :: View topic - Made my first theme but need some help
Welcome To Clan Themes
As the board grows please remember the Search Option and we hope you find our community useful.
We also monitor Private Messages to stop members from abusing our sites system. If you are asking for assistance please provide your site link and nuke version, Thanks.
Joined: Jul 15, 2008
Last Visit: 30 Oct 2008
Posts: 8 Points: 412
Made my first theme but need some helpPosted:
Wed Sep 24, 2008 11:57 pm
Ok so I love taking free theme and simply modifying the images to fit my own personal style but the most I could ever do was change the color of the images. If I tried to modify the entire image or make a new one to replace the old one it would mess up the entire look of the site. So I decided to try and create a theme from scratch. I already know photoshop and how to slice objects and what I didn't know about dreamweaver was at least simple to find to help me along. So I created all of my images from the header which I absolutely love to the blocks. I followed a tutorial on the basics of coding. that person who made the tutorial was nice enough to modify a theme.php file so I could simply copy and past my html to php converted code. But something is messing up. And I just don't know where to look in what part of the code to try and fix it. Basically my header is where it needs to be and so are my left blocks so that's not the problem. its the center and right blocks that are the problem. Somehow the cecter block was pushed to the bottom of the page and my right block got pushed to the left of the page under the center bock. Here is a link to my test site. Test Site
Please could you help me figure out whats going wrong?
Ped
Reputation: 334.3 votes: 17
Local time: 1:00 AM Location: Great British Empire
Status: Offline
2.36 posts per day Medals: 2 (View more...)
Clan Themes Theme Guru Joined: Nov 13, 2006
Last Visit: 20 Nov 2008
Posts: 1743 Points: 15120
Re: Made my first theme but need some helpPosted:
Thu Sep 25, 2008 7:54 am
that will be the way the theme.php is coded, something is in the wrong order/place
without looking through the theme.php to see how u have coded it there isnt much support i can offer u m8
Joined: Jul 15, 2008
Last Visit: 30 Oct 2008
Posts: 8 Points: 412
Made my first theme but need some helpPosted:
Thu Sep 25, 2008 3:55 pm
ok well here is the code.
<?php
/************************************************************/
/* Theme Colors Definition */
/************************************************************/
// you change these colors to match your theme. Most of these colors are not used anymore due to the existence of the CSS file,
// but you should change them just for compatibility issues, especially with deisgns.
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
####################### ALL YOUR HEADER HTML CODE IN HERE ##########################
/************************************************************/
/* Function themeindex() */
/* This function format the stories on the Homepage */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
where u can see the layout of the table rows and table data, then you can see what goes where and the colours are there to see whats going on.
I also noticed that you were placing <html> <body> <doc> types and all sorts of code in there, thats not needed because its called from the phpnuke header file.. all you need to concentrate on is the html code
I suppose i should nock up a tutorial one of these days... just never have the time !
Once you know you have the code in the right place, you can start to add your own snippets !
3 Replies / 316 Views Page 1 of 1 All times are GMT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum