Gallery3:Modules:custom header - Gallery Codex
Personal tools

Gallery3:Modules:custom header

From Gallery Codex

Custom header

Add meta data to your header.

Description

A simple but useful module for adding custom tags to the HTML head section..
This module does not allow for adjustment of the top of the page like the logo or banner.

Installation

This module may be downloaded from the Gallery forums here.

To install, extract the "custom_header" folder from the zip file into your Gallery 3 modules folder.
Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu.
Configure the module: Settings -> Custom header page.

Meta data must be specified on the following format to bypass Kohanas input filter (it doesn't allow meta and other tags or certain attributes):

    [meta name:"robots" content:"index,follow,noarchive"/]
    [meta http-equiv:"Content-Type" content:"text/html; charset=UTF-8"/]
    [link rel:"pingback" href:"http://galleryproject.org/xmlrpc.php"/]
    [link rel:"stylesheet" id:"extras" href:"http://example.com/css.css" type:"text/css" media:"screen"/]
    [meta name:"copyright" content:"© 2006 – 2010 Niklas Dougherty / 倪阔乐"/]
    [script type:"text/javascript" src:"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver:2.9.2"][/script]  

Save