Apress.Beginning.Joomla.2nd.Edition.2009.RETAiL.pdf

(23606 KB) Pobierz
Beginning Joomla!
Second Edition
Dan Rahmel
893433580.061.png 893433580.072.png 893433580.082.png 893433580.093.png 893433580.001.png 893433580.012.png 893433580.015.png 893433580.016.png 893433580.017.png 893433580.018.png 893433580.019.png 893433580.020.png 893433580.021.png 893433580.022.png 893433580.023.png 893433580.024.png 893433580.025.png 893433580.026.png 893433580.027.png 893433580.028.png 893433580.029.png 893433580.030.png 893433580.031.png
 
Beginning Joomla! Second Edition
Copyright © 2009 by Dan Rahmel
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-1642-1
ISBN-13 (electronic): 978-1-4302-1643-8
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Ben Renow-Clarke
Technical Reviewer: Stephen Burge
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Tony Campbell,
Gary Cornell, Jonathan Gennick, Michelle Lowman, Matthew Moodie, Jeffrey Pepper,
Frank Pohlmann, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh
Project Manager: Sofia Marchant
Copy Editor: Damon Larson
Associate Production Director: Kari Brooks-Copony
Production Editor: Elizabeth Berry
Compositor: Lynn L’Heureux
Proofreader: Linda Seifert
Indexer: Toma Mulligan
Artist: April Milne
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail kn`ano)ju<olnejcan)o^i*_ki , or
visit dppl6++sss*olnejcankjheja*_ki .
For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600,
Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail ejbk<]lnaoo*_ki , or visit
dppl6++sss*]lnaoo*_ki .
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our Special
Bulk Sales–eBook Licensing web page at dppl6++sss*]lnaoo*_ki+ejbk+^qhgo]hao .
The information in this book is distributed on an “as is” basis, without warranty. Although every precaution
has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to
any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly
by the information contained in this work.
The source code for this book is available to readers at dppl6++sss*]lnaoo*_ki .
893433580.032.png 893433580.033.png 893433580.034.png 893433580.035.png 893433580.036.png 893433580.037.png 893433580.038.png 893433580.039.png 893433580.040.png 893433580.041.png 893433580.042.png 893433580.043.png 893433580.044.png 893433580.045.png 893433580.046.png 893433580.047.png
 
Contents at a Glance
About the Author .................................................................xiii
About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Acknowledgments ................................................................ xv
CHAPTER 1
Introduction to Joomla! ..........................................1
CHAPTER 2
Quickstart: Setting Up a Joomla! Site in 20 Minutes ..............11
CHAPTER 3
Installation and Configuration ...................................61
CHAPTER 4
Adding Content ...............................................109
CHAPTER 5
Administering Joomla! ........................................147
CHAPTER 6
Creating Your Own Templates .................................189
CHAPTER 7
Joomla! Extensions ...........................................241
CHAPTER 8
Web Community Features .....................................269
CHAPTER 9
Site Statistics .................................................311
CHAPTER 10
Photo Gallery .................................................325
CHAPTER 11
Joomla! E- commerce .........................................355
CHAPTER 12
Search Engine Optimization and Joomla! .......................377
CHAPTER 13
Creating Extensions ...........................................397
INDEX .......................................................................413
iii
893433580.048.png 893433580.049.png 893433580.050.png 893433580.051.png 893433580.052.png 893433580.053.png 893433580.054.png 893433580.055.png 893433580.056.png 893433580.057.png 893433580.058.png 893433580.059.png 893433580.060.png 893433580.062.png 893433580.063.png 893433580.064.png 893433580.065.png 893433580.066.png 893433580.067.png 893433580.068.png 893433580.069.png 893433580.070.png 893433580.071.png 893433580.073.png 893433580.074.png 893433580.075.png 893433580.076.png 893433580.077.png 893433580.078.png
 
Contents
About the Author .................................................................xiii
About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Acknowledgments ................................................................ xv
CHAPTER 1
Introduction to Joomla! ......................................1
Content Management System Overview .............................3
Content Management System Adoption .............................4
Joomla! Benefits .................................................4
Joomla! Features ............................................5
How Joomla! Works ..........................................6
Differences Between Joomla! 1.0 and 1.5 ...........................8
Joomla! Ranked First for Online Communities ........................8
Conclusion ......................................................9
CHAPTER 2
Quickstart: Setting Up a Joomla! Site in 20 Minutes .....11
Installing Joomla! ...............................................12
Downloading the Joomla! CMS ...............................13
Extracting the Joomla! Files ..................................14
Uploading Files to Your Web Host FTP .........................15
Preparing Go Daddy for Joomla! ..............................18
Using the Joomla! Installation Wizard .........................24
Modifying the Joomla! Installation .................................35
Adding a New Article ........................................36
Editing the Main Menu ......................................40
Removing Modules .........................................43
Unpublishing Whole Menus ..................................45
Changing the Front Page Logo Graphic ........................46
Personalizing the Newsflash Text .............................52
Creating a Custom Poll ......................................54
Modifying the Pill Menu .....................................57
Conclusion .....................................................59
v
893433580.079.png 893433580.080.png 893433580.081.png 893433580.083.png 893433580.084.png 893433580.085.png 893433580.086.png 893433580.087.png 893433580.088.png 893433580.089.png 893433580.090.png 893433580.091.png 893433580.092.png 893433580.094.png 893433580.095.png 893433580.096.png 893433580.097.png
 
vi
N CONTENTS
CHAPTER 3
Installation and Configuration .............................61
File and Directory Overview .......................................62
Installing with XAMPP ............................................65
XAMPP Components by Operating System .....................66
Installing the Individual Servers of WAMPP/LAMPP/MAMPP ...........71
Installing and Configuring the Apache Server ...................72
Installing and Configuring PHP ...............................80
Installing and Configuring MySQL .............................84
Setting Up File and Folder Permissions ........................96
Installing the Joomla! Files .......................................97
Troubleshooting .................................................97
Challenges with the Apache Server ...........................98
Challenges with PHP .......................................100
Challenges with MySQL ....................................102
Conclusion ....................................................106
CHAPTER 4
Adding Content .............................................109
Planning Your Content ..........................................109
Joomla! Sections and Categories ............................109
Uncategorized or Static Content .............................112
Documenting Your Organization Plan .........................112
Reincarnating a Web Site (EyeVesting) in Joomla! ..................119
Creating Sections and Categories .................................121
Deleting the Sample Articles, Categories, and Sections .........121
Adding New Categories and Sections .........................123
Selecting a Text Editor ..........................................124
A Tale of Two Editors: TinyMCE and XStandard Lite ............125
No Editor .................................................127
Adding Articles .................................................128
Setting the Basic Article Parameters .........................128
Setting the Advanced Article Parameters .....................129
Setting the Article Metadata Information ......................131
Adding an Article to Your Site ...............................132
Adding a Second Article ....................................135
Adding Menus to Point to Content ................................137
Creating a Direct Menu to the Uncategorized Article ............137
Displaying the Category Menu ..............................140
Installing a New Template .......................................141
Collaborating with Outside Contributors ...........................144
Conclusion ....................................................146
893433580.098.png 893433580.099.png 893433580.100.png 893433580.101.png 893433580.102.png 893433580.002.png 893433580.003.png 893433580.004.png 893433580.005.png 893433580.006.png 893433580.007.png 893433580.008.png 893433580.009.png 893433580.010.png 893433580.011.png 893433580.013.png 893433580.014.png
 
Zgłoś jeśli naruszono regulamin