Jump to content

Как правильно создать новый html шаблон и вставить его в нужное место


Estomel

Recommended Posts

Всем привет, хочу сделать 2 разных вида отображения репутации, полоской и просто по стандарту

Спойлер

image.png.0a0bded40f4b7f77b369dd031ac7d0c6.png

стандартная репутация вроде вот так выводится {template="reputationBadge" group="global" app="core" params="$comment->author()"}

как сделать так же для альтернативной репутации?

Link to comment
Share on other sites

image.thumb.png.8e43521bf3ad7727e488ca3609b89344.png

Вставить кнтент, вызывать как 

{template="reputationBadge1" group="global" app="core" params="$comment->author()"}

Link to comment
Share on other sites

1 час назад, Desti сказал:

image.thumb.png.8e43521bf3ad7727e488ca3609b89344.png

Вставить кнтент, вызывать как 

{template="reputationBadge1" group="global" app="core" params="$comment->author()"}

спасибо! помогло

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...