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.

 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do you configure dreamweaver to work with .wws or .wc files?

Have a look at this screenshot:  http://screencast.com/t/eBvVenxv The steps are to find the file...

Can you give me a high level understanding of how the NexpartB2C app server works?

Sophio was created in 1999.  At that time, there were very few web development platforms...

Test page

//   Click here to edit this text. The tool bar loads on the...

Setting Up web.config for an https redirect (SSL)

The following code needs to be added to the site's web.config file to force the site to render in...