Empire cms replace iwms Slideshow issues

Add a new template tag template management

Page template content: [-! Empirenews.listtemp -] <- list.var1 -!> [- empirenews.listtemp--!]

List the contents of template: [ "! [- oldtitle -]", "[- titleurl -]!", "[- titlepic--]!"],

Slide the original home of code amended as follows:

<script type="text/javascript">

imgSlide.init(280,210,[[ecmsinfo]'1,2,3',4,0,0,13,15,1[/ecmsinfo]],33); 

</script>

 // 13 shows headline information, 15 label templates ID number to be changed to the actual figures, the final 1 to show only the title picture content

To prevent low IE version error can not be shown, edit /e/class/t_functions.php

查找:if($changerow<=$rownum&&$listtext<>$list_r[1])

The following paragraph is added to the last comma sentence: $ string = rtrim ($ string, ',');

Modified into the following effects:

    if($changerow<=$rownum&&$listtext<>$list_r[1])
    {
        $string.=$listtext;
    }
    $string=rtrim($string,','); //去最后逗号
    $string=$list_r[0].$string.$list_r[2];
    echo $string;
}

 

Guess you like

Origin www.cnblogs.com/surplus/p/11426272.html