Skip to content

Commit 2376df3

Browse files
committed
[FIX] RSS widgets error.
1 parent 02798c9 commit 2376df3

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

manager/media/style/common/welcome.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@
5858
</div>
5959
</div>
6060

61-
<!-- modx news -->
61+
<!-- evo news -->
6262
<div class="tab-page" id="tabNews" style="padding-left:0; padding-right:0">
6363
<h2 class="tab">[%modx_news_tab%]</h2>
6464
<script type="text/javascript">tpPane.addTabPage(document.getElementById("tabNews"));</script>
6565
<div class="sectionHeader">[%modx_news_title%]</div>
6666
<div class="sectionBody">
67-
[+modx_news_content+]
67+
[+evo_news_content+]
6868
</div>
6969
</div>
7070

@@ -74,7 +74,7 @@
7474
<script type="text/javascript">tpPane.addTabPage(document.getElementById("tabSecurityNotices"));</script>
7575
<div class="sectionHeader">[%security_notices_title%]</div>
7676
<div class="sectionBody">
77-
[+modx_security_notices_content+]
77+
[+evo_security_notices_content+]
7878
</div>
7979
</div>
8080

manager/views/page/2.blade.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@
194194
}
195195
$ph['OnlineInfo'] = $html;
196196
197-
// include rss feeds for important forum topics
198-
// Here you can set the urls to retrieve the RSS from. Simply add a $urls line following the numbering progress in the square brakets.
197+
// Include rss feeds for important forum topics
198+
// Here you can set the urls to retrieve the RSS from. Add a $urls line following the numbering progress in the square brackets.
199199
200-
$urls['modx_news_content'] = evo()->getConfig('rss_url_news');
201-
$urls['modx_security_notices_content'] = evo()->getConfig('rss_url_security');
200+
$urls['evo_news_content'] = evo()->getConfig('rss_url_news');
201+
$urls['evo_security_notices_content'] = evo()->getConfig('rss_url_security');
202202
203203
// How many items per Feed?
204204
$itemsNumber = 3;
@@ -238,8 +238,8 @@
238238
$feedData[$section] = $output;
239239
}
240240
241-
$ph['modx_security_notices_content'] = $feedData['modx_security_notices_content'];
242-
$ph['modx_news_content'] = $feedData['modx_news_content'];
241+
$ph['evo_security_notices_content'] = $feedData['evo_security_notices_content'];
242+
$ph['evo_news_content'] = $feedData['evo_news_content'];
243243
244244
$ph['theme'] = evo()->getConfig('manager_theme');
245245
$ph['site_name'] = evo()->getPhpCompat()->entities(evo()->getConfig('site_name'));
@@ -430,7 +430,7 @@
430430
'cols' => 'col-sm-6',
431431
'icon' => 'fa-rss',
432432
'title' => '[%modx_news_title%]',
433-
'body' => '<div style="max-height:200px;overflow-y: scroll;padding: 1rem .5rem">[+modx_news_content+]</div>',
433+
'body' => '<div style="max-height:200px;overflow-y: scroll;padding: 1rem .5rem">[+evo_news_content+]</div>',
434434
'hide' => '0',
435435
];
436436
}
@@ -441,7 +441,7 @@
441441
'cols' => 'col-sm-6',
442442
'icon' => 'fa-exclamation-triangle',
443443
'title' => '[%security_notices_title%]',
444-
'body' => '<div style="max-height:200px;overflow-y: scroll;padding: 1rem .5rem">[+modx_security_notices_content+]</div>',
444+
'body' => '<div style="max-height:200px;overflow-y: scroll;padding: 1rem .5rem">[+evo_security_notices_content+]</div>',
445445
'hide' => '0',
446446
];
447447
}

0 commit comments

Comments
 (0)