Smart & Simple Testimony 安装之后导致js冲突

<?xml version="1.0"?>
<layout version="1.0.0">
    <default>
    
        <reference name="right">
            <block type="testimonial/testimonial" name="right.testimonials" >
                <action method="setSidebar">
                    <sidebar>1</sidebar>
                </action>
                  <action method="setTemplate" ifconfig="testimonialsection/testyblock/layoutrighttype">
                         <template>inic/testimonial/testimonials_sidebar.phtml</template>
                  </action>
            </block>
        </reference>
        <reference name="left">
            <block type="testimonial/testimonial" name="left.testimonials" >
                <action method="setSidebar">
                    <sidebar>1</sidebar>
                </action>
                  <action method="setTemplate" ifconfig="testimonialsection/testyblock/layoutlefttype">
                         <template>inic/testimonial/testimonials_leftsidebar.phtml</template>
                  </action>
            </block>
        </reference>
        <reference name="head">
          <!--<action method="addJs" ><script>testimonial/jquery-1.9.1.min.js</script></action>-->
          <action method="addJs" ifconfig="testimonialsection/testyblock/enableslider"><script>testimonial/jquery.dd.min.js</script></action>
          <action method="addJs" ifconfig="testimonialsection/testyblock/enableslider"><script>testimonial/jquery.bxslider.min.js</script></action>
            <action method="addCss"><stylesheet>inic/testimonial/css/testimonial.css</stylesheet></action>
            <action method="addCss" ifconfig="testimonialsection/testyblock/enableslider"><stylesheet>inic/testimonial/css/dd.css</stylesheet></action>
            <action method="addCss" ifconfig="testimonialsection/testyblock/enableslider"><stylesheet>inic/testimonial/css/jquery.bxslider.css</stylesheet></action>
        </reference>
        <reference name="top.links">    
            <action method="addLink" translate="label title" module="testimonial" ifconfig="testimonialsection/testisettings/enabletoplinks">
                <label helper="testimonial/getTitle"/>
                <url helper="testimonial/getTestimonialUrl"/>
                <title helper="testimonial/getTitle"/>
                <prepare/>
                <urlParams/>
                <position>200</position>
                <liParams/>
                <aParams>class='testimonial-top-link'</aParams>
            </action>
        </reference>
         <reference name="footer_links">
            <action method="addLink" translate="label title"  ifconfig="testimonialsection/testisettings/footerlinks">
               <label helper="testimonial/getTitle"/>
                <url helper="testimonial/getTestimonialUrl"/>
                <title helper="testimonial/getTitle"/>
                <prepare/>
                <urlParams/>
                <position>2</position>
                <liParams/>
                <aParams>class='testimonial-footer-link'</aParams>
            </action>
          </reference>
    </default>
    <testimonial_index_index>
        <label>Testimonials</label>
        <reference name="head">
            <action method="setTitle"><title>Testimonials</title></action> 
                <action method="addJs" ifconfig="testimonialsection/testisettings/activetesty"><script>testimonial/jquery.fancybox.js</script></action>
                <action method="addCss" ifconfig="testimonialsection/testisettings/activetesty"><stylesheet>inic/testimonial/css/jquery.fancybox.css</stylesheet></action>           
        </reference>
        <reference name="root">
            <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
        </reference>
        <reference name="content">
            <block type="testimonial/testimonial" name="testimonials">
                 <action method="setTemplate" ifconfig="testimonialsection/testisettings/active">
                    <template>inic/testimonial/testimonials.phtml</template>
                  </action>
            </block>
        </reference>
    </testimonial_index_index>
</layout>


<!--<action method="addJs" ><script>testimonial/jquery-1.9.1.min.js</script></action>-->

app/design/frontend/default/default/layout/inic/testimonial.xml

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值