Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

practical liferay Java -based Portal Applications development apress phần 8 potx
Nội dung xem thử
Mô tả chi tiết
232 Chapter 9 ■ MANAGING CONTENT
Figure 9-2. Creating a new folder
When you return to the main application screen, you will notice that the newly added
Fundamental and Technical folders are listed on the main page (see Figure 9-3).
Figure 9-3. The folders list
You’ll now add subfolders in the folder hierarchy.
Adding a Subfolder
First, you’ll add subfolders under the Fundamental folder. Follow these steps to do so:
1. Click the Fundamental link in the folders list displayed on the main application screen.
2. Click the Add Subfolder button on the displayed screen.
Chapter 9 ■ MANAGING CONTENT 233
3. Take action on the following fields in the displayed dialog:
a. Name: Enter Analyst1.
b. Description: Enter The documents in this subfolder are provided by Analyst1.
c. Permissions: Leave these settings at their default values.
4. Click the Save button to save your changes.
5. Add two more subfolders under the Fundamental folder by following steps 2 through 4
again, but call these subfolders Analyst2 and Analyst3 and update the description text
accordingly.
6. Save your edits. When you return to the Fundamental folder screen, it should look like
the one shown in Figure 9-4.
Figure 9-4. List of subfolders
Note that the three subfolders you created appear under the Fundamental folder. Also,
notice the folder-navigation links that appear above the Search edit box. Looking at these links,
you can easily see the current folder’s position in the hierarchy. You can jump to any folder by
clicking its name in the series of navigation links.
Now follow the preceding steps to create subfolders called Analyst1, Analyst2, and
Analyst3 under the Technical main folder. Next, you’ll learn to store documents in the folder
hierarchy that you have created so far.
Adding Documents
To add documents to our document library on the portal, follow the steps listed here:
1. Navigate to the Fundamental/Analyst1 subfolder.
2. Click the Add Document button.
234 Chapter 9 ■ MANAGING CONTENT
3. Click the Browse link to select the documents.
4. Select the desired analysis reports for uploading (you can select multiple documents if
desired). At this stage, your screen would look like the one shown in Figure 9-5.
Figure 9-5. List of files displayed in the new uploader
5. Click the Upload Files link to upload the files to the server.
Using the Classic Uploader
You can use either the new uploader or the classic uploader to upload files to the server. In the
previous section, you used the new uploader by clicking the Browse (you can select multiple
files) link. In this section, you’ll use the classic uploader by clicking the Use the classic uploader
link on the upload page (see Figure 9-6).
Perform the following actions to complete the classic uploader entry screen:
1. Type the name of the file to be uploaded in the File edit box. If you are not sure of the
file’s full path, use the Browse button to locate the file and add its name to the edit box.
2. Enter the desired title for the file in the Title edit box.
3. Enter the desired description for the file in the Description edit box.
4. Enter the tags in the corresponding edit box. You can create new tags here by typing
the index word and clicking the Add Tags button. Alternatively, you can tag the current
file by selecting from the predefined tags that pop up when you click the Select Tags
button.
5. Set the user permissions by clicking the Configure link.
6. Finally, after you complete all your inputs, click the Save button to upload the file to
the server.