Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_ct_event
Commits
1a2acccc
Commit
1a2acccc
authored
Mar 21, 2012
by
kolafson
Browse files
Fixed RSS feed link
parent
ee0b326d
Changes
2
Hide whitespace changes
Inline
Side-by-side
uw_ct_event.info
View file @
1a2acccc
...
...
@@ -3,7 +3,7 @@ description = "Adds events and event listing pages."
core
=
"7.x"
package
=
"uWaterloo Content Types"
php
=
"5.2.4"
version
=
"7.x-1.
3
"
version
=
"7.x-1.
4
"
project
=
"uw_ct_event"
dependencies
[]
=
"calendar"
dependencies
[]
=
"context"
...
...
uw_ct_event.module
View file @
1a2acccc
...
...
@@ -363,8 +363,8 @@ function uw_ct_event_theme($existing, $type, $theme, $path) {
// To add the feed link to a block
function
events_public_feed_link
(){
global
$base_
root
;
$baseurl
=
$base_
root
.
'/events/events.xml'
;
global
$base_
url
;
$baseurl
=
$base_
url
.
'/events/events.xml'
;
return
'<p><div class="rss_link">
<a href="'
.
$baseurl
.
'">Subscribe to events feed</a>
</div></p>'
;
...
...
Write
Preview
Supports
Markdown
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