WebsiteBaker Community Forum

General Community => WebsiteBaker Website Showcase => Topic started by: Wind2dk on September 17, 2008, 10:09:25 PM

Title: My First Homepage With WB
Post by: Wind2dk on September 17, 2008, 10:09:25 PM
Hello everyone :)

I noticed how you all post your sites and give feedback to eachother which i think is really great. I have a few issues with my homepage which i was hoping some of you might be able to help with and besides that, some general feedback would be nice :)

My website is located here: www.boegeskovfritid sklub.dk/wb

As you can see it's still pretty empty as there is not really any text yet. Also i will make a redirection later so the user doesn't have to type /wb but for now it wiill be like that. The things i'm having trouble with is:

1. Getting the tagline to work. It just says "Tagline" instead of displaying which area of the site you're on. I've found the place in the .php page where it's written but i don't know what to write to make it get the correct info from the db.

2. When i click the add comment (tilføj kommentar) under latest news (seneste nyheder), there are 4 input fields which does nothing and i don't want them, but i don't know how to remove them. I've searched through all the files in the template and all the admin settings but i just can't find a way to remove them :(

Hopefully some of you know what i need to do to correct these things. I've already edited a few things in the template and know basic css and php.
Title: Re: My First Homepage With WB
Post by: Ruud on September 17, 2008, 10:54:28 PM
2. When i click the add comment (tilføj kommentar) under latest news (seneste nyheder), there are 4 input fields which does nothing and i don't want them, but i don't know how to remove them. I've searched through all the files in the template and all the admin settings but i just can't find a way to remove them :(

What you see is the spam control. This part should be hidden by the frontend.css that is used in the news module.
To enable that css to be loaded you need to have the following code in the <head> section of your template/index.php.

Code: [Select]
<?php
// this allows to include the optional module files (frontend.css, frontend.js) into the head section
if(function_exists(&#39;register_frontend_modfiles&#39;)) {
    
register_frontend_modfiles(&#39;css&#39;);
    
register_frontend_modfiles(&#39;js&#39;);
?>

(Also see the Help project (http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/enhanced-template-elements.php#anker4))

When you have this included your extra fields will be gone.

Ruud
Title: Re: My First Homepage With WB
Post by: Wind2dk on September 18, 2008, 11:26:35 AM
Thanks a lot Ruud.. That fixed the problem right away :)