1
Roytje
Theme doesn't work
  • 2003/10/18 9:51

  • Roytje

  • Just popping in

  • Posts: 15

  • Since: 2003/10/18


Ik made my own theme in photoshop, and I used the source of phpkaox, but wenn I upload it, it doesn't work . I get a totaly empty screen.

this is the theme.html file, and I dit it in the phpkaox folder and replaced the current. So I didn't make any other files

The code is:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
</HEAD>
<BODY>

<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>

<TABLE WIDTH=990 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=8 ROWSPAN=6>
<IMG SRC="../../../../images/metalsliced_01.jpg" WIDTH=186 HEIGHT=98 ALT=""></TD>
<TD ROWSPAN=7>
<IMG SRC="../../../../images/metalsliced_02.jpg" WIDTH=311 HEIGHT=101 ALT=""></TD>
<TD COLSPAN=9>
<IMG SRC="../../../../images/metalsliced_03.jpg" WIDTH=493 HEIGHT=19 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=19 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=7>
<A HREF="http://www.royalmusic.iwebland.com/html/">
<IMG SRC="../../../../images/metalsliced_04.jpg" WIDTH=381 HEIGHT=50 BORDER=0 ALT=""></A></TD>
<TD ROWSPAN=7>
<IMG SRC="../../../../images/metalsliced_05.jpg" WIDTH=109 HEIGHT=86 ALT=""></TD>
<TD ROWSPAN=9>
<IMG SRC="../../../../images/metalsliced_06.jpg" WIDTH=3 HEIGHT=100 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=50 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=7>
<IMG SRC="../../../../images/metalsliced_07.jpg" WIDTH=381 HEIGHT=6 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=6 ALT=""></TD>
</TR>
<TR>
<TD ROWSPAN=4>
<IMG SRC="../../../../images/metalsliced_08.jpg" WIDTH=62 HEIGHT=26 ALT=""></TD>
<TD COLSPAN=2>
<IMG SRC="../../../../images/metalsliced_09.jpg" WIDTH=157 HEIGHT=10 ALT=""></TD>
<TD COLSPAN=4 ROWSPAN=2>
<IMG SRC="../../../../images/metalsliced_10.jpg" WIDTH=162 HEIGHT=15 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=10 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2>
<IMG SRC="../../../../images/metalsliced_11.jpg" WIDTH=157 HEIGHT=5 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=5 ALT=""></TD>
</TR>
<TR>
<TD ROWSPAN=2>
<IMG SRC="../../../../images/metalsliced_12.jpg" WIDTH=61 HEIGHT=11 ALT=""></TD>
<TD COLSPAN=2 ROWSPAN=5>
<A HREF="http://www.royalmusic.iwebland.com/html/user.php?op=logout">
<IMG SRC="../../../../images/metalsliced_13.jpg" WIDTH=99 HEIGHT=29 BORDER=0 ALT=""></A></TD>
<TD ROWSPAN=5>
<IMG SRC="../../../../images/metalsliced_14.jpg" WIDTH=9 HEIGHT=29 ALT=""></TD>
<TD ROWSPAN=5>
<A HREF="http://www.royalmusic.iwebland.com/html/user.php">
<IMG SRC="../../../../images/metalsliced_15.jpg" WIDTH=118 HEIGHT=29 BORDER=0 ALT=""></A></TD>
<TD ROWSPAN=3>
<IMG SRC="../../../../images/metalsliced_16.jpg" WIDTH=32 HEIGHT=15 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=8 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=8 ROWSPAN=3>
<IMG SRC="../../../../images/metalsliced_17.jpg" WIDTH=186 HEIGHT=18 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=3 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3 ROWSPAN=3>
<IMG SRC="../../../../images/metalsliced_18.jpg" WIDTH=434 HEIGHT=18 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=4 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2 ROWSPAN=2>
<IMG SRC="../../../../images/metalsliced_19.jpg" WIDTH=141 HEIGHT=14 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=11 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=7 ROWSPAN=2>
<IMG SRC="../../../../images/metalsliced_20.jpg" WIDTH=160 HEIGHT=15 ALT=""></TD>
<TD ROWSPAN=11>
<IMG SRC="../../../../images/metalsliced_21.jpg" WIDTH=26 HEIGHT=238 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=3 ALT=""></TD>
</TR>
<TR>

