Welcome to vBulletin Guru!


vBulletin is arguably the best community forum software available today. vBulletin Guru is here to offer both free advice on how to successfully build, customize and manage your forum based website as well as offer advice and resources for more advanced topics of forum management such as SEO (Search Engine Optimization), community growth and monetization.
Jul
14

vB4 onclick in a template

By
I am trying to use onclick to popup a window with some data retrieved form the DB. I already hav eth edata in {vb:raw queuelist.message}

When I put the below code in my template, it displays {vb:raw queuelist.message} on the main page, instead of just inside the popup window. Is there anyway to correct this?

Code:

<img src="{vb:stylevar imgdir_statusicon}/post_new.gif" alt="" /><a href="mailist.php#" onclick="window.open('{vb:raw queuelist.message}','message','width=800,height=622');">{vb:raw queuelist.subject}</a></p>
{vb:raw queuelist.message} usually contains HTML, and I'm thinking this is what is causing the problem.
So I tried it with just text, now the main page displays as expected, but when I click on the link nothing happens.

Comments are closed.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes