Php HTML Box Pro Prestashop-代码未显示

Php HTML Box Pro Prestashop-代码未显示,php,module,prestashop,prestashop-1.5,Php,Module,Prestashop,Prestashop 1.5,我正在使用Prestashop插件商店的HTML Box Pro模块,联系了他们好几次,告诉他们在向.tpl文件添加钩子后该模块不起作用。没有任何响应,这是一个我需要在12月前完成的项目,下面的代码只是为了防止我的格式错误 非常感谢您的帮助 <style><!-- body { /*background-color:#f0f0f0;*/ background: url(https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcR

我正在使用Prestashop插件商店的HTML Box Pro模块,联系了他们好几次,告诉他们在向.tpl文件添加钩子后该模块不起作用。没有任何响应,这是一个我需要在12月前完成的项目,下面的代码只是为了防止我的格式错误

非常感谢您的帮助

<style><!--
body
{
/*background-color:#f0f0f0;*/
background: url(https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcR2BmZU1kR795PbCjY--    wGWcdHvgdq4oM43UgpHSGKF6rk-qrhMiEFqGFe-) no-repeat;
width: auto;
height: auto;
background-size: contain;
}

.container
{
margin:0 auto;
width:90%;
}
.perspective
{
background: url("http://www.gadgetsuk.com/behind1.jpg");
background-repeat: no-repeat;
background-position: center center;
position: relative;
display: inline;
float: left;
height: 395px;
width: 395px;
margin: 20px;
margin-left: 140px;
margin-top: 125px;
-webkit-perspective: 450;
border-radius: 3px;
box-sizing: border-box;
z-index: 1;
}

.thumb
{
background: url("http://www.gadgetsuk.com/a1.jpg");
background-repeat: no-repeat;
background-position: center center;
width: 400px;
height: 400px;
position: absolute;
box-sizing: border-box;
border-radius: 3px;
box-shadow: 0 0 0 10px rgba(255, 255, 255, .0) inset;
transition: 1s transform linear;
transform-origin: left;
cursor: pointer;
 }

.thumbOpened
{
transform: rotateY(-90deg);
transform-origin: 8px;
transition: .5s linear;
 }

.alert {
padding: 8px 35px 8px 14px;
margin-bottom: 20px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: #fcf8e3;
border: 1px solid #fbeed5;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
color: #000;

transform-origin: left;
transform:rotateY(180deg);
opacity:0;
animation-name: go;
animation-duration: 0.5s;
animation-timing-function: ease-in-out;
animation-fill-mode: forwards;
animation-delay: 0.5s;
width:350px;
}
@keyframes go {
100%{
opacity:1;
transform:rotateY(0deg);
}
}
--></style>
<script type="text/javascript">// <![CDATA[
function openDoor(field) {
var y = $(field).find(".thumb");
var x = y.attr("class");
if (y.hasClass("thumbOpened")) {
y.removeClass("thumbOpened");
}
else {
$(".thumb").removeClass("thumbOpened");
y.addClass("thumbOpened");
}
}
// ]]></script>

// 

您可以尝试打开此模块文件模块/yourmodule/ 1检查main.PHP文件。您应该将JS/CSS文件分配到头文件以使用它。 2将CSS写入CSS文件 三。将JS写入JS文件 4现在检查您的钩子并返回到这个钩子您的.TPL文件

现在,您可以使用这种CSS样式和JS,做任何您想做的事情

您不能在module.tpl中添加钩子,必须在.PHP文件中添加。但是你可以写{HOOK_YOURHOOK}来显示那个地方的钩子