Author Topic

Jack Rackham

Wednesday 16 March 2005 11:51:09 am

Comment5250

If you have installed the not stable extension version of phpadsnew then you can.

-

=============
Usage
=============
- Place template code in any template
Sample 1:
-----------------------------------
{let data=phpadsnew( 'keyword', 'html')}
{$data.html}
{/let}
-----------------------------------
Sample 2:
-----------------------------------
{default data=phpadsnew($:item.node_id, 'link', $:item.url_alias|ezurl(no))}
<a href={$data.ext_url|ezroot}>{$:item.name}</a>
{include uri="design:phpadsnew/viewcount.tpl" data=$data}
{/default}
{* The keyword "node2" in phpadsnew is linked to object with node_id 2*}
-----------------------------------

- Or create a javascript export in phpadsnew (Invocationcode - remote javascript......)