TIP: Composr ShoutBox compact design mod

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
User avatar
Stevyn
SysOp
Posts:1773
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
TIP: Composr ShoutBox compact design mod

Post by Stevyn » Fri Jul 13, 2018 1:39 pm

TIP: Composr ShoutBox compact design modification by stevyn
shoutbox.jpg
shoutbox.jpg (19.61KiB)Viewed 742 times
edit your new custom template:

templates/BLOCK_SIDE_SHOUTBOX_MESSAGE.tpl

delete all code and only have this:

Code: Select all

<div title="{!POSTED_TIME_SIMPLE,{TIME*}}"> <blockquote class="shoutbox_message">{MEMBER}: {$TRUNCATE_LEFT,{MESSAGE},92,1,1}<P></blockquote>
</div>

Visitor can see post date when hovering over the message. Clean compact design.
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply