campaign Ads
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Content Selection Framework > campaign Ads




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    campaign Ads  
jalsuni


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-02-06 12:14 AM

Hi! I'm working Commerce server 2007 RC for advertisements.
I created ads with images & Top Vignette for display Type, but When I tried
to display on Web pages then all ads images got an blue border outside image
s.
So when I debug my code, I found out ads returing from CS07 cache got
border=1 inside string collection.
Is this a bug?
Is there any way I can get rid of this image border?

Thanks in advance,






[ Post a follow-up to this message ]



    RE: campaign Ads  
David Lott [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-02-06 06:19 AM

Hi Jalsuni,

Most display templates have a display property named Border that has a
default property of 1.

Changing this value to 0 should make your borders go away.  Unfortunately
this value is not exposed in the Marketing Manager UI, but there are APIs
to access it.  Create a MarketingContext (mc) and use
mc.DisplayTemplates.GetDisplayTemplate() to get the display template (dt)
you want to modify.  Iterate through dt.Properties until you find the one
named Border, then change it's DefaulValue to 0.  Save the DisplayTemplate
to persist your changes to the database.  Finally refresh the site caches
and you should be set.

In the future, please post RC questions in the beta newsgroups on the
connect site.  They are monitored more closely.


Thanks,
David Lott

Microsoft


This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
From: examnotes <jalsuni@discussions.microsoft.com>
Subject: campaign Ads
Date: Thu, 1 Jun 2006 14:12:01 -0700
Newsgroups: microsoft.public.commerceserver.campaigns_csf

Hi! I'm working Commerce server 2007 RC for advertisements.
I created ads with images & Top Vignette for display Type, but When I tried
to display on Web pages then all ads images got an blue border outside
images.
So when I debug my code, I found out ads returing from CS07 cache got
border=1 inside string collection.
Is this a bug?
Is there any way I can get rid of this image border?

Thanks in advance,



Attachment:
This has been downloaded 0 time(s).



[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:18 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register