Есть вот такой код страницы fullstory.tpl
В которую надо внедрить вот этот:
Что бы не получалось вот так
[img]http://newsdon.ru/234.bmp[/img]
Может кто может подсказать
Код |
---|
<script type="text/javascript" src="{THEME}/share42/share42.js"></script> {poll} <h1>{title}</h1> <div class="share42init pull-right" data-url="{full-link}" data-title="{title}"></div> <span class="post-meta">Автор: {author} от [day-news]{date=d F}[/day-news], раздел: {link-category}, просмотров {views} [not-group=5][edit]<span class="entypo-cog "></span> [/edit] [complaint]<span class="entypo-mail"></span>[/complaint][/not-group]</span> <hr class="soften"> <p class="story sep">{full-story}</p> [related-news] <h6><span>Похожие новости</span></h6> {related-news} [/related-news] [comments] <h6><span>Комментарии</span></h6> [/comments] {comments} {addcomments} {navigation} |
Код |
---|
<!-- Put this script tag to the <head> of your page --> <script type="text/javascript" src="//vk.com/js/api/openapi.js?127"></script> <script type="text/javascript"> VK.init({apiId: 5616434, onlyWidgets: true}); </script> <!-- Put this div tag to the place, where the Comments block will be --> <div id="vk_comments"></div> <script type="text/javascript"> VK.Widgets.Comments("vk_comments", {redesign: 1, limit: 10, width: "740", attach: "*"}); </script> |
[img]http://newsdon.ru/234.bmp[/img]
Код |
---|
<script type="text/javascript" src="{THEME}/share42/share42.js"></script> {poll} <h1>{title}</h1> <div class="share42init pull-right" data-url="{full-link}" data-title="{title}"></div> <span class="post-meta">Автор: {author} от [day-news]{date=d F}[/day-news], раздел: {link-category}, просмотров {views} [not-group=5][edit]<span class="entypo-cog "></span> [/edit] [complaint]<span class="entypo-mail"></span>[/complaint][/not-group]</span> <hr class="soften"> <p class="story sep">{full-story}</p> [related-news] <!-- Put this script tag to the <head> of your page --> <script type="text/javascript" src="//vk.com/js/api/openapi.js?127"></script> <script type="text/javascript"> VK.init({apiId: 5616434, onlyWidgets: true}); </script> <!-- Put this div tag to the place, where the Comments block will be --> <div id="vk_comments"></div> <script type="text/javascript"> VK.Widgets.Comments("vk_comments", {redesign: 1, limit: 10, width: "740", attach: "no"}); </script> {navigation} |
Может кто может подсказать
Изменено:
4uTeRoK SaMoDeLkiN - 4 Сентября 2016 02:55