CMS - $thumbnailattachments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • drlivsi
    New Member
    • Aug 2008
    • 19
    • 5.6.3

    CMS - $thumbnailattachments

    Template vbcms_content_article_page
    Code:
    	<vb:if condition="$showattachments">
    	<div class="attachments">
    		<vb:if condition="$thumbnailattachments">
    			<fieldset class="postcontent">
    				<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
    				{vb:raw thumbnailattachments}
    			</fieldset>
    		</vb:if>
    		<vb:if condition="$imageattachments">
    			<fieldset class="postcontent">
    				<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
    				{vb:raw imageattachments}
    			</fieldset>
    		</vb:if>
    		<vb:if condition="$imageattachmentlinks">
    			<fieldset class="postcontent">
    				<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
    				<ul>
    				{vb:raw imageattachmentlinks}
    				</ul>
    			</fieldset>
    		</vb:if>
    		<vb:if condition="$otherattachments">
    			<fieldset class="postcontent">
    				<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend>
    				<ul>
    				{vb:raw otherattachments}
    				</ul>
    			</fieldset>
    		</vb:if>
    	</div>
    	</vb:if>
    The default condition = "$otherattachments"
    How to make condition="$thumbnailattachments" ?
    I need to display a thumbnai image.
    Last edited by drlivsi; Sat 19 Feb '11, 6:24am.
    Вышивка крестиком, форум рукодельниц
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    I don't really understand your question, if the varble is set correctly it will show attachments.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...