You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 36 Next »

PF Enterprise FAQ

Common questions about setting up and maintaining a PF Enterprise site.

 

Umbraco & FTP Access

Umbraco: https://pages.photofinale.com/umbraco/
FTP: ftp://ftp.photofinale.com:990  (Secure FTP)

Your credentials will be provided by your account manager.

 

Content Cache

Changes to content made within Umbraco or to files in your FTP directory can take some time to show up on the site due to caching.

 

Type

Cache Duration

Changes to Umbraco Content

Up to 30 Minutes

Changes to FTP Content

Up to 10 Minutes

To facilitate development, you can point your browser to our sandbox server, which only caches Umbraco content for 1 minute. This makes rapid-fire change-and-test cycles much easier.

You can hit the sandbox version of your site at any time by using the address: https://*yoursitename*.pfsandbox.com.

 

CSS Styling

We strongly recommend that you provide an appropriate css namespace scope for your styles to ensure they do not conflict with the default Photo Finale styling.

In practice, this simply means placing all of your custom content in a <div> with a unique parent class name, for example:

<div class="dealer-name">

[ CUSTOM CONTENT ]

</div>

Then each style defined in your CSS file should use that parent selector to define the styles. Setting the font-size of the <legend> element, for example will look like:

.dealer-name legend {
      font-size: 16px;
}

Your style sheets will always be included after the default Photo Finale style sheets, so it is therefore possible for you to override any of the default PF styling by omitting the .dealer-name scope, for example:

legend {
      font-size: 16px;
}

We recommend against overriding the default Photo Finale styling, except as noted below. Lucidiom cannot take responsibility nor provide engineering resources to help diagnose or debug problems caused by overrides to the default styles. Ensuring that the default styling is compatible with all supported browsers on OS X and Windows is enough fun for us already!


Most PF Enterprise sites will need to override certain PF layout styles, shown here. The values of the #header.pageLayout height and #content.fullpage top should be the same and should represent the actual height of your header content.

/* Photo Finale Overrides */

#pageWrapper {
      background: none;
      box-shadow: none;
      max-width: 100%;
}

#header.pageLayout {
      background: none;
      height: 78px;
      border: none;
}

#content.fullpage {
      top: 78px;
}

#footer {
      background: none;
}

 

Reserved Page Names

The following names are reserved by Lucidiom and should not be used as page or folder names within Umbraco. This list may change from time to time.

  • account
  • addphotos
  • ccvinfo
  • changepassword
  • checkout
  • confirmation
  • create
  • default
  • feedback
  • forgotpassword
  • get
  • getstarted
  • gift
  • gifts
  • guest
  • help
  • home
  • link
  • members
  • membershipinfo
  • migrateuser
  • mobile
  • mycart
  • mycollections
  • myfeeds
  • myorders
  • myphotos
  • orderhistory
  • optout
  • photo
  • photos
  • photofeed
  • prepaidplans
  • pricelist
  • print
  • prints
  • projects
  • share
  • shop
  • signin
  • signout
  • signup
  • signupcomplete
  • startsharing
  • stores
  • terms
  • trackmyorder
  • trackorder
  • transferconten
  • unsubscribe
  • upgrade
  • user

 

JavaScript Libraries

Photo Finale includes a number of JS libraries. Umbraco content that includes these same libraries (or different versions of them) will likely cause conflicts and should be avoided.  Please use the View Source feature in your browser to check which librararies/versions are being included.

 

JavaScript Client Objects

PF Enterprise provides a pair of JavaScript objects (PF and OrderSummary) that are available to be used in Umbraco pages and PageParts.

General Data Members

PF.user.isAuthenticated : bool
PF.user.numberOfSavedProjects : number

Order Data Members (only available in the ConfirmationExtra PagePart)

OrderSummary.confirmation : int
OrderSummary.subTotal : number
OrderSummary.discount : number
OrderSummary.tax : number
OrderSummary.shipping : number
OrderSummary.total : number
OrderSummary.balanceDue : number

Functions

PF.showError( message );
PF.blockPage( );
PF.unblockPage( );
PF.blockUI( selector );
PF.unblockUI( selector );
PF.silverlight.show( );
PF.silverlight.hide( );

 

Tips

  • Typekit: If you use Typekit for the fonts and you can see the site make the font switch from a default to your special font, you are experiencing "FOUT" = flash of unstyled text. You can add code to the stylesheet not to load the page until the font is loaded. More info: http://help.typekit.com/customer/portal/articles/6852-controlling-the-flash-of-unstyled-text-or-fout-using-font-events
  • Put a ‘My Projects’ button in even for anonymous users. For anonymous users, they are stored via cookies, just like the anonymous user's shopping cart. 
  • Use relative links. Relative links are best.
  • Linking to products/groups. For the best SEO and future-proofing, always use links to products and categories as shown in the Web Links page of myLab.
  • Newsletter signup.  html can’t have a <form> within a <form>. The site is already wrapped in a <form> so any others get tossed out. The submit would need to be scripted or pop something up.
  • No labels