Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
9IPOCTb

Мультицитата

Recommended Posts

Приветствую уважаемые форумчане.

Изменил кнопку мультицитаты с плюса на слово, но при отмене цитаты http://prntscr.com/jsh8lr плюс обратно возвращается http://prntscr.com/jsh8us.

как изменить код, чтобы цитата возвращала слово:

{{if $comment->hidden() === 0 and $item->canComment() and $editorName}}
					<li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'>
						<button class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide' data-action='multiQuoteComment' data-ipsTooltip data-ipsQuote-multiQuote data-mqId='mq{$comment->$idField}' title='{lang="multiquote"}'>Цитата</button>
					</li>

				{{endif}}

Share this post


Link to post

Изменил кнопку мультицитаты с плюса на слово,

Нужно еще в js-коде менять, который хранится в бд.

  • Upvote 1

Share this post


Link to post

а где именно не подскажете?

Share this post


Link to post

SELECT * FROM `core_javascript` WHERE javascript_path='templates' AND javascript_content LIKE '%core.posts.multiQuoteOff%'

 

В поле javascript_content ищите

ips.templates.set('core.posts.multiQuoteOff', " \
<i class='fa fa-plus'></i>\
");

 

После изменений нужно будет очистить кеш форума

  • Upvote 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...