joomla for dummies phần 6 docx

36 200 0
joomla for dummies phần 6 docx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

162 Part II: Joomla at Work Figure 6-16: Table of contents. In Figure 6-16, notice that Joomla uses the article’s title as the title of the first page in the article. The text links are the names of page breaks, and Joomla displays << Prev and Next >> links to let users navigate from page to page. The All Pages link in the table of contents displays the whole article without page breaks. Back (And Forth) to the Future: Publishing at Different Times You may have articles that need to appear on a certain schedule. Perhaps you’re promoting a picnic (and need to take down the notice about it when the picnic is over) or a theatrical production (and need to display the notice only when tickets are available). Joomla helps with this task. Publishing articles in the future You can create articles that will be published at some future time. Suppose that your not-for-profit organization is running a raffle from now until 163 Chapter 6: Mastering Web Page Creation March 2, 2010, and you want to publicize the raffle You create this article by clicking the Add New Article icon in the control panel or by clicking the New button in Article Manager. Suppose, however, that you don’t want this article to appear until December. To make sure of that, set the publication details in the Parameters - Article section on the right side of the article editor. To start publishing on December 1, 2009, at midnight, for example, enter 2009-12-01 in the Start Publishing text box (see Figure 6-17). Be sure to use yyyy-mm-dd format when you enter the date. Figure 6-17: Setting a date to start publishing an article. Stopping publishing in the future You can also end the publication of an article on a date in the future. To continue the example in the preceding section, perhaps the raffle ends March 2, 2010, so you’d want to stop publication on that date. That’s easy enough to do. To make Joomla end the publication of an article (or unpublish the article, taking it off the site), enter the stop date in the Finish Publishing text box of the Parameters - Article section (see Figure 6-18). 164 Part II: Joomla at Work Figure 6-18: Automati- cally ending publication of an article. Unpublishing now Finally, you can unpublish an article in the present — right now or an hour from now, for example. To unpublish an article in Joomla, follow these steps: 1. Click the Article Manager icon in the control panel or choose Content➪Article Manager in any back-end page to open Article Manager. 2. In the article’s Published column, click its green check mark to change it to a red X. Figure 6-19 shows the Privacy Policy article being unpublished. Unpublishing an article doesn’t remove the menu item that points to it, however. The menu item is still listed in its original menu, and if users click that item, they get an error page. So you have to unpublish the menu item as well. 3. To unpublish the menu item, click the Menu Manager icon in the control panel or choose Menus➪Menu Manager in any back-end page to open Menu Manager. 4. In the Published column of the appropriate menu item, click the green check mark to change it to a red X. You’ve unpublished both the article and its menu item. 165 Chapter 6: Mastering Web Page Creation Figure 6-19: Unpub- lishing an article in Article Manager. Now you’re ready to tackle a big topic: user interaction. One of the appealing things about Joomla sites is that they promote interaction, which means that users can submit their own articles to you. How you actually handle submissions is up to you. Making Your Joomla Site Interactive When it comes to being a back-end administrator, you’re all-powerful in Joomla. You can sweep down from the heavens and change just about anything on the site. Your power is enormous. But where does that leave the site’s users? Part of making a site grow is getting people involved; that’s how viral marketing works, for example. Joomla is up to the challenge. Three levels of users don’t have back-end privileges, but they can submit and work with the content in your site if you allow them to: ✓ Authors can submit articles. ✓ Editors can submit articles and make changes to them. ✓ Publishers can submit, change, and publish articles. 166 Part II: Joomla at Work Authors can submit articles, but someone in the back end has to approve them before they appear. Editors can submit and edit articles. And publishers can submit articles, edit articles, and publish them. (For more details on these roles, see “Authors and Editors and Publishers, Oh My!”, later in this chapter.) We’ve found that editors are more common than authors except on very large sites. Site administrators seem to like enabling users to edit site content, which saves the administrators all the trouble of doing it themselves. Adding and managing users To add users to your site and assign roles to them, you employ User Manager. Follow these steps: 1. Click the User Manager icon in the control panel or choose Site➪User Manager in any back-end page to open User Manager. 2. Click the New button. An Edit User page opens. 3. In the User Details section, enter the user’s name, username, e-mail address, and password. 4. To give the user author, editor, or publisher privileges, select the appropriate role in the Group list (see Figure 6-20). Figure 6-20: Creating a new author. 167 Chapter 6: Mastering Web Page Creation 5. Click the Save or Apply button. Creating new users is just that quick. The full details on User Manager are laid out in detail in Chapter 9, if you’re interested. To illustrate the discussion in this section, we created three new users: author, editor, and publisher, shown in User Manager in Figure 6-21. As you might guess, these users’ privilege levels match their names, as you see in the Group column. To let your new users submit content, you need an article submission page, which you create in the following section. Figure 6-21: Three new users: author, editor, and publisher. Creating an article submission page Article submission pages let authors, editors, and publishers write their own content and submit it. You create an article submission page by creating a new menu item that points to an article submission layout. 168 Part II: Joomla at Work Take a look at the default Joomla’s site’s front page, shown in Figure 6-22. A Key Concepts menu appears right above the login form that authors, editors, and publishers use to log in from the front end. You can add a menu item to the Key Concepts menu and link that new menu item to an article submission page. To create that new menu item in the Key Concepts menu, follow these steps: 1. Click the Menu Manager icon in the control panel or choose Menus➪Menu Manager in any back end page to open Menu Manager. 2. Click the icon in the Menu Item(s) column of the Key Concepts row. Menu Item Manager opens (see Figure 6-23). 3. Click the New button. The New Menu Item page opens. 4. Click Internal Link➪Articles➪Article➪Article Submission Layout (see Figure 6-24). The Article Submission Layout page opens. Figure 6-22: The Key Concepts menu. 169 Chapter 6: Mastering Web Page Creation Figure 6-23: Menu Item Manager. Figure 6-24: Creating an article submission page. 170 Part II: Joomla at Work 5. In the Menu Item Details section, enter a title in the Title text box, and select a setting in the Access Level list (bottom-left corner of Figure 6-25). Here are your access-level choices: • Public: Everybody • Registered: Logged-in users • Special: Authors, editors, publishers, and administrators 6. Click the Apply or Save button to create your new menu item. Congratulations — you’ve also created a new article submission page. Figure 6-25: Configuring a new article submission page. Viewing the link to the article submission page How do you access the new article submission page? If a casual user (without site privileges) looks at the menu, he won’t see anything special. For this example, he’d see just the same Key Concepts menu shown in Figure 6-22, earlier in this chapter. But if the user named author used the login form on the front page to log in, she’d find the new menu item in the Key Concepts menu (see Figure 6-26). Cool! 171 Chapter 6: Mastering Web Page Creation Figure 6-26: The new menu item, visible after login. Authors and Editors and Publishers, Oh My! In this section, we take a look at the capabilities enjoyed by the special users: authors, editors, and publishers. Different levels of users have different levels of options available to them. Authors can write articles Assuming that you’re logged in as an author, and you click the appropriate menu item, the article submission page appears. Then you can enter and edit text, as shown in Figure 6-27. Figure 6-27: Creating a new article. [...]... waiting (see Figure 6- 30) Chapter 6: Mastering Web Page Creation Figure 6- 29: Submitting a new article Mail icon Figure 6- 30: A new mail message for an administrator of a Joomla site 173 174 Part II: Joomla at Work The number next to the people icon in the top-right corner tells you how many people are logged on currently Click the mail icon to open the page you see in Figure 6- 31, and select the... you want; then click the Save button The changes are saved and appear on the site immediately Chapter 6: Mastering Web Page Creation Figure 6- 32: The Edit icon Figure 6- 33: Editing an article 175 1 76 Part II: Joomla at Work Sometimes when an editor tries to edit an article, he gets a message from Joomla saying that the article can’t be edited because someone else is already editing it — even if nobody... Banner➪Banners (refer to Figure 7 -6) Changing banner ads The available banner images are stored in the Joomla images/banners directory, and each image (usually in jpg or png format) is 468 pixels wide by 60 pixels tall To choose among the available banners when you’re editing Chapter 7: Fun with Modules a banner ad, click the ad’s name in Banner Manager (refer to Figure 7 -6) and then make a choice from... appear on Joomla pages In fact, even menus are modules in Joomla The chapters in Parts I and II of this book provide a tour of content handling in Joomla This chapter and the next one, however, cover modules All about Modules You handle modules in Joomla with Module Manager, which you open by choosing Extensions➪Module Manager in any back-end page Figure 7-1 shows Module Manager in the default Joomla. .. page Banner Manager opens (see Figure 7 -6) 2 Disable each ad you no longer want by clicking the green check mark in its Published column, turning the check mark to a red X 3 Click one of the remaining items to open it If you select the Joomla! item, for example, you see the page shown in Figure 7-7 187 188 Part III: Working with Joomla Modules and Templates Figure 7 -6: Banner Manager Figure 7-7: Editing... the first option in the Site Settings pane: Site Offline That setting is the one you want 177 178 Part II: Joomla at Work 2 Select the Yes radio button in the Site Offline section 3 Click Apply 4 Click the Save button Your site is down, and surfers see the message shown in Figure 6- 36 Figure 6- 36: The site is down Want to bring the site back up? Follow these steps: 1 Reopen the Global Configuration... can look for a Custom HTML module in Module Manager, but you’ll search in vain; you have to create it yourself Figure 7-15: Turning off the default editor 195 1 96 Part III: Working with Joomla Modules and Templates 2 Click the New button The New Module page opens 3 Select the Custom HTML radio button, and click the Next button The module administration page opens (see Figure 7- 16) Figure 7- 16: Adding... select right, left, and so on For details on using templates, see Chapter 9 185 1 86 Part III: Working with Joomla Modules and Templates Putting ads on certain pages So far, so good — but how do you set what pages the module appears on? You assign them in the Menu Assignment pane of the administration page (see Figure 7-4) Figure 7-4: Menu Assignment options You may be puzzled for a moment: You set what... Part III Working with Joomla Modules and Templates T In this part his part has fun with Joomla modules and templates Modules are those items that appear around the periphery of your page: menus, polls, newsflashes, banners, search boxes, custom HTML, and more Joomla comes with dozens of built-in modules, and this part of the book is where you master them We also cover working with Joomla templates in... module should appear You have these choices: 0::Main Menu 7::Login Form 2: :Joomla! Stuff 8::Archive 3::Key Concepts 9::Sections 4::User Menu 10::Related Items 5::Example Pages 11::Wrapper 6: :Statistics 12::Feed Display 5 In the Menu Assignment pane, set the menu(s) you want to link the Archive module to To link the module to the Main menu, for example, select the radio button marked Select Menu Item(s) . 162 Part II: Joomla at Work Figure 6- 16: Table of contents. In Figure 6- 16, notice that Joomla uses the article’s title as the title of the. Figure 6- 22: The Key Concepts menu. 169 Chapter 6: Mastering Web Page Creation Figure 6- 23: Menu Item Manager. Figure 6- 24: Creating an article submission page. 170 Part II: Joomla. waiting (see Figure 6- 30). 173 Chapter 6: Mastering Web Page Creation Figure 6- 29: Submitting a new article. Figure 6- 30: A new mail message for an admini- strator of a Joomla site.

Ngày đăng: 14/08/2014, 11:20

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan