General Community > WebsiteBaker Website Showcase

My website

(1/2) > >>

caz1963:
I have just finished building my site using website baker and a modified GT1 template. This is my first attempt at building a site using a cms and I would welcome feedback from people who understand these things... I am a graphic designer not a developer so any comments would be much appreciated :-D

Thanks

Caroline

www.oakley-media.co.uk

mr-fan:
hi,

nice header - clear navigation....

only thing for my oppinion is the to large latest news-block..... try it with a more adapted color/text or +a graphic and

only the short news...

on every page i never see the footer - this block enlarge the wohle page - the last latest news will never be read (to much scrolling -with withe maincontent on short sites)

regards martin

caz1963:
Thank you - I agree about the news but am struggling to work out how to change this - doing it by trial and error at the moment!

Caroline

mr-fan:
can you post the code of your php-call for the news (did you use the anynewssnippet??

caz1963:
No it's just the way the news is set up on the template and I'm not sure which bit to change so it just show the latest news and not other posts from the site. The relevant bit of code I think is....

<div class="Last">
            <?php ob_start();     // start output buffer
            global $database;
            $query = "SELECT post_id,title,content_short,group_id,link FROM ".TABLE_PREFIX."mod_news_posts ORDER BY position DESC LIMIT 0,3";
            $error = mysql_error();
            if (!$result = mysql_query($query)) {
                print "$error";
                exit;
            }
            while($data = mysql_fetch_object($result)){
                $title = $data->title;
                $id = $data->post_id;
                $link = $data->link;
                $short = $data->content_short;
                echo '<p><a href="'.WB_URL.'/pages/'.$link.PAGE_EXTENSION.'">'.$title.'</a><br />'.$short.'</p>';
            }
            $foo=ob_get_contents();    // put outputbuffer in $foo
            ob_end_clean();             // clear outputbuffer
            if ($foo<>"") {  // some code to execute cause there is some block
                echo '<h1>Latest News</h1>';
                echo $foo;
            } else { // some code for no info
                echo '<h1>No New News</h1>';
            }
            ?>
        </div>

Navigation

[0] Message Index

[#] Next page

Go to full version