Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 41 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
41
Dung lượng
0,91 MB
Nội dung
Here’s how to change the page layout: 1. Select Settings from the module menu. This takes you to the Module Settings page of this module. 2. Click the Maximize button to open the Repository Settings section. 3. Select an option from the Default Sort drop-down box. Choose the field that you want listings to be sorted by when displayed in the Repository. Choose from Date, Downloads, User Rating, Title, or Author Name. 4. Change the number in the Enter the Number Of Items Per Page text box. This setting controls the number of items displayed on each page. Next and Back links are displayed above and below listings to enable people to access other listings. You might like to change the number of items per page according to the Skin selected. For example, if you are using the FileList skin, each listing is only one line; therefore, it would be rea- sonable to display up to 20 items per page. 5. Select an option from the Image Set To Use for Ratings drop-down box. Choose Default to display a five-star rating scale or Dashes to display a ten-bar rating scale. 6. Click the Update link. You are now returned to the Repository and your changes are applied. Working with Repository Files After you have set up the Repository, you can begin adding files. File upload is available to members of any security roles selected as Upload Roles under Repository Settings. See “Setting the unique Repository security roles” to find out how to set File Upload roles. Note that the fields to be completed vary, depending on the skin. Here is how to upload a file and add a new listing for the Default skin: 1. Click the Upload button. This takes you to the Upload a File page, as shown in Figure 8-5. 2. Enter a title into the Title text box. The title will be the name of the listing. 223 Chapter 8: Collaborating and Selling with DNN 14_798439 ch08.qxp 3/22/07 9:17 PM Page 223 3. Click the Browse button beside File and select the file from your computer. This is the download file associated with this item. 4. Click the Browse button beside Image and select an image. This is the image is displayed for this listing. If you don’t choose an image, the default image is displayed instead; see “The fastest setup this side of Texas” for more information. 5. Select one or more Categories. Select each category this listing should be listed under. You must select the All category if you want it to be listed under All. 6. Deselect the Show My Email Address check box beside the E-Mail Address fields to hide your e-mail address. Figure 8-5: The Repository file upload page for the Default skin. The fields vary, depending on the skin used. 224 Part III: Jumping to Light Speed with DotNetNuke 14_798439 ch08.qxp 3/22/07 9:17 PM Page 224 This option allows the uploader to request that his or her e-mail address not be displayed. The Your Name and Your EMail Address fields are prefilled with your details. When All Users can upload files and the user isn’t logged in to the Web Site, these fields are blank and will need to be completed. 7. Enter a description into the RTE Description field. The description is displayed on the listing for this skin. 8. Click the Upload button. As an Administrator, you are automatically a member of the Moderation role, so the listing is added to the Repository. If the uploader isn’t a member of the Moderation role, the item is added to moderation queue. See “Setting the unique Repository security roles” to find out how to set Moderation roles. After the upload is approved the uploader is e-mailed a message confirming that the item is approved. See “Moderating new items” to find out how to moderate unapproved items. If you are having problems uploading a file, check the maximum size of file uploads and verify with your host which file types can be uploaded. Editing and deleting items Administrators can edit any item uploaded to the Repository. Other users who are authorized to upload items can edit only the items that they uploaded and can’t edit other people’s uploads. Here’s how to edit or delete an item: To access the page where you can edit or delete a listing, click on the Edit button located in the top left corner of any listing. 1. Locate the item to be edited or deleted. Use Categories or search if required. 2. Click the Edit button beside the item. This displays the Edit Item page for this item. 3. Edit the item if required and click the Upload button; alternatively, click the Delete button and then OK to delete the item. 225 Chapter 8: Collaborating and Selling with DNN 14_798439 ch08.qxp 3/22/07 9:17 PM Page 225 Downloading a file Files can be downloaded by members of any security roles selected in the Download Roles setting. See “Setting the unique Repository security roles” to find out how to set File Download roles. To download a file, click the Download button or link for that item. Searching the Repository No setup is required for the search tool, which is available to all users with View Module permissions. To search for a listing, enter all or part of the title of the listing, a word in the description, the author’s name or the author’s e-mail address. For example, searching on the word Richard also returns results for the words Richards and Richardson. Moderating new items Moderation is an approval process for new items. Moderation is available to any security roles selected in the Moderation Roles setting. See “Setting the unique Repository security roles” to find out how to set Moderation roles. Here’s how to moderate an upload: 1. Click the Moderate button. The number of uploads awaiting moderation is displayed on the Moderate button. 2. Click the V iew File link to view a file to be moderated. Open the file to view it. If the file is an image, you can either skip this step or click on the thumbnail of the image to view a larger image. 3. Click either the Appr ove or the Reject Link. If you choose to approve the item, it is added to the Repository and a confirmation notice is sent to the author. If you choose to reject the item, a text box is displayed that enables you to compose and send a rejection note to the author. 226 Part III: Jumping to Light Speed with DotNetNuke 14_798439 ch08.qxp 3/22/07 9:17 PM Page 226 Adding a comment to an item Many Repository skins enable people to add comments to items and read other people’s comments. See “Setting the unique Repository security roles” to find out how to set the comment roles. Here’s how to add a comment to an item: 1. Click the Comments (0) link. In the default skin, this is located in the bottom-right corner of each list- ing. This displays any existing comments and provides a text box to add your comments. 2. Enter a comment into the Your Comment text box and click the Post Your Comments button. Your comment is added to the item and can be viewed by clicking on the Comments link again. Note that the number of comments for that item increases accordingly. For example, the link now reads Comments (1) . Viewing, editing, and deleting comments Administrators can edit or delete any comment; however, other users can only edit or delete their own comments. Here’s how to view, edit, or delete a comment: 1. Click the Comments (1) link. You can now view any existing comments. 2. Click the Edit button beside a comment to edit or delete it. This displays the comment for editing or deleting. 3. Edit the comment and click Update to save your changes or Delete to delete the comment. You are now returned to the Repository. Rating files Most Repository skins enable people to add ratings to items and see the aver- age rating. See “Setting the unique Repository security roles” to find out how to set the rating roles. 227 Chapter 8: Collaborating and Selling with DNN 14_798439 ch08.qxp 3/22/07 9:17 PM Page 227 Here’s how to add a rating to an item: 1. Click on the stars or dashes located between Rating and Comments. This displays the number of votes cast for this item and the average rating. You are also provided with a series of radio buttons to add your rating. 2. Select a radio button to rate the item and click the Post Your Rating button. Your rating is added to the running total and the rating image changes to display the new total. Ratings cannot be edited; however, you can add more than one rating per item to change the results. See “Changing the page layout” earlier in this chapter to find out how to change the five-star rating scale to a ten-bar rating scale. Displaying quick links by using the dashboard The Repository module has a companion module called the Repository Dashboard module. This module can display different information relating to the Repository module such as a list of categories, the latest uploads, the top downloads, and the top rated item. Here’s how to set up the Repository Dashboard module: 1. Add the Repository Dashboard module to a page. You can add the dashboard to any page on your Web site. 2. Select Settings from the module menu. This displays the Module Settings page of this module. 3. Select the page/title of a Repository module from the Select Repository drop-down box. This setting lets you select which Repository module on your Web site you want this dashboard to be associated with. 4. Choose a radio button to set the information to be displayed from the Dashboard Module field. Your options are • Categories (single-column): Display the categories in a single column of links • Categories (multi-column): Display the categories in multiple columns of links 228 Part III: Jumping to Light Speed with DotNetNuke 14_798439 ch08.qxp 3/22/07 9:17 PM Page 228 • Latest Uploads: Displays links to the latest uploads • Top Downloads: Displays links to the most frequently downloaded items • Top Rated: Display links to items with the highest ratings 5. Enter a number to set the maximum number of links for non-category modes into the Indicate the Number of Items to Be Displayed text box. For example, enter 10 to display ten links. Category modes will ignore any value entered here. 6. Click the Update link. This returns you to the page, and the dashboard now displays your selection. You can add multiple dashboards for each repository. Selling Stuff with a Store One of the greatest benefits of having a Web site is the ability to create an online marketplace where people can browse and buy your wares 24 hours a day. Online stores are cheap to set up, cheap to run, and they give you a global presence that would be difficult to achieve with a physical shop at your local mall. The DNN Store consists of five modules that work together to create a full online shopping experience. Your Web site visitors can browse your prod- ucts, add them to a virtual shopping cart, and purchase them by using a secure online payment gateway. Administrators can manage products, manage product reviews, and manage customer orders as well as provide authorized roles with the ability to also manage products. In the upcoming section, we describe each of the five Store modules. The Store Menu (Categories) module The Store Menu module (which is titled Categories after you add it to a page, so that’s what we call it in this chapter) enables customers to browse prod- ucts by selecting a category. This module works with the Catalog module, which displays the description of the selected category and its products. Categories can be managed by using either this module or the Store Admin module. Administrators, and other authorized roles, can add, edit, archive, and delete categories by using the Categories module menu. See Figure 8-6 to check out the Categories module in action. 229 Chapter 8: Collaborating and Selling with DNN 14_798439 ch08.qxp 3/22/07 9:17 PM Page 229 The Store Catalog module The Store Catalog module (which is titled Catalog after you add it to a page, so that’s what we call it in this chapter) displays results from the Categories module. When a category is selected, the Catalog module displays the cate- gory description and a summary listing of all products within the selected category. Each listing includes a linked product title that goes to a detailed product description, and an Add to Car t link. Look at Figure 8-6 to see the Catalog module in action. The Store Mini Cart module The Store Mini Cart module displays a brief listing of any products in a cus- tomer’s cart. This module provides customers with quick way of seeing how many products they have added to their cart and the total cost. Customers can adjust product quantities or delete items from their cart. A View Cart Details link takes customers to the Store Account module, which provides a detailed view of their shopping cart. See Figure 8-6 to see the Store Mini Cart module in action. Figure 8-6: The Store Menu, Catalog, and Mini Cart work together to create a shopping page. 230 Part III: Jumping to Light Speed with DotNetNuke 14_798439 ch08.qxp 3/22/07 9:17 PM Page 230 The Store Account module The Store Account module, shown in Figure 8-7, provides each customer with a place to manage their shopping account. The module consists of three screens: Customer Cart, Profile, and Order History. Customer Cart is the default screen, which enables customers to manage any products in their shopping cart. This screen includes a Checkout link, enabling the customer to proceed to the Checkout to complete their order. The Profile screen lets customers add and manage their shipping and billing addresses. The Order History screen enables customers to view details of their previous orders. The Store Admin module The Store Admin module enables Administrators to configure and manage all store settings. The module has five administrative sections: Store Info, Categories, Product, Customers, and Reviews. The Store Info section is required to configure the store and includes setup of your preferred payment gateway. The Store Info section is shown in Figure 8-8. The Categories and Products sections manages adding, editing, archiving, and deletion of cate- gories and products. The Customer section displays a list of existing store customers and a summary of their previous orders. The Reviews section manages the approval, editing, and deletion of customer reviews. Figure 8-7: The Store Account module shows customers what’s in their cart. It also enables customers to manage their addresses and view previous orders. 231 Chapter 8: Collaborating and Selling with DNN 14_798439 ch08.qxp 3/22/07 9:17 PM Page 231 Laying Out Your Store The Store modules must be arranged on different pages and have different security roles set to create a shopping experience. As is typical with DNN, you have full control over which security roles can view pages and modules. The following example shows how to set up a store that lets all visitors browse and select products before registering or logging in to their account. Creating the Store page Here’s how to set up the page where customers come to browse and buy: 1. Add a page titled Store. At Permissions for View Page, select All Users. 2. Add the Store Menu (Categories) module to the Store page. Use all the default options when adding the module. This module looks good in either the left or right pane. 3. Add the Store Catalog (Catalog) module to the Store page. Use all the default options when adding the module. Figure 8-8: The Store Admin page lets Administrat- ors set up the store and manage categories, products, orders, and reviews. 232 Part III: Jumping to Light Speed with DotNetNuke 14_798439 ch08.qxp 3/22/07 9:17 PM Page 232 [...]... writing, the DNN Wiki permitted contributions from logged-in users only The Wiki module isn’t included with your DNN installation, but is available for free download from the DotNetNuke Web site by going to the Wiki Project page (www.dotnetnuke.com/DotNetNukeProjects/ModuleWiki/tabid/ 848/Default.aspx) and clicking the Project Downloads link See Chapter 3 to find out how to install modules Figure 8-12:... abbreviation of each tax code and the rate applied for that state For example, the first box is AL for Alabama The box below it displays the current tax rate for Alabama The default value for each state is zero (0.00) 3 Edit the tax rate for each state as required Tax rates are displayed as a percentage of 1.00, where 1.00 equals 100% tax For example, to set the tax rate for Alabama to 10%, change the value in... Light Speed with DotNetNuke Both of these companies provide an immediate and low-cost solution to processing online transactions Visit the Web sites for both companies (at www.paypay.com and www.authorizenet.com) to see which company best suits your requirements After you have made your choice, sign up for an account with your preferred company Your account details are required before you can complete... box This displays the required AuthorizeNet fields 235 236 Part III: Jumping to Light Speed with DotNetNuke 3 Enter the Transaction POST URL into the Gateway URL text box This URL is supplied by AuthorizeNet when you sign up 4 Enter 3.1 in the Version text box This is the latest version of AuthorizeNet 5 Enter your Login ID in the Username text box AuthorizeNet supplies the Login ID when you sign up... U.S dollars 7 Click the Update link Your store is now ready to receive online payments Setting the payment gateway as AuthorizeNet You must have a current AuthorizeNet account to complete this step Make sure your account details are handy Here is how to complete the payment gateway settings for AuthorizeNet: 1 Go to the Store Admin page The Store Info page is displayed 2 Select AuthorizeNetProvider... AuthorizeNet supplies a password when you sign up 7 Select Auth and Capture in the Capture Type drop-down box This sets the transaction type for the Store Authorize and Capture (Auth and Capture) sends a request to authorize and receive the funds for a purchase The second option, Authorization Only (Auth Only), sends a request to authorize funds, but doesn’t put the money into your account AuthorizeNet... shipping fee: 2 37 238 Part III: Jumping to Light Speed with DotNetNuke 1 Go to the Store Admin page The Store Info page is displayed 2 Click the Maximize button beside the Shipping Administration section This displays the current shipping fee The default setting is zero (0.00) 3 Enter the shipping fee Shipping fees are displayed as a percentage of 1.00, where 1.00 equals a 100% shipping fee For example,... order/telephone order (MOTO) sales See Virtual Terminal/Batch Upload on the AuthorizeNet Web site (www.authorizenet.com) if you are interested in finding out more about this 8 Select the Test Mode check box if you want to test receiving payments before launching the store to the pubic AuthorizeNet enables you to test your Store before you begin to accept real transactions You will need to deselect this option... more Wiki Web sites; however, you can only display one Wiki Web site per module at a time For example, if you create a Canine Breeds Wiki site and a Canine Terminology Wiki site, you need to use two Wiki modules and select which module displays which Wiki Web site 2 47 248 Part III: Jumping to Light Speed with DotNetNuke Configuring Wiki sites and choosing editors Here’s how to create a Wiki site: 1 Add... Wiki and import it into your new Wiki Here’s how to perform an export and import of Wiki content: 1 Go to the Wiki that you want to export content from 2 Click the Maintenance button It is best to perform maintenance on your Wiki before continuing to Step 2 This ensures that you have an optimum database for importing See the preceding section for details 3 Click the Save Pages button and save the file . 8-5: The Repository file upload page for the Default skin. The fields vary, depending on the skin used. 224 Part III: Jumping to Light Speed with DotNetNuke 14 _79 8439 ch08.qxp 3/22/ 07 9: 17 PM Page 224 This option. III: Jumping to Light Speed with DotNetNuke 14 _79 8439 ch08.qxp 3/22/ 07 9: 17 PM Page 230 The Store Account module The Store Account module, shown in Figure 8 -7, provides each customer with a. handy. 234 Part III: Jumping to Light Speed with DotNetNuke 14 _79 8439 ch08.qxp 3/22/ 07 9: 17 PM Page 234 Here is how to complete the payment gateway settings for PayPal: 1. Go to the Store Admin page. The