31.10.2014 Views

Developer's Guide - EPiServer World

Developer's Guide - EPiServer World

Developer's Guide - EPiServer World

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6 | Developer’s <strong>Guide</strong> <strong>EPiServer</strong> Community 3.1<br />

2.20 IMAGE GALLERY 84<br />

2.20.1 Adding an Image Gallery ................................................................................................................................................................................................. 84<br />

2.20.2 Removing an Image Gallery .......................................................................................................................................................................................... 84<br />

2.20.3 Adding an Image ................................................................................................................................................................................................................. 85<br />

2.20.4 Removing an Image ........................................................................................................................................................................................................... 86<br />

2.20.5 Crop and Rotate an Image ............................................................................................................................................................................................ 86<br />

2.20.6 Getting a Thumbnail of an Image .............................................................................................................................................................................. 87<br />

2.20.7 Getting Images in an Image Gallery .......................................................................................................................................................................... 88<br />

2.21 MOBLOG 89<br />

2.21.1 Redirecting an Unwire MMS to a Specific Destination .................................................................................................................................. 89<br />

2.22 MYPAGE 91<br />

2.22.1 Blocking a User .................................................................................................................................................................................................................... 91<br />

2.22.2 Seeing if a User is blocked ............................................................................................................................................................................................. 92<br />

2.22.3 Getting Blocked Users ..................................................................................................................................................................................................... 92<br />

2.22.4 Setting a Portrait Image ................................................................................................................................................................................................... 93<br />

2.23 NML 95<br />

2.23.1 Rendering NML Content ............................................................................................................................................................................................... 96<br />

2.23.2 Limiting Maximum Word Lengths ............................................................................................................................................................................. 96<br />

2.24 ONLINESTATUS 98<br />

2.24.1 Seeing if a User is Online ............................................................................................................................................................................................... 98<br />

2.24.2 Getting a User’s Last Login Date ............................................................................................................................................................................... 98<br />

2.24.3 Getting Currently Logged in Users ........................................................................................................................................................................... 99<br />

2.25 POLL 100<br />

2.25.1 Adding a Poll ....................................................................................................................................................................................................................... 100<br />

2.25.2 Removing a Poll ................................................................................................................................................................................................................. 101<br />

2.25.3 Voting in a Poll ................................................................................................................................................................................................................... 102<br />

2.25.4 Display the Current State of a Poll ......................................................................................................................................................................... 103<br />

2.25.5 Adding Choices after Creation ................................................................................................................................................................................. 104<br />

2.25.6 Add Choices to Existing Poll ...................................................................................................................................................................................... 105<br />

2.26 STARVIRAL 106<br />

2.26.1 Adding a Referral .............................................................................................................................................................................................................. 106<br />

2.26.2 Display the State of Referrals ..................................................................................................................................................................................... 106<br />

2.27 VIDEO GALLERY 108<br />

2.27.1 Video Gallery function (video formats) ................................................................................................................................................................ 108<br />

2.27.2 Adding videos ..................................................................................................................................................................................................................... 109<br />

2.27.3 Remove video .................................................................................................................................................................................................................... 111<br />

2.27.4 Update video ...................................................................................................................................................................................................................... 111<br />

2.27.5 Get videos ............................................................................................................................................................................................................................ 112<br />

2.27.6 Get preview frames ......................................................................................................................................................................................................... 113<br />

2.27.7 Playing a Video ................................................................................................................................................................................................................... 113<br />

2.27.8 The Configuration File ................................................................................................................................................................................................... 114<br />

2.28 WEBMAIL 115<br />

2.28.1 Getting the status of an account .............................................................................................................................................................................. 115<br />

2.28.2 Creating an account ........................................................................................................................................................................................................ 115<br />

2.28.3 Disabling, Reactivating and Permanently Removing Accounts ................................................................................................................. 116<br />

2.28.4 Managing the Mailbox Tree for an Account ...................................................................................................................................................... 118<br />

2.28.5 Getting Messages .............................................................................................................................................................................................................. 119<br />

2.28.6 Sending a Message ........................................................................................................................................................................................................... 120<br />

2.28.7 The Configuration File ................................................................................................................................................................................................... 121<br />

3 EXTENDING EPISERVER COMMUNITY 123<br />

3.1 EXTENDING EPISERVER COMMUNITY CLASSES 123<br />

3.2 BENEFIT FROM EPISERVER COMMUNITY FUNCTIONALITY IN THIRD PARTY CLASSES 126<br />

3.2.1 Retrieving categories for MyClass ............................................................................................................................................................................ 130<br />

3.2.2 Retrieving MyClass entities based on categories ............................................................................................................................................. 131<br />

3.3 USE EPISERVER COMMUNITY CACHE SYSTEM FOR THIRD PARTY IMPLEMENTATIONS 131<br />

© <strong>EPiServer</strong> AB

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!