Skip to content

Commit b702b47

Browse files
author
J.R. Logan
committed
first commit
0 parents  commit b702b47

File tree

2 files changed

+217
-0
lines changed

2 files changed

+217
-0
lines changed

open_way.info

+200
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
2+
; -----------------------------------------------------------------------------
3+
; Introduction
4+
; -----------------------------------------------------------------------------
5+
; Well, this is it! An example Profiler include, showing you how to create your
6+
; own Install profiles easily. This file uses Drupal's info format, which is
7+
; very similar to PHP's own ini format, however you can use nested arrays in
8+
; Drupal's version, which comes in handy for lots of stuff, as you'll see below.
9+
;
10+
; "Wait, you said this would be easy, what is all this stuff?"
11+
;
12+
; There aren't really any mandatory things here, but if you don't put anything
13+
; in here, your install profile won't do much. :) Don't get overwhelmed, just
14+
; go slow and make a few changes here and there till you get the hang of
15+
; what's happening.
16+
;
17+
; I've tried to create examples for every piece of functionality below, but to
18+
; get a quick breakdown of what's currently available, here's a list of all the
19+
; possible items:
20+
;
21+
; - base
22+
; - dependencies
23+
; - nodes
24+
; - terms
25+
; - theme
26+
; - users
27+
; - variables
28+
; -----------------------------------------------------------------------------
29+
30+
name = Open Way
31+
description = A Drupal distribution for United Way's
32+
core = 7.x
33+
theme = live_united_classic
34+
35+
; -----------------------------------------------------------------------------
36+
; You could specify this as a base Profiler include by using the following in
37+
; your own Install profile's Profiler include. Then everything in this file
38+
; would be merged with your Profiler include:
39+
; -----------------------------------------------------------------------------
40+
; base = profiler_example
41+
42+
43+
; -----------------------------------------------------------------------------
44+
; Modules
45+
; -----------------------------------------------------------------------------
46+
; List the modules (core, contrib and/or features) to be enabled in the
47+
; dependencies[] array. Any dependencies of the listed modules will be detected
48+
; and enabled automatically.
49+
; -----------------------------------------------------------------------------
50+
dependencies[] = filter
51+
dependencies[] = help
52+
dependencies[] = menu
53+
dependencies[] = node
54+
dependencies[] = path
55+
dependencies[] = system
56+
dependencies[] = user
57+
dependencies[] = block
58+
dependencies[] = comment
59+
dependencies[] = dashboard
60+
dependencies[] = overlay
61+
dependencies[] = search
62+
dependencies[] = shortcut
63+
dependencies[] = taxonomy
64+
dependencies[] = toolbar
65+
dependencies[] = blog
66+
67+
; Contrib
68+
dependencies[] = date_api
69+
dependencies[] = imageapi
70+
dependencies[] = imageapi_gd
71+
dependencies[] = token
72+
dependencies[] = globalredirect
73+
dependencies[] = number
74+
dependencies[] = text
75+
dependencies[] = views
76+
dependencies[] = views_ui
77+
dependencies[] = views_export
78+
dependencies[] = features
79+
dependencies[] = pathauto
80+
dependencies[] = wysiwyg
81+
dependencies[] = context
82+
dependencies[] = context_ui
83+
dependencies[] = email
84+
dependencies[] = link
85+
dependencies[] = better_formats
86+
dependencies[] = boxes
87+
dependencies[] = backup_migrate
88+
dependencies[] = diff
89+
dependencies[] = logintoboggan
90+
dependencies[] = menu_block
91+
dependencies[] = mollom
92+
dependencies[] = pathauto
93+
dependencies[] = redirect
94+
dependencies[] = save_draft
95+
dependencies[] = search404
96+
97+
; Open Way Features
98+
dependencies[] = open_way_configuration_images_styles
99+
dependencies[] = open_way_configuration_video_and_audio
100+
dependencies[] = open_way_structure_blog
101+
dependencies[] = open_way_structure_pages
102+
103+
; -----------------------------------------------------------------------------
104+
; Users
105+
; -----------------------------------------------------------------------------
106+
; One other thing to note here is that there's this (handy) quirk in Drupal's
107+
; install API in that you can bypass the configuration form during installation
108+
; (where you'd normally set up user 1 credentials and the site name and such).
109+
; To do this you need to specify credentials for user 1 and also specify the
110+
; site name and site email variables (@see Variables below).
111+
; -----------------------------------------------------------------------------
112+
113+
;users[superduper][uid] = 1
114+
;users[superduper][name] = admin
115+
;users[superduper][mail] = admin@admin
116+
;users[superduper][roles] = Admin,Publisher
117+
;users[superduper][status] = 1
118+
119+
;users[siteadmin][uid] = 2
120+
;users[siteadmin][name] = siteadmin
121+
;users[siteadmin][mail] = changeme@changeme
122+
;users[siteadmin][roles] = Admin,Publisher
123+
;users[siteadmin][status] = 1
124+
125+
; -----------------------------------------------------------------------------
126+
; Variables
127+
; -----------------------------------------------------------------------------
128+
; These variables should be pretty self explanatory, as they are just an array
129+
; of key value pairs for items in the variable table. Nested arrays also can
130+
; crop up here, since variables can be arrays.
131+
;
132+
; Also, make note of the site_name and site_mail variables below. These
133+
; variables need to be set if you want to bypass the Configuration form during
134+
; installation (@see Users for more information on how this is accomplished).
135+
; -----------------------------------------------------------------------------
136+
;variables[site_name] = United Way of Anytown
137+
;variables[site_mail] = [email protected]
138+
139+
variables[site_footer] = Open Way Powered
140+
variables[site_frontpage] = node/2
141+
variables[theme_settings][toggle_node_info_page] = 0
142+
143+
; options for default theme
144+
variables [toggle_logo] = 1
145+
variables [toggle_name] = 1
146+
variables [toggle_slogan] = 0
147+
variables [toggle_node_user_picture] = 1
148+
variables [toggle_comment_user_picture] = 1
149+
variables [toggle_main_menu] = 0
150+
variables [toggle_secondary_menu] = 0
151+
variables [default_logo] = 0
152+
variables [logo_path' => 'sites/all/themes/live_united_classic/images/image_common/topBlu_liveUnited.gif',
153+
variables [logo_upload] =
154+
variables [default_favicon] = 0
155+
variables [favicon_path] = sites/all/themes/live_united_classic/images/image_common/live_united_favicon.gif
156+
variables [favicon_upload] =
157+
variables [zen_breadcrumb] = yes
158+
variables [zen_breadcrumb_home] = 1
159+
variables [zen_breadcrumb_trailing] = 1
160+
variables [zen_breadcrumb_title] = 0
161+
variables [zen_rebuild_registry] = 1
162+
variables [zen_wireframes] = 0
163+
variables [favicon_mimetype] = image/gif
164+
165+
166+
167+
168+
169+
170+
171+
; You may also want to set the clean url variable if you don't need clean urls.
172+
; Since we bypassed the configuration screen, it is enabled by default, so to
173+
; disable it you'll want to uncomment this line:
174+
; variables[clean_url] = 0
175+
176+
; -----------------------------------------------------------------------------
177+
; Nodes
178+
; -----------------------------------------------------------------------------
179+
nodes[front][type] = page
180+
nodes[front][title] = Welcome to Open Way
181+
nodes[front][uid] = 1
182+
nodes[front][body] = <p>Congradulations you have installed Open Way.</p>
183+
nodes[front][language] = und
184+
185+
nodes[two][type] = page
186+
nodes[two][title] = Page 2
187+
nodes[two][uid] = 1
188+
nodes[two][body] = <p>page 2</p>
189+
nodes[two][language] = und
190+
nodes[two][menu][link_title] = Hello world!
191+
nodes[two][menu][menu_name] = secondary-link
192+
193+
194+
nodes[three][type] = page
195+
nodes[three][title] = Page 3
196+
nodes[three][uid] = 1
197+
nodes[three][body] = <p>Page 3</p>
198+
nodes[three][language] = und
199+
200+

open_way.profile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
/**
4+
* @file
5+
*
6+
* An example Install profile that uses Profiler. To create your own Install
7+
* profile, copy the directory that this file resides in, and rename all files
8+
* and directories, replacing profiler_example with the machine name of your
9+
* install profile. Then do a find and replace in this file to replace all
10+
* instances of profiler_example with the machine name of your profile. Edit the
11+
* renamed profiler_example.info file to your taste, and presto-change-o,
12+
* you've got yourself an install profile!
13+
*/
14+
15+
!function_exists('profiler_v2') ? require_once('libraries/profiler/profiler.inc') : FALSE;
16+
profiler_v2('open_way');
17+

0 commit comments

Comments
 (0)