YAB Member Jan 25, 2021 #1 Hello everybody, maybe one of you can yeast me. It is about a change for the data attachments. Probably template and or css how do i get that? Attachments Screenshot_3.webp 8.4 KB · Views: 3
Hello everybody, maybe one of you can yeast me. It is about a change for the data attachments. Probably template and or css how do i get that?
YAB Member Jan 25, 2021 #2 So, that's how it works with woltlab suite: Template attachments.tpl search code:1:<p><a href="{$attachment->getLink()}">{$attachment->filename}</a></p> than delete code:1:<small>{lang}wcf.attachment.file.info{/lang}</small> then insert code:1:<span class="attContainer">Details: <span class="attMargin icon icon16 fa-file-text-o"></span> <span class="attIcon">{@$attachment->filesize|filesize}</span> <span class="attMargin icon icon16 fa-download"></span> <span class="attIcon">{#$attachment->downloads}</span> {if $attachment->downloads > 0} <span class="attMargin icon icon16 fa-clock-o"></span><span class="attIcon">{@$attachment->lastDownloadTime|time}{/if}</span> to save In CSS CSS code:1:.attMargin {margin-left: 10px;}.attIcon {margin-left: 5px;} Upvote 0 Downvote
So, that's how it works with woltlab suite: Template attachments.tpl search code:1:<p><a href="{$attachment->getLink()}">{$attachment->filename}</a></p> than delete code:1:<small>{lang}wcf.attachment.file.info{/lang}</small> then insert code:1:<span class="attContainer">Details: <span class="attMargin icon icon16 fa-file-text-o"></span> <span class="attIcon">{@$attachment->filesize|filesize}</span> <span class="attMargin icon icon16 fa-download"></span> <span class="attIcon">{#$attachment->downloads}</span> {if $attachment->downloads > 0} <span class="attMargin icon icon16 fa-clock-o"></span><span class="attIcon">{@$attachment->lastDownloadTime|time}{/if}</span> to save In CSS CSS code:1:.attMargin {margin-left: 10px;}.attIcon {margin-left: 5px;}