修改视频中心-点击视频标题之后直接播放

作者:阿辉 来源:本站原创 点击数: 发布时间:2011年01月21日

部分效果如下视频(点击视频播放↓):

 

一、复制通用信息列表_普通式的标签来新建一个“通用信息列表_普通式(1)”的标签标签内容:


                       

                           

                               

                                   

                               

                           

                       

                       

                                             此处修改为这段代码。

                           

                               

                                    _blank

                                   

                                   

                                       

                                   

                                   

                                   

 

 

二、打开首页视频中心的模板修改此处的标签名称



               

               


                   


                            {PE.Label id="通用信息列表" bindStyle="普通式(1)"  (此处修改为红色部分)

       outputQty="9" models="23" nodes="@RequestInt_Id" titleLength="52"  eliteLevel="10"  displayDateTime="mm-dd" /}

                       

                   

                   

     

    三、接下来修改在线播放页模板:

    修改为如下代码:

    {PE.DataSource id="cone" datasource="视频_内容页" itemId="@RequestInt_id" xslt="true" /}

       

       

       

        在线播放页-{PE.SiteConfig.SiteTitle/}

       

       

       

       

     


       


     

    {PE.Label id="公共脚本" /}

        {PE.Label id="网站顶部" currentId='{PE.Label id="取得项目所在的节点ID" itemId="@RequestInt_Id" /}' /}

       


           


               

               


                     您现在的位置:{PE.SiteConfig.SiteName/} >>{PE.Label id="当前位置导航" nodeId='{PE.Label id="取得项目所在的节点ID" itemId="@RequestInt_Id" /}' /}>> 在线播放

               

               


                   


                        {PE.Control.ShowDownloadUrl/}

                   

                  

                                视频信息  电影海报 精彩剧照

                           

                           


                               


                                   


                                         {PE.Field id="cone" fieldname="Synopsis" /}                               

                                 

                                      


                                     


                                            {PE.Label id="视频多图片字段拆分" dataSource="{PE.Field id="cone" fieldname="Poster" /}" /}

                                       

                                        


                                       

                                   

                                   


                                       


                                              {PE.Label id="视频多图片字段拆分" dataSource="{PE.Field id="cone" fieldname="Still" /}" /}

                                         

                                         


                                         

                                     

                                  

                             

                        

              {PE.Label id="网站底部" /}

           

          红色部分为新增加的。