The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
vb:stylevar in a css template
i have a template which use a css template but in the css template it goes wrong.
it doesn't get the stylevar from the list. how can i solve it. here is the template and css template ccs template Code:
#image { height:{vb:stylevar AJGattach_columwidth}; width:{vb:stylevar AJGattach_columwidth}; border:1px solid #bbb; text-align: center } Code:
<link rel="stylesheet" type="text/css" href="{vb:var vbcsspath}AJGattach.css" /> <div id="wrapper"> <vb:if condition="$info['hasthumbnail']"> <div id="image"><a href="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw info.attachmentid}&d={vb:raw info.dateline}" target="attachment" rel="Lightbox" id="attachment{vb:raw info.attachmentid}"><img src="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw info.attachmentid}&stc=1&thumb=1&d={vb:raw info.thumbnail_dateline}" border="0" alt="" {vb:raw scale} /></a></div> <vb:else /> <div id="image"><img src="{vb:stylevar imgdir_attach}/{vb:raw info.attachmentextension}.gif" alt="{vb:raw info.attachmentextension}" /> <a href="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw info.attachmentid}&d={vb:raw info.dateline}" target="attachment">{vb:raw info.filename}</a></div> </vb:if> <div id="filename">{vb:raw info.filename}</div> <div id="description">{vb:raw temp}</div> </div> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|