<{/foreach}>
<!-- End left blocks loop -->



<TD COLSPAN=10 ROWSPAN=18> <div style="height:473px;width:800px;overflow-y:auto;">

<table width="100%" height="476" border="0">
<tr>
<td width="75%" height="449">
<div align="center"></div>
<div align="center"></div>
<div align="center">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="100%" colspan="2">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}> <table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-center blocks loop -->
</td>
</tr>
<tr>
<td width="50%">
<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}> <table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-left blocks loop -->
</td>
<td width="50%">
<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}> <table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-right blocks loop -->
</td>
</tr>
</table>
<{/if}>
<!-- End display center blocks -->
<div id="content"> <{$xoops_contents}> </div>
</div></td>
<td width="25%"><div align="center">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<table cellspacing="0" cellpadding="2">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<br />
<{/foreach}>
<!-- End right blocks loop -->
<{/if}> </div></td>
</tr>

<tr>
<td height="21" colspan="2"><div align="center"><{$xoops_footer}></div></td>
</tr>
</table> </TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=12 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2 ROWSPAN=7>
<IMG SRC="../../../../images/metalsliced_23.jpg" WIDTH=10 HEIGHT=185 ALT=""></TD>
<TD COLSPAN=3>
<A HREF="http://www.royalmusic.iwebland.com/html/">
<IMG SRC="../../../../images/metalsliced_24.jpg" WIDTH=145 HEIGHT=34 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=2 ROWSPAN=7>
<IMG SRC="../../../../images/metalsliced_25.jpg" WIDTH=5 HEIGHT=185 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=34 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="../../../../images/metalsliced_26.jpg" WIDTH=145 HEIGHT=38 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=38 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="../../../../images/metalsliced_27.jpg" WIDTH=145 HEIGHT=36 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=36 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="../../../../images/metalsliced_28.jpg" WIDTH=145 HEIGHT=38 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=38 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="../../../../images/metalsliced_29.jpg" WIDTH=145 HEIGHT=5 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=5 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="../../../../images/metalsliced_30.jpg" WIDTH=145 HEIGHT=32 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=32 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="../../../../images/metalsliced_31.jpg" WIDTH=145 HEIGHT=2 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=2 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=7>
<IMG SRC="../../../../images/metalsliced_32.jpg" WIDTH=160 HEIGHT=21 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=21 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=7>
<IMG SRC="../../../../images/metalsliced_33.jpg" WIDTH=160 HEIGHT=17 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=17 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=8>
<IMG SRC="../../../../images/metalsliced_34.jpg" WIDTH=186 HEIGHT=9 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=9 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="../../../../images/metalsliced_35.jpg" WIDTH=7 HEIGHT=14 ALT=""></TD>
<TD COLSPAN=5>
<A HREF="mailto:Roytje32@hotmail.com">
<IMG SRC="../../../../images/metalsliced_36.jpg" WIDTH=151 HEIGHT=14 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=2>
<IMG SRC="../../../../images/metalsliced_37.jpg" WIDTH=28 HEIGHT=14 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=14 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=8>
<IMG SRC="../../../../images/metalsliced_38.jpg" WIDTH=186 HEIGHT=65 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=65 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=4>
<IMG SRC="../../../../images/metalsliced_39.jpg" WIDTH=101 HEIGHT=22 ALT=""></TD>
<TD COLSPAN=4 ROWSPAN=5>
<IMG SRC="../../../../images/metalsliced_40.jpg" WIDTH=85 HEIGHT=148 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=22 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2 ROWSPAN=3>
<IMG SRC="../../../../images/metalsliced_41.jpg" WIDTH=10 HEIGHT=103 ALT=""></TD>
<TD>
<A HREF="http://www.royalmusic.iwebland.com/html/user.php">
<IMG SRC="../../../../images/metalsliced_42.jpg" WIDTH=81 HEIGHT=35 BORDER=0 ALT=""></A></TD>
<TD ROWSPAN=3>
<IMG SRC="../../../../images/metalsliced_43.jpg" WIDTH=10 HEIGHT=103 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=35 ALT=""></TD>
</TR>
<TR>
<TD>
<A HREF="http://www.royalmusic.iwebland.com/html/viewpmsg.php">
<IMG SRC="../../../../images/metalsliced_44.jpg" WIDTH=81 HEIGHT=36 BORDER=0 ALT=""></A></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=36 ALT=""></TD>
</TR>
<TR>
<TD>
<A HREF="http://www.royalmusic.iwebland.com/html/admin.php">
<IMG SRC="../../../../images/metalsliced_45.jpg" WIDTH=81 HEIGHT=32 BORDER=0 ALT=""></A></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=32 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=4>
<IMG SRC="../../../../images/metalsliced_46.jpg" WIDTH=101 HEIGHT=23 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=1 HEIGHT=23 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=7 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=3 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=81 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=10 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=54 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=3 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=2 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=26 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=311 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=62 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=61 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=96 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=3 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=9 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=118 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=32 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=109 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="../../../../images/spacer.gif" WIDTH=3 HEIGHT=1 ALT=""></TD>
<TD></TD>
</TR>
</TABLE>
</BODY>
</HTML>

