Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h2. PF Enterprise FAQ

...



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

...

Table of Contents
minLevel4
typelist

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.

Advanced Tables - Table Plus
width55%

Type

Cache Duration

Changes to Umbraco Content

Up to 1 Hour

Changes to FTP Content

Up to 15 Minutes

CSS Styling

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

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
  • forgotpassword
  • get
  • getstarted
  • guest
  • home
  • link
  • members
  • membershipinfo
  • migrateuser
  • mycart
  • mycollections
  • myfeeds
  • myorders
  • myphotos
  • orderhistory
  • photo
  • photos
  • photofeed
  • prepaidplans
  • pricelist
  • prints
  • projects
  • share
  • shop
  • signin
  • signout
  • signup
  • signupcomplete
  • startsharing
  • terms
  • trackmyorder
  • trackorder
  • transferconten
  • 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.



{toc:type=list|minLevel=4}

\\

h4. 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.

{table-plus:width=55%}
|| Type || Cache Duration ||
| Changes to Umbraco Content | Up to 1 Hour |
| Changes to FTP Content | Up to 15 Minutes |
{table-plus}

\\

h4. CSS Styling

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

\\

h4. 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
* forgotpassword
* get
* getstarted
* guest
* home
* link
* members
* membershipinfo
* migrateuser
* mycart
* mycollections
* myfeeds
* myorders
* myphotos
* orderhistory
* photo
* photos
* photofeed
* prepaidplans
* pricelist
* prints
* projects
* share
* shop
* signin
* signout
* signup
* signupcomplete
* startsharing
* terms
* trackmyorder
* trackorder
* transferconten
* upgrade
* user

\\

h4. 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.

* ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js

...


* ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js

...


* json2.js

...


* jquery.fancybox-1.3.4.js

...


* jquery.blockui.js

...


* jquery.linq.js

...



{note
}The versions included are updated regularly. We'll endeavor to keep this page up-to-date, but you can always verify by simply doing a *{_}View Source{_}* on one of your pages in PF Enterprise
.

...

.{note}

\\

h4. Customer Sign-In

...



There are several methods available to hook up a "Sign In" link to

...



* *Method 1 - CSS:

...

*
\\
Give your <href> an html id of "signInLink"

...

bgColor#e4f4fb

\\
\\
* *Method 2 - JavaScript:*
\\
The following Javascript call will connect your Sign In link to the appropriate action.
\\
\\
{panel:bgColor=#e4f4fb}
\\
PF.loginDialog(<jquerySelector>);

...

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.

Panel
bgColor#e4f4fb
titleBGColor#e8e8e8
titleGeneral Data Members

\\
\\
{panel}

\\

h4. 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.

{panel:title=General Data Members|bgColor=#e4f4fb|titleBGColor=#e8e8e8}
PF.user.isAuthenticated : bool


PF.user.numberOfSavedProjects :
number
Panel
bgColor#e4f4fb
titleBGColor#e8e8e8
titleOrder 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

Panel
bgColor#e4f4fb
titleBGColor#e8e8e8
titleFunctions
PF.showError( message );
PF.blockPage( );
PF.unblockPage( );
PF.blockUI( selector );
PF.unblockUI( selector );
 number
{panel}

\\

{panel:title=Order Data Members (only available in the ConfirmationExtra PagePart)|bgColor=#e4f4fb|titleBGColor=#e8e8e8}
OrderSummary.confirmation : int
OrderSummary.subTotal : number
OrderSummary.discount : number
OrderSummary.tax : number
OrderSummary.shipping : number
OrderSummary.total : number
OrderSummary.balanceDue : number
{panel}


\\

{panel:title=Functions|bgColor=#e4f4fb|titleBGColor=#e8e8e8}
PF.showError( message );
PF.blockPage( );
PF.unblockPage( );
PF.blockUI( selector );
PF.unblockUI( selector );
PF.silverlight.show( );


PF.silverlight.hide( );

jQueryUI Usage

...


{panel}

\\

h4. jQueryUI Usage

If you plan to use jQueryUI in your Umbraco content, please note that we provide a base set of jQueryUI styles. You should plan to provide overrides for all of our default stylings. Contact us for additional details.

h4. 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.&nbsp; You can add code to the stylesheet not to load the page until the font is loaded.&nbsp; More info: [http://help.typekit.com/customer/portal/articles/6852-controlling-the-flash-of-unstyled-text-or-fout-using-font-events] &nbsp;&nbsp; (code: .wf-loading {visibility: hidden; } &nbsp; .wf-active { visibility: visible;&nbsp; }&nbsp; )
* *Put a ‘My Projects’ button in even for anonymous users.* They're cookie based. &nbsp;Tied to the user's browser. Just like the anonymous user's shopping cart.&nbsp;
* *Use relative links*. Relative links are best. If you need it to a link to a secure page like ‘checkout’ then add the class=”secure” attribute to the anchor element.&nbsp; (or sign in)
* *Linking to products/groups.* Use short links like shop/photo-books instead of the direct links generated from Lab 50
* *Newsletter signup*.&nbsp; 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.