Creating a Printer Friendly version of an MSIB rich product page
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Creating a Printer Friendly version of an MSIB rich product page




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

    Creating a Printer Friendly version of an MSIB rich product page  
Matthew


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


 
05-20-04 10:42 PM

Has anyone been able to create a printer friendly version of an MSIB
rich product page?

I've been attempting to create a printer friendly page by following an
example found at Luke Nyswonger's site at
http://blogs.msdn.com/luke/articles/94644.aspx

The code makes sense and pulls RawContent out of the posting
(placeHolder.Datasource.RawContent.ToString) for the two straight CMS
placeholder definitions I am using (SingleImagePlaceholders).
However, I am unable to access the ContentConnector's ebizcontent
ProductPropertyPlaceHolderControl using this technique.

Has anyone been able to pull info from an ebizcontent placeholder or
create a printer friendly rich product page some other way for an MSIB
site?

Thanks!





[ Post a follow-up to this message ]



    Re: Creating a Printer Friendly version of an MSIB rich product page  
Tommy O


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


 
05-20-04 10:42 PM

One general technique not specific to MSIB or CMS I've found useful is to
have the templates control how to display a printer-friendly version of the
pages.

On the template, I just add a link to the same page with a querystring
parameter for example ?print=true.
Then, in the html code of the template, I just "hide" areas I don't want to
display on the printer friendly version (navigation, certain placeholders
etc) like this:

<% if(Request.QueryString["print"] != true) { %>
content to display only on regular page version
<% } %>

Or:

<% if(Request.QueryString["print"] == true) { %>
content to display only on printerfriendly page version
<% } %>

Tommy

"Matthew" <clemmonsm@yahoo.com> wrote in message
news:a0cb7688.0405200709.7ffd352e@posting.google.com...
> Has anyone been able to create a printer friendly version of an MSIB
> rich product page?
>
> I've been attempting to create a printer friendly page by following an
> example found at Luke Nyswonger's site at
> http://blogs.msdn.com/luke/articles/94644.aspx
>
> The code makes sense and pulls RawContent out of the posting
> (placeHolder.Datasource.RawContent.ToString) for the two straight CMS
> placeholder definitions I am using (SingleImagePlaceholders).
> However, I am unable to access the ContentConnector's ebizcontent
> ProductPropertyPlaceHolderControl using this technique.
>
> Has anyone been able to pull info from an ebizcontent placeholder or
> create a printer friendly rich product page some other way for an MSIB
> site?
>
> Thanks!







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:15 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