How does the NexpartB2C Ad Server Script get into merchant pages?

In the sophioprocess.prg, we make a call to

lhasAds =  GetAdvSet("ADOK")="T" And !"static.sophio.com"$m.lcOUtput And Empty(GetWebVarOnly("nooutput"))

Try

If lhasAds

myAddWidget=IncludeWidget("getads.wws")

This.OutputStyles(@lcOUtput,m.myAddWidget+Chr(13))

Endif

Endtry


This retrieves a shared tempalte file named getads.wws which has the master ad serving template.   The widget has additional business rules that drive the number of ads, the names of ads, and ad sizes.

 

 

Was this answer helpful? 0 Users Found This Useful (1 Votes)