将主题部署到救生网门户时出错。找不到指定主题ID的主题。&;Quot;
原学程将引见将主题安排到救死网流派时失足。找没有到指定主题ID的主题。&;Quot;的处置办法,这篇学程是从其余处所瞅到的,而后减了1些海外法式员的疑问与解问,愿望能对于您有所赞助,佳了,上面开端进修吧。
成绩描写
我曾经创立了示例主题,即依据Liavay学程创立的Custom.css,没有晓得为何出有安排我的主题,日记文件中有以下实质:
"未找到指定主题ID的主题。前往默许主题。"
而且在"治理->页里->外不雅"中的主题中出有我的主题
推举谜底
当您已将主题运用到站面(社区)但是该主题以后未安排时,将显示此正告新闻。因为您比来对于主题所做的变动,能够会产生这类情形。请测验考试复原您所做的变动,并保证您的主题在安排时已胜利注册。
假如成绩依然存留,请让我们晓得毛病日记语句或者您对于主题所做切实其实切变动。
我以为您的主题正在安排到GlassFish,而没有是注册到Liferay。
您的安排进程中能够存留成绩,请在您的流派-ext.properties文件中响应天树立这些属性
'
#
# Set this to true to enable auto deploy of layout templates, portlets, and
# themes.
#
auto.deploy.enabled=true
#
# Set the directory to scan for layout templates, portlets, and themes to
# auto deploy.
#
auto.deploy.deploy.dir=${liferay.home}/deploy
#
# Set the directory where auto deployed WARs are copied to. The application
# server or servlet container must know to listen on that directory.
# Different containers have different hot deploy paths. For example, Tomcat
# listens on "${catalina.base}/webapps" whereas JBoss listens on
# "${jboss.server.home.dir}/deploy". Set a blank directory to automatically
# use the application server specific directory.
#
auto.deploy.dest.dir=
auto.deploy.default.dest.dir=../webapps
auto.deploy.geronimo.dest.dir=${org.apache.geronimo.home.dir}/deploy
auto.deploy.glassfish.dest.dir=${com.sun.aas.instanceRoot}/autodeploy
auto.deploy.jboss.dest.dir=${jboss.server.home.dir}/deploy
auto.deploy.jetty.dest.dir=${jetty.home}/webapps
auto.deploy.jonas.dest.dir=${jonas.base}/deploy
auto.deploy.resin.dest.dir=${resin.home}/webapps
auto.deploy.tomcat.dest.dir=${catalina.base}/webapps
auto.deploy.weblogic.dest.dir=${env.DOMAIN_HOME}/autodeploy
‘
将其设置装备摆设为GlassFish后,您应当会瞅到日记新闻显示
已胜利注册MyTheme的%一个主题。
佳了闭于将主题安排到救死网流派时失足。找没有到指定主题ID的主题。&;Quot;的学程便到这里便停止了,愿望趣模板源码网找到的这篇技巧文章能赞助到年夜野,更多技巧学程不妨在站内搜刮。