Archive for the ‘Web Design’ Category

WP Ecommerce Duplicate Products

Problem:

Duplicate products were being displayed when using the productspage shortcode on a Page.
 
The Cause:
 
This tends to happen if you use the drag and drop sorting of products while viewing all categories. That’s right, you’ll get duplicate products and sometimes not all of the products will show up too.
 
Solution:
 
While this is annoying it’s quite easy to fix. Go into PHP MyAdmin and the wp_wpsc_product_order table and remove all products with a category id of 0. Refresh your site and it’s fixed.
If there is still an issue after removing the category id of 0, then remove any duplicate product_id rows in the wp_wpsc_product_order table too.
 
 
PLEASE NOTE: It’s always a good idea to take a backup before making any alterations.
 
Original:

SharePoint check-in/out prompt for PDF Files

Newer versions of Adobe Reader (X) have a SharePoint Integration feature set.  Part of this integration involves a check in/out prompt when clicking on a PDF file located in a SharePoint Library.

Even if the library itself does not have "check out" enabled, Adobe will prompt the user to either "Open" the file or "Check Out and Open" the file.  

Adobe - SharePoint 2010 Integration

The rub is that even when this feature is NOT enabled in the library itself, if a user clicks "Check out and Open", the file will be checked out in the SharePoint Library!!!  Adobe Reader DOES have an option to Check In, buried in the File menu.  But who is ever going to see or do that?  It's more of an annoyance that anything, at least for my environment, since PDF files typically cannot be edited anyways…

Currently, there is no direct fix for this.  The only option is to disable the Adobe Sharepoint Integration entirely (in the client Registry), which is not very attractive for a number of reasons.

 

Add this to the list of even more reasons not to like Adobe Reader.  Read more here:

forums.adobe.com

Disappearing SharePoint Scrollbar in Chrome Browser

In some cases, usually after making customization to various code in a SharePoint masterpage, the scrollbar may disappear on SharePoint sites in Chrome.

To fix, look for the following code:

<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master">
Replace that line with the following line:
<body scroll="no" class="v4master"> <script type="text/javascript">$(document).ready(function() {if (typeof(_spBodyOnLoadWrapper) != 'undefined') {_spBodyOnLoadWrapper();} });</script>

That's it!

Original Source:
http://blog.creative-sharepoint.com/2012/02/sharepoint-2010-2-simple-steps-to-fixing-scrollbar-issue-in-google-chrome/

Note:  this appears to disable features in the ribbon. Work in progress issue…

Youtube z-index embed fix

If you are using a Page Viewer to embed a youtube video (via url format: http://www.youtube.com/embed/sdflkjhC8), you may come across an issue where if you also have a picture gallery that pops open in a new window, the youtube video stays in the foreground of the picture gallery. Basically, a z-index issue.

The quickest fix is to simply ammend the youtube URL to include “?wmode=transparent
So from the example URL above, you would change your page view webpart link to be this instead:

http://www.youtube.com/embed/sdflkjhC8?wmode=transparent

Works like a charm.

Original:
http://www.scorchsoft.com/news/youtube-z-index-embed-iframe-fix

Configuring the User Profile Service In SharePoint 2010

This article is just fantastic.  It covers everything you need to know to setup and configure the UPS (user profile service) in SharePoint.

sharepointgeorge.com

One note:  the service account used for the UPS sync will require "Replicate Directory Changes permission in AD.  Setup instructions here:

blog.bugrapostaci.com/

Return top