Дима Мельник отреагировал на пост
LvsF в Ссылка на это сообщение #1
23 сентября, 2015
Код из шаблона post
<if test="hasPages:|:$this->request['page']">
<a itemprop="replyToUrl" data-entry-pid='{$post['post']['pid']}' href='{parse url="showtopic={$post['post']['topic_id']}&page={$this->request['page']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'>
<else />
<a itemprop="replyToUrl" data-entry-pid='{$post['post']['pid']}' href='{parse url="showtopic={$post['post']['topic_id']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'>
</if>
#{$post['post']['post_count']}
<img src='{$this->settings['img_url']}/icon_share.png' class='small' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}' />
</a>
1. Удаляем
#{$post['post']['post_count']}
2. Выше
<if test="hasPages:|:$this->request['page']">
добавляем
<if test="hasPages:|:$this->request['page']">
<a href='{parse url="showtopic={$post['post']['topic_id']}&page={$this->request['page']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'>
<else />
<a href='{parse url="showtopic={$post['post']['topic_id']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'>
</if>
ID: #{$post['post']['post_count']}
</a>