Does anybody know's what's wrong? Cause I spent a LOT of time making this theme.

2
philou
Re: Theme doesn't work
  • 2003/10/18 10:46

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


you cant use this : ../../../../
the tree for the themes :
<{$xoops_url}>/themes/<{$xoops_theme}>/images/toto.gif


and so this is ok ....

3
Roytje
Re: Theme doesn't work
  • 2003/10/18 12:18

  • Roytje

  • Just popping in

  • Posts: 15

  • Since: 2003/10/18


Hmm... I think I did something wrong. I changed it, and i still have the white screen.

Hmm.. mayby somebody can say how I must change a theme. I feel really bad now, cause I worked day's on this theme, without any effect! I hope somebody can help!

I think that the problem is in the php, cause wenn I load the file by typping his url, he shows everything correctly, but ofcourse the php lines aren't replaced so you see things like:
<{if $xoops_showcblock == 1}> <{foreach item=block from=$xoops_ccblocks}> <{$block.title}>

4
ackbarr
Re: Theme doesn't work

as with any blank screen problem - the first troubleshooting step is to turn on php debugging and see if any errors are displayed

5
Roytje
Re: Theme doesn't work
  • 2003/10/18 12:53

  • Roytje

  • Just popping in

  • Posts: 15

  • Since: 2003/10/18


I checked the source in a debugger, but I got no errors. (ja, one in the javascript but, I know for sure that that one is good, becouse I paste it from the phpkaox file)

6
Roytje
Re: Theme doesn't work
  • 2003/10/18 13:38

  • Roytje

  • Just popping in

  • Posts: 15

  • Since: 2003/10/18


Wow, finily i almost got it working.
I found the Wiki guide, dit what is says and now, it almost worked. I think that it wasn't the smartest move to edit the phpkoax. Wenn everything work, I will post my url.

But, thanks anyway..
(and forgive me my bad english, im only 15 jears old and i'm Dutch)

7
ackbarr
Re: Theme doesn't work

I'm glad you got it working, welcome to Xoops

8
Roytje
Re: Theme doesn't work
  • 2003/10/18 14:34

  • Roytje

  • Just popping in

  • Posts: 15

  • Since: 2003/10/18


Thank you, for a little view of the homepage (the rest doesn't work jet) go to:
http://www.royalmusic.iwebland.com/html
In a few days I hope that everything works, but now I hope you give a comment about my site en the theme.

See Ya
Roy

Login

Who's Online

279 user(s) are online (175 user(s) are browsing Support Forums)


Members: 0


Guests: 279


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits