-
Notifications
You must be signed in to change notification settings - Fork 3
/
INSTALL.TXT
executable file
·56 lines (42 loc) · 2.79 KB
/
INSTALL.TXT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Included in this module are a bunch of sub modules. You should be able to enable
the stanford subsite module and the stanford subsite admin dash module through
the modules page.
********************************************************************************
THEME OPTIONS:
If you want to enable the 'split' or Link the logo to the main site and link the
site name to the subsite option on subsite nodes you will have to implement the
$subsite_site_name & the $subsite_logo variable into your theme. Please see
examples/example-page.tpl.php
********************************************************************************
THEME VARIABLES:
This module introduces a couple of extra variables into your page.tpl.php
$alt The alt text provided in the image upload field on subsite
nodes. field_stanford_subsite_logo. This can be added to
the default page.tpl.php markup
$logo_title The title text provided in the image upload field on
subsite nodes. field_stanford_subsite_logo. This can be
added to the default page.tpl.php markup
$subsite_logo_html A fully rendered image and link tag complete with alt and
title text. This variable should replace the $logo
variable in page.tpl.php. It falls back to the default
$logo image if there is no subsite logo available. This is
different from the regular $logo variable as it has alt,
title text, and a link that can link to either the subsite
page or the drupal root home.
$subsite_site_name_html A fully rendered link and site name heading tag. This
is different from the regular $site_name page variable
as it can have it's link go to either the subsite node
or the Drupal root home.
$subsite_site_name_text A plain text string of the currently active susbsite
site name text
$subsite_is_front A boolean value to determine if the current page that is
being viewed is a subsite 'front' page
$subsite_front A string of the complete url to the active subsite. False
if there is no active subsite.
eg: http://example.com/subsite
$subsite_name_logo_setting A string of text with the setting value for the
way the logo and site name variables should be
linked. The values are: default (link both to site
root), subsite (link both to subsite node), or
split (link logo to site root and site name to the
subsite logo)