How can I use a external database with vb Blocks
by
15 Mar 2010
Hi , Sorry because my English is weak, but I liked to write a topic on the use of an external database within the Forum's Blocks . Go to : admincp -> Forums & Moderators -> Forum Blocks Manager -> Add Block : Custom Html / Php Add new block: Custom HTML/PHP Title : Your title ; Description : your description ; Cache Time (in minutes) : 60; Content Type : Php Content : *** Template to Use : add your template . (eg. block_html) The content : PHP Code:
Create a new template . HTML Code:
<ul> <vb:each from="mytestvar" key="SOMEID" value="testrow"> <li>{vb:raw testrow.somerow}</li> </vb:each> </ul> &d=1268682906" rel="Lightbox_2004237" id="attachment114191 |