Welcome, Guest. Please login or register.
Did you miss your activation email?
February 13, 2012, 03:41:34 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149700 Posts in 21103 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Greytut  (Read 1407 times)
cmiper

Offline Offline

Posts: 34



« on: January 11, 2006, 07:42:28 PM »

A simple template I've worked on over the past few days.

The logo banner was changed for this public template, the original logo was one more specific to original site I had designed it for.

The print CSS was adjusted to show/print only the content, properly formatted to printable pages.

Tested in both IE6 and FF1.5 with no known issues.

Demo found here.

Download found here.

Comments are welcomed, both good and bad.  grin

« Last Edit: January 11, 2006, 09:35:59 PM by cmiper » Logged
pcwacht
Guest
« Reply #1 on: January 11, 2006, 10:42:39 PM »

Good template.

Logged
i2Paq

Offline Offline

Posts: 507


« Reply #2 on: January 11, 2006, 11:37:31 PM »

Nice!
Logged

Opensource is my life, but then elsewhere.
seanie_morris

Offline Offline

Posts: 16


« Reply #3 on: February 08, 2012, 04:00:35 PM »

Just wanted to chip in and say that this is a nice template, easy to manipulate and cleanly coded (thanks cmiper!).

One question though: on my site(s) there are no page headings showing? What am I missing?


Thanks,

Seanie.
« Last Edit: February 08, 2012, 04:03:06 PM by seanie_morris » Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3275


WWW
« Reply #4 on: February 08, 2012, 04:08:35 PM »

Hi, have a look:
http://www.websitebaker2.org/en/help/designer-guide/adding-template-functions.php
Logged

seanie_morris

Offline Offline

Posts: 16


« Reply #5 on: February 08, 2012, 05:51:39 PM »

Thanks or the reply. You'd think what I am looking for is under 'Main and News Content', but it's not. Other templates automatically add the page heading as seen under the Pages tab in the admin menu. With greytut, the headings do not appear automatically. That's what I am looking for...

Seanie.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6823


WWW
« Reply #6 on: February 08, 2012, 06:26:33 PM »

Please, if sombody gives you the link already use it and read it. Here http://www.websitebaker2.org/en/help/designer-guide/adding-template-functions.php#anker2 it is explained, what needs to be in the template to automatically pull the meta tags from what you enter in the admin backend.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

seanie_morris

Offline Offline

Posts: 16


« Reply #7 on: February 08, 2012, 06:46:00 PM »

I think Klaus you're mixing something up: I am not looking for the website header or the page title, I am looking for the individual page heading(s) to automatically display on their specific page. Create a new page and often the menu title and page title are the same BUT page title is the main heading (<h?></h?>) on that page.

Seanie
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6823


WWW
« Reply #8 on: February 08, 2012, 08:03:41 PM »

Apologies, try this here: http://www.websitebaker2.org/en/help/designer-guide/adding-template-functions.php#anker5

Basically we have everything regarding basic template functions in there, you just need to be willing to read up.  wink

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

evaki

Offline Offline

Posts: 115


« Reply #9 on: February 09, 2012, 01:22:02 AM »

http://www.websitebaker2.org/forum/index.php/topic,23345.msg
Logged
seanie_morris

Offline Offline

Posts: 16


« Reply #10 on: February 09, 2012, 11:44:08 AM »

That's the one Klaus, thanks.

Solution:
Under the 'Website Header' section of the aforementioned Help page linked above, insert:
Code:
<!-- header -->
    <div id="banner">
        <h1><?php echo WEBSITE_HEADER?></h1>
    </div>
into your index.php file immediately before the snippet:
Code:
<?php page_content(); ?>
and replaing:
Code:
<?php echo WEBSITE_HEADER?>
in the newly pasted snippet with:
Code:
<?php echo PAGE_TITLE?>
instead.

Fixed!

Thanks,

Seanie.
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!