So, we all have regular like and dislike buttons. And those buttons have data-href and data-href-rm attributes with their values.
Inside template it looks like this:
My idea was to make my own buttons but just to take values that are given. Sadly, when I use values, they do not appear. As you can see, no href value:
My concept will look like this:
@YoshiGM @Niko @Mihai
Inside template it looks like this:
- Code:
<button class="rep-button {postrow.displayed.switch_likes_active.C_VOTE_LIKE}" data-href="{postrow.displayed.switch_likes_active.U_VOTE_LIKE}" data-href-rm="{postrow.displayed.switch_likes_active.U_VOTE_RM_LIKE}">
<span class="rep-cat">
<i class="material-icons">thumb_up</i>
{postrow.displayed.switch_likes_active.COUNT_VOTE_LIKE}
</span>
<span>{postrow.displayed.switch_likes_active.L_LIKE}</span>
</button>
My idea was to make my own buttons but just to take values that are given. Sadly, when I use values, they do not appear. As you can see, no href value:
My concept will look like this:
@YoshiGM @Niko @Mihai
Last edited by System32 on Sun Jan 08, 2023 3:40 pm; edited 1 time in total