WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Deeje on July 06, 2008, 07:01:03 AM

Title: Template Help NEEDED
Post by: Deeje on July 06, 2008, 07: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?
Title: Re: Template Help NEEDED
Post by: Ruud on July 06, 2008, 09: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 (http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/creating-a-wb-template.php)


Ruud
Title: Re: Template Help NEEDED
Post by: Deeje on July 06, 2008, 10:37:52 AM
KK, It is attached to this post.

[gelöscht durch Administrator]
Title: Re: Template Help NEEDED
Post by: chio on July 06, 2008, 02: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.
Title: Re: Template Help NEEDED
Post by: Deeje on July 06, 2008, 04: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...
Title: Re: Template Help NEEDED
Post by: Ruud on July 06, 2008, 09:22:33 PM
Your "if (SHOW_MENU)" statement was not closed.
if you change this into
Code: [Select]
   if(SHOW_MENU) {
    ?>    
    <div class="menu">
        <?php 
        show_menu
();
    }
the template shows. (I don't think it is what you are expecting)

Ruud
Title: Re: Template Help NEEDED
Post by: Deeje on July 07, 2008, 04:12:58 AM
Ah! That worked, Thank you so much.