Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 10:25:40 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155401 Posts in 21698 Topics by 7729 Members
Latest Member: adnan
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Template Help NEEDED  (Read 1074 times)
Deeje

Offline Offline

Posts: 4


« on: July 06, 2008, 06:01:03 AM »

Ok, I have created a template that I thought was right, but after installing it, I set the theme and it justcreates a white screen
Why, and what do I do?
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #1 on: July 06, 2008, 08:07:05 AM »

Why, and what do I do?

That is a bit difficult to tell with the information you give.

Most common mistake is that a complete directory/folder including the path is in the zipfile.

If you want more help, try attaching your template zipfile to the post so we can see.

Another option is to read this:
http://help.websitebaker.org/pages/en/advanced-docu/designer-guide/creating-a-wb-template.php


Ruud
Logged

Professional WebsiteBaker Solutions
Deeje

Offline Offline

Posts: 4


« Reply #2 on: July 06, 2008, 09:37:52 AM »

KK, It is attached to this post.
Logged
chio
WebsiteBaker Org e.V.

Offline Offline

Posts: 2264


« Reply #3 on: July 06, 2008, 01:18:12 PM »

Seems to me you have zipped the Folder.

You have to zip the _content_ of the folder instead.

There are also some php-errors. I can fix them, but there seem to some html-problems also.. not closed tags.
Logged

*weg*
Deeje

Offline Offline

Posts: 4


« Reply #4 on: July 06, 2008, 03:32:09 PM »

Oh, I deleted the zip I uploaded, the content was zipped, not the whole folder. So it would just be the messed up coding...
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #5 on: July 06, 2008, 08:22:33 PM »

Your "if (SHOW_MENU)" statement was not closed.
if you change this into
Code:
   if(SHOW_MENU) {
    ?>    
    <div class="menu">
        <?php 
        show_menu
();
    }
the template shows. (I don't think it is what you are expecting)

Ruud
Logged

Professional WebsiteBaker Solutions
Deeje

Offline Offline

Posts: 4


« Reply #6 on: July 07, 2008, 03:12:58 AM »

Ah! That worked, Thank you so much.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!