Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
b7636aca
Commit
b7636aca
authored
1 year ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6320: adding ical for events inside layout builder
parent
c6e98dfb
No related branches found
No related tags found
1 merge request
!108
ISTWCMS-6320: adding ical for events inside layout builder
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uw_fdsu_theme_resp.theme
+6
-0
6 additions, 0 deletions
uw_fdsu_theme_resp.theme
with
6 additions
and
0 deletions
uw_fdsu_theme_resp.theme
+
6
−
0
View file @
b7636aca
...
@@ -659,6 +659,12 @@ function uw_fdsu_theme_resp_preprocess_container(&$variables) {
...
@@ -659,6 +659,12 @@ function uw_fdsu_theme_resp_preprocess_container(&$variables) {
if
(
$node
)
{
if
(
$node
)
{
$variables
[
'header_data'
]
=
$uwNodeContent
->
getNodeContent
(
$node
,
'full'
,
'header'
);
$variables
[
'header_data'
]
=
$uwNodeContent
->
getNodeContent
(
$node
,
'full'
,
'header'
);
$variables
[
'footer_data'
]
=
$uwNodeContent
->
getNodeContent
(
$node
,
'full'
,
'footer'
);
$variables
[
'footer_data'
]
=
$uwNodeContent
->
getNodeContent
(
$node
,
'full'
,
'footer'
);
// If this is an event, add the ical url so that it displays
// inside of layout builder.
if
(
$node
->
getType
()
==
'uw_ct_event'
)
{
$variables
[
'header_data'
][
'ical'
]
=
_uw_ct_event_get_ical_link
(
$node
->
id
());
}
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment