Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:24:49 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.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Additionall Site configuration fields  (Read 884 times)
sharmpro

Offline Offline

Posts: 64



WWW
« on: May 18, 2008, 06:43:05 PM »

Hi Bakers,
I'm setting up a couple of sites and instead of modify each template I'd like to know if 'someone out there' had already a MOD or a nice idea for storing additional field to use into the index.php of the template itself.
I'm thinking of the logo, slogan and other infos.

Thank for your help.

Best regards
Stefano
Logged

doc
Guest
« Reply #1 on: May 18, 2008, 07:13:39 PM »

Hello,

have a look on the section code snippets on the addons repository. Code snippets add functions which can be used in the index.php of your template. Also check out the banner module in the section unsuported tools.

You may want to search the forum for e.g. ob_start() or a combination of page_id and CSS images.

Regards Christian
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2298



WWW
« Reply #2 on: May 18, 2008, 10:12:07 PM »

Maybe a bit unconventional idea...

You could (mis)use the Description / Keyword fields from the backend settings to do this.
Google and other major searchengines do not use this data anymore (http://searchenginewatch.com/showPage.html?page=2167931).

Put your slogan in the "Keywords" field (just make sure not to use the keyword field in the page editor) and use <?php page_keywords(); ?> in your template to display it.

Ruud
Logged

Professional WebsiteBaker Solutions
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!