Landing Pages 插件 ✈️

这是一个干扰项。这是一个警告,而不是致命错误。它与您遇到的问题无关。

1 个赞

感谢 @RGJ@nathank

尽管连接测试没有问题,但我未能成功从 GitHub 拉取。

我最终将一些主题文件放入了一个 Web 可访问目录,并使用了 admin Page body html.erb 输入,尽管存在其他困难,但这效果很好。

我正在尝试使用 Pavilion 的 Landing Pages 插件创建一个自定义 HTML 页面。我的目标是让该页面显示带有我的论坛原生 Discourse 标题和页脚,而不是一个空白的独立页面。

我还安装了配套的“Home Pages”主题组件,因为我知道这是将页面“包装”在论坛布局中必需的。

我已经成功在 Landing Pages 插件中创建了我的内容(例如,在路径 /mypage),但我完全不知道如何配置“Home Pages”组件。

Homepages 组件的设置有一个“Launch Editor”(启动编辑器),它非常复杂。我不确定该输入什么才能简单地“拉入”我的登陆页面并添加原生布局。

有人能提供一个关于如何为简单 HTML 页面配置此功能的指南吗?

谢谢!

我不知道这是否相关,但当我打开检查器时,即使我完全没有使用该插件,我也会收到错误消息。也许这对开发人员了解是否需要修复某些内容有所帮助?

摘要
deprecated.js:49 弃用通知:查找 'route:admin-plugins-landing-pages' 不再被允许。请改名为 'route:admin-plugins/landing-pages' [deprecation id: discourse.deprecated-resolver-normalization]
a @ deprecated.js:49
_normalize @ resolver.js:234
normalize @ index.js:205
normalizeFullName @ registry-BJpQx6hv.js:606
normalizeFullName @ registry-BJpQx6hv.js:608
normalize @ registry-BJpQx6hv.js:622
lookup @ registry-BJpQx6hv.js:131
lookup @ container_proxy.js:27
getRoute @ router.js:252
i @ index.ts:121
fetchRoute @ router-BViwI_oJ.js:260
get route @ router-BViwI_oJ.js:194
_getQPMeta @ router.js:913
_getQPMeta @ index.ts:101
_hydrateUnsuppliedQueryParams @ router.js:1018
_prepareQueryParams @ router.js:897
normalizeQueryParams @ routing-service.js:57
_generateURL @ routing-service.js:63
generateURL @ routing-service.js:71
get href @ index-BCp6wOJU.js:929
eM @ cache-fCezwMOy.js:1647
(anonymous) @ index.js:87
(anonymous) @ index.js:64
X @ index.js:416
k @ index.js:62
en @ index.js:1112
flush @ index.js:1089
(anonymous) @ index.js:665
evaluate @ index.js:103
evaluateSyscall @ index.js:2873
evaluateInner @ index.js:2852
evaluateOuter @ index.js:2849
next @ index.js:4167
_execute @ index.js:4157
execute @ index.js:4133
handleException @ index.js:3450
handleException @ index.js:3592
throw @ index.js:3414
evaluate @ index.js:565
_execute @ index.js:3401
execute @ index.js:3393
rerender @ index.js:3610
(anonymous) @ index-BCp6wOJU.js:4639
(anonymous) @ index-BCp6wOJU.js:4934
eX @ index.js:2414
_renderRoots @ index-BCp6wOJU.js:4914
_renderRootsTransaction @ index-BCp6wOJU.js:4962
_revalidate @ index-BCp6wOJU.js:4995
invoke @ index.js:262
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
显示更多 54 个堆栈帧
显示更少
deprecated.js:49 弃用通知:查找 'controller:admin-plugins-landing-pages' 不再被允许。请改名为 'controller:admin-plugins/landing-pages' [deprecation id: discourse.deprecated-resolver-normalization]
a @ deprecated.js:49
_normalize @ resolver.js:234
normalize @ index.js:205
normalizeFullName @ registry-BJpQx6hv.js:606
normalizeFullName @ registry-BJpQx6hv.js:608
normalize @ registry-BJpQx6hv.js:622
lookup @ registry-BJpQx6hv.js:131
lookup @ container_proxy.js:27
get _qp @ route.js:1147
(anonymous) @ cache-fCezwMOy.js:1092
Z @ index.js:430
get @ cache-fCezwMOy.js:1091
get @ cache-fCezwMOy.js:240
eM @ cache-fCezwMOy.js:1647
eA @ cache-fCezwMOy.js:1636
_getQPMeta @ router.js:914
_getQPMeta @ index.ts:101
_hydrateUnsuppliedQueryParams @ router.js:1018
_prepareQueryParams @ router.js:897
normalizeQueryParams @ routing-service.js:57
_generateURL @ routing-service.js:63
generateURL @ routing-service.js:71
get href @ index-BCp6wOJU.js:929
eM @ cache-fCezwMOy.js:1647
(anonymous) @ index.js:87
(anonymous) @ index.js:64
X @ index.js:416
k @ index.js:62
en @ index.js:1112
flush @ index.js:1089
(anonymous) @ index.js:665
evaluate @ index.js:103
evaluateSyscall @ index.js:2873
evaluateInner @ index.js:2852
evaluateOuter @ index.js:2849
next @ index.js:4167
_execute @ index.js:4157
execute @ index.js:4133
handleException @ index.js:3450
handleException @ index.js:3592
throw @ index.js:3414
evaluate @ index.js:565
_execute @ index.js:3401
execute @ index.js:3393
rerender @ index.js:3610
(anonymous) @ index-BCp6wOJU.js:4639
(anonymous) @ index-BCp6wOJU.js:4934
eX @ index.js:2414
_renderRoots @ index-BCp6wOJU.js:4914
_renderRootsTransaction @ index-BCp6wOJU.js:4962
_revalidate @ index-BCp6wOJU.js:4995
invoke @ index.js:262
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
显示更多 58 个堆栈帧
显示更少
deprecation-identify-source.js:15 弃用:[插件 discourse-landing-pages] 从 `@ember/service` 导入 `inject` 已弃用。请改用导入 `service`。[deprecation id: importing-inject-from-ember-service] 这将在 ember-source 7.0.0 中删除。有关详细信息,请参阅 https://deprecations.emberjs.com/id/importing-inject-from-ember-service。
(anonymous) @ deprecate.js:72
(anonymous) @ handlers.js:10
(anonymous) @ deprecate.js:108
(anonymous) @ handlers.js:10
(anonymous) @ deprecate.js:116
(anonymous) @ handlers.js:10
(anonymous) @ index.js:75
(anonymous) @ index.js:110
(anonymous) @ handlers.js:10
(anonymous) @ index.js:115
(anonymous) @ handlers.js:10
(anonymous) @ deprecation-identify-source.js:15
(anonymous) @ handlers.js:10
(anonymous) @ deprecation-this-property-fallback-handler.js:15
(anonymous) @ handlers.js:10
(anonymous) @ deprecation-warning-handler.js:19
(anonymous) @ handlers.js:10
s @ deprecated.js:132
(anonymous) @ handlers.js:10
r @ handlers.js:19
l @ deprecate.js:189
k @ index.js:31
p @ index.js:126
o @ index.js:31
(anonymous) @ admin-plugins-landing-pages.js:13
(anonymous) @ loader.js:106
requireModule @ loader.js:27
get @ index.js:15
_extractDefaultExport @ index.js:469
resolveOther @ index.js:183
resolve @ index.js:222
resolve @ registry-BJpQx6hv.js:795
resolve @ registry-BJpQx6hv.js:571
u @ registry-BJpQx6hv.js:245
(anonymous) @ registry-BJpQx6hv.js:284
lookup @ registry-BJpQx6hv.js:239
lookup @ container_proxy.js:27
get _qp @ route.js:1147
(anonymous) @ cache-fCezwMOy.js:1092
Z @ index.js:430
get @ cache-fCezwMOy.js:1091
get @ cache-fCezwMOy.js:240
eM @ cache-fCezwMOy.js:1647
eA @ cache-fCezwMOy.js:1636
_getQPMeta @ router.js:914
_getQPMeta @ index.ts:101
_hydrateUnsuppliedQueryParams @ router.js:1018
_prepareQueryParams @ router.js:897
normalizeQueryParams @ routing-service.js:57
_generateURL @ routing-service.js:63
generateURL @ routing-service.js:71
get href @ index-BCp6wOJU.js:929
eM @ cache-fCezwMOy.js:1647
(anonymous) @ index.js:87
(anonymous) @ index.js:64
X @ index.js:416
k @ index.js:62
en @ index.js:1112
flush @ index.js:1089
(anonymous) @ index.js:665
evaluate @ index.js:103
evaluateSyscall @ index.js:2873
evaluateInner @ index.js:2852
evaluateOuter @ index.js:2849
next @ index.js:4167
_execute @ index.js:4157
execute @ index.js:4133
handleException @ index.js:3450
handleException @ index.js:3592
throw @ index.js:3414
evaluate @ index.js:565
_execute @ index.js:3401
execute @ index.js:3393
rerender @ index.js:3610
(anonymous) @ index-BCp6wOJU.js:4639
(anonymous) @ index-BCp6wOJU.js:4934
eX @ index.js:2414
_renderRoots @ index-BCp6wOJU.js:4914
_renderRootsTransaction @ index-BCp6wOJU.js:4962
_revalidate @ index-BCp6wOJU.js:4995
invoke @ index.js:262
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
显示更多 82 个堆栈帧
显示更少