ext:jh_magnificpopup:覆盖模板路径时的问题等

时间:2016-09-12 09:16:17

标签: typo3 typo3-7.6.x

我正在运行typo3 7.6.10和jh_magnificpopup 0.6.4

我无法成功更改模板根路径。 mup:module:default exec => mup deploy +0ms mup:module:meteor exec => mup meteor deploy +2ms mup:module:meteor exec => mup meteor push +2ms Building App Bundle Locally Started TaskList: Pushing Meteor [139.232.218.147] - Pushing Meteor App Bundle to The Server nodemiral:sess:139.162.208.147 copy file - src: /tmp/62ab2c11-1477-4248-a409-392ca66940f0/bundle.tar.gz, dest: /opt/soundcraft/tmp/bundle.tar.gz, vars: undefined +0ms [139.232.218.147] - Pushing Meteor App Bundle to The Server: SUCCESS [139.232.218.147] - Pushing the Startup Script nodemiral:sess:139.232.218.147 copy file - src: /Users/imac/.nvm/versions/node/v4.5.0/lib/node_modules/mup/lib/modules/meteor/assets/templates/start.sh, dest: /opt/soundcraft/config/start.sh, vars: {"appName":"soundcraft","useLocalMongo":1,"port":80,"logConfig":{"opts":{"max-size":"100m","max-file":10}},"docker":{"image":"kadirahq/meteord"}} +7s [139.232.218.147] - Pushing the Startup Script: SUCCESS mup:module:meteor exec => mup meteor envconfig +3m Started TaskList: Configuring Meteor Environment Variables [139.232.218.147] - Sending Environment Variables nodemiral:sess:139.232.218.147 copy file - src: /Users/imac/.nvm/versions/node/v4.5.0/lib/node_modules/mup/lib/modules/meteor/assets/templates/env.list, dest: /opt/soundcraft/config/env.list, vars: {"env":{"ROOT_URL":"http://139.232.218.147","MONGO_URL":"mongodb://localhost:27017/soundcraft","METEOR_SETTINGS":"{\"public\":{}}"},"appName":"soundcraft"} +433ms [139.232.218.147] - Sending Environment Variables: SUCCESS mup:module:meteor exec => mup meteor start +456ms Started TaskList: Start Meteor [139.232.218.147] - Start Meteor [139.232.218.147] x Start Meteor: FAILED -----------------------------------STDERR----------------------------------- Error response from daemon: No such container: soundcraft-frontend docker: Error response from daemon: driver failed programming external connectivity on endpoint soundcraft (22e4ffc6ecf94ffc1d35ebaf0e3f3364c92e3079439ca2e0138a5951b068f481): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use. -----------------------------------STDOUT----------------------------------- soundcraft Using default tag: latest latest: Pulling from kadirahq/meteord Digest: sha256:7ec54d5fafc11acbcc82f3e555fddce8e4742ddeda05a64997f2a10e3c04137e Status: Image is up to date for kadirahq/meteord:latest 6e357baf5700be59d64973ff9653ca2eb80eaa2e52145411ce6d5d42d0a4d109 ----------------------------------------------------------------------------

我也无法删除扩展程序生成的内联js。

这真的很奇怪。

1 个答案:

答案 0 :(得分:0)

您可以使用以下拼写错误覆盖模板路径。

在根页面'系统模板的设置中添加:

plugin.tx_jhmagnificpopup.view {
    partialRootPaths.10 = fileadmin/Resources/Extensions/jh_magnificpopup/Resources/Pr‌​‌iv​ate/Partials/
    templateRootPaths.10 = fileadmin/Resources/Extensions/jh_magnificpopup/Resources/Pr‌​‌iv​ate/Templates/
    layoutRootPaths.10 = fileadmin/Resources/Extensions/jh_magnificpopup/Resources/Pr‌​‌iv​ate/Layouts/
}