![]() |
|
#1
|
|||
|
|||
|
Is there a way to show different attachment types separately from each other? For example, I like to show the image attachments inline, horizontally, but would like to show the rar and zip files below these, vertically, instead of next to the images.
__________________
Sim Fans UK - Sims downloads and discussion |
|
#2
|
|||
|
|||
|
Managed to do something of the kind myself, by simply putting a <p> before and a </p> after the following piece of code in adv_dyna_showentry_attachments template:
Code:
<img class="inlineimg" src="{vb:stylevar imgdir_attach}/{vb:raw attach.extension}.gif" alt="{vb:rawphrase file_type_x, {vb:raw attach.attachmentextension}}" border="0" /> <a href="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attach.attachmentid}&d={vb:raw attach.dateline}"{vb:raw target_blank}>{vb:raw attach.filename}</a> ({vb:raw attach.convertedfilesize}, {vb:rawphrase x_views, {vb:raw attach.views}})
__________________
Sim Fans UK - Sims downloads and discussion Last edited by angeljs; 07-25-2012 at 09:30 AM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Show thumbnail attachment and ONLY non-Sticky threads in news module | SteveRobWhateve | "How Do I..." Questions | 1 | 12-02-2010 12:26 PM |
| Show the attachment on the front page | Arjan | Module & Modification Discussion & Requests | 0 | 04-11-2009 09:22 AM |
| Unsupported operand types? | PhilMcKrackon | Troubleshooting & Problems | 1 | 04-01-2009 06:45 PM |
| Attachment | Merjawy | Troubleshooting / "How do I..." Questions | 12 | 07-12-2004 05:11 PM |
| Show More Than One Attachment | Intex | Troubleshooting / "How do I..." Questions | 5 | 06-17-2004 07:30 AM |