Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
library
uw_ct_exhibit
Commits
2eca66e6
Commit
2eca66e6
authored
Aug 18, 2014
by
Graham Faulkner
Browse files
add missing wide text js handler
parent
2c0e7147
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
uw_ct_exhibit.install
uw_ct_exhibit.install
+1
-1
uw_ct_exhibit.module
uw_ct_exhibit.module
+3
-0
No files found.
uw_ct_exhibit.install
View file @
2eca66e6
...
...
@@ -40,7 +40,7 @@ function uw_ct_exhibit_enable() {
db_update
(
'node_type'
)
->
fields
(
array
(
'disabled'
=>
0
,
))
->
condition
(
'type'
,
'uw_exhibit'
,
'='
)
->
execute
();
// close comments for exhibits by default
variable_set
(
'comment_uw_exhibit'
,
'1'
);
//
variable_set('comment_uw_exhibit', '1');
//enable the view
$views_status
=
variable_get
(
'views_defaults'
,
array
());
//read in any existing disabled views
...
...
uw_ct_exhibit.module
View file @
2eca66e6
...
...
@@ -42,6 +42,9 @@ function uw_ct_exhibit_form_alter(&$form, &$form_state, $form_id) {
}
}
}
// load JavaScript to make wide pages handler cleaner
$form
[
'#after_build'
][]
=
'uw_ct_exhibit_wide_handler'
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment