May 31, 2010

Working With Components - Joomla

A number of components have been installed on your site for increased functionality. In this section you will learn how to work with those components to add a Contact Us page, an Events Calendar, a Photo Gallery, and an Audio Gallery. Using these components is optional and can be applied to your site when and if you desire. The components do not have to be added in any particular order. If you do not wish to apply the component functionality to your site.


Contact Us
  1. From the control panel in the back end of your site, and the row of menu items across the top, choose Components < Contacts < Contacts.

  1. Click the new button.
  2. Type in a Name and select the category, Contacts.
  3. Type in the Information you want for your contact at your discretion.
  4. From the Contact Parameters section on the right hand side, choose to hide or show the fields listed.
  5. Click on the Email Parameters section and modify as desired.
  6. When satisfied, click the Save button.
  7. In order for your Contact component to show on the front end of your site you must publish the menu link that has already been established for it.


    1. From the Control Panel and the row of menu options across the top, choose Menus < Main Menu (Supported, Managed and Custom sites may choose another menu option to place the Contact category in).
    2. Locate the menu item Contact Us .
    3. Click on the red x under the Published column to turn it into a green checkmark. This will effectively publish the menu item so it will appear in the menu listing on the frontend of your site.
  8. Go to the front end of your site. Refresh the window and see your Contact Us link.


Photo Gallery
A Photo Gallery can be likened to a photo album that you might have on your bookshelf at home. The RSGallery2 component allows you to set up a limitless number of photo galleries with numerous photos in them.
TWH has already established one photo gallery for you called 'Photos' (there are instructions below to create additional galleries) so your first step is to upload images to your gallery(s). Before doing so, be sure to photo shop your images (crop and enhance) in a photo editing software program. Re-sizing is not necessary as the RSGallery2 component will auto size all the images.
At this time you may also zip several images that belong in the same grouping, together into one file. This will make the uploading process much easier.
Batch Upload
  • If you have zipped several images into one file, click on the Batch Upload icon.
  • Browse for the zip file
  • Select a Gallery or select "specify a gallery per image in step 2"
  • Click Next.
  • Patiently wait for the file to upload. It may take some time depending on the size of the file.
  • Add titles and descriptions to images if desired.
  • Click Next.
Single Upload
  • For single images, click the Upload icon.
  • Select a gallery you wish the image to go into.
  • Type in a general description if desired.
  • Type in a Title for the image if desired
  • Browse for the image.
  • Click "more files" to upload more single images, and repeat the process until you are finished.
  • Click the "Upload" button. Wait patiently for files to upload. It may take some time depending on the number of files.

Next you will publish the menu link already created for your 'Photos' gallery to link it to the frontend of the site.
From the Control Panel and the row of menu options across the top, choose Menus < Main Menu
  • Locate the menu item called Photos
  • Click on the red x under the publishing column to turn it into a green arrow. This effectively 'publishes' the menu item so it will show on the menu bar on the frontend of your site.
Go to the front end of your site. Refresh the window and see your Photo Gallery link.
You may create additional photo galleries within the 'Photos' gallery. To do so:
  1. From the control panel in the back end of your site, and the row of menu items across the top, choose Components < RSGallery2 < Galleries.
  2. Click the New button.
  3. Type a description into the text box if desired.
  4. From the 'Parent Item' box, choose 'Photos'
  5. Click the Save button.
  6. Add items (photos) to the galleries at any time using the uploading methods above.

Slideshows
This feature utilizes the RSGallery2 component. It will allow you to create a slideshow in any Article. You may want to create a new Article for this or use an existing one.
Follow the instructions below:
Configuring RSGallery2 for uploading the slideshow images.
  1. From your administration site, go to: Components < RSGalery2 < Control Panel. Choose the Configuration Button
  2. Click on the Images tab
  3. Then depending on where you will be displaying your slideshow, set the picture width. If your slideshow will be in an Article and you want your slideshow to cover the entire width of your site, depending on how wide your main content area is on your site, you will want to choose a width of anywhere between 400 and 650 pixels. If you are putting the content into a smaller space like a side module you will want to choose a width of 100 - 150 pixels. If you are unsure of the width, start will a smaller size and upload just one image into the Gallery as per below. If you are happy with the upload, continue, if not, delete the image and reconfigure as above.

Uploading Images into the Gallery
  1. From the RSGallery Control panel, choose either Batch Upload (for a zip file of images) or Upload to upload individual images.
  2. Browse, name, describe and upload according to on screen instructions.
Inserting the Slideshow into a Content Item
  1. Go to the Article you wish to insert your slideshow into.
  2. With your mouse, click at the place where you want the slideshow to be.
  3. Insert the following code substituting your gallery ID number you have noted (from step 4 above) for the letters GID: {rsg2_display: slideshowone, GID, cleanStart=1}
  4. Save your changes.

Audio
Files uploaded to this component are required to be in MP3 format and should be approximately 20 MB in size.
NOTE: The MP3 file must be encoded at 44.1 kHz, or 22.05 kHz, or 11.025 kHZ; any other sampling rate may result in the "chipmunk effect.
Save MP3 files on your computer, then proceed to upload files to the component:
  1. Login to your administration site.
  2. Go to Components < RSGallery2 < Upload
  3. From the Select Gallery drop down box, choose Audio
  4. Type in a name for your audio file and a description of the file.
  5. Browse for your MP3 file.
  6. Click the 'Upload' button. Uploading may take some time depending on the file size. Please be patient.
  7. Go back to the Gallery Manager showing the listing of galleries.
At this point you must publish the menu link that has already been established for your audio component so it will show in the menu listing on the frontend of your site.
  • From the Control Panel in your Administration Site, choose Menus < Main Menu
  • Locate the menu item called Audio
  • Click on the red x under the Published Column to publish the menu item
To add additional mp3 files to your audio gallery at a later date, repeat steps 1 - 7 above.

Events  List
Coming Soon.......

Polls
A poll is added to your site by first creating the poll then module for it to display in on the front end of your site.
Create A Poll
  1. Login to your administration site
  2. From the Control Panel and the horizontal Menu Bar, choose Components < Polls
  3. Click the New button
  4. Under the Details section, type in a Title (ie. What do you like about our site?) for your poll and choose 'published'
  5. Under the Options section, type the options to the question (ie. nice layout, easy to use....)
  6. Click the 'Save' button
Create a Module
  1. From the Control Panel and the horizontal menu bar, go to Extensions < Module Manager
  2. Click the 'New' button
  3. From the selection listed, choose 'Poll'
  4. Click the next button
  5. In the 'Details' section, type in a Title for your poll and choose a position for your polls module using the module layout diagram as your guide.
  6. From the 'Parameters' section, choose the poll you created from the 'poll' dropdown box.
  7. Click the 'Save' button.
Go the front end of your site. Refresh and see your poll.


Reordering Front Page Content and Menu Items - Joomla

At this point you have developed one or more front page articles and one or more articles linked to menu items. In this step you will learn how to reorder these items.
Front Page Articles
Any of the articles that you have designated to "show" on the front page can be rearranged so that they show in a particular order on the front end of your site.
  1. From the control panel in the back end of your site, click on the Front Page Manager icon. You will see all of the articles currently on the front page of your site.
  2. Under the Order column, order by number each of the articles in the order you wish them to appear. Then click the little Save icon next to the word Order.

Menu Items
  1. From the control panel in the backend of your site, and the row of menu items along the top, click on Menus < Main Menu. You will see all of the menu items currently showing in the menu bar of your site on the left hand side.
  2. Under the Order column, order by number each of the menu items in the order you wish them to appear. Then click the tittle Save icon next to the word Order.

Adding Content To Your Site Using Articles - Joomla

Next you will learn how to create content (articles) on your site and link them to menu items.
Articles are contained within Categories and then Sections, or they are 'uncategorized'. To best understand this concept, think of a Section as a filing cabinet, a Category is a drawer within the filing cabinet and an article is a document in the drawer. Uncategorized articles are like documents outside of the filing cabinet. With this illustration in mind, you will probably want just one section and a couple of categories to start.
The Articles you create can either be designated to "show" on the front page (the page that shows when your site opens) or be linked to menu items (other pages of your site).
The next steps will help you create a section, a category, an article and finally a menu link. You will also learn how to have your article "show" on the front page.




Sections
  1. From the control panel in the administration site, click on the Section Manager icon.
  2. You will see that there is one section already there called 'news'. You might decide that one section is adequate to start or that you would like to create another one. If this one is sufficient skip to Categories below.
  3. To create a new Section. Click the New button. Type in a Title. Click the Save button.

Categories

  1. From the control panel in the administration site click on the Category Manager icon.
  2. You will see there is one category already there called Miscellaneous. You might decide this one category is adequate to start. If so skip to the next section called Articles.
  1. To create a new Category, click the New button. Type in a tile for the category. Click the save button.

Articles

Now you are ready to add articles (content).
  1. From the Control Panel in the administration site click on the Add New Article icon.
  1. Type in a Title for the Article.
  2. Choose a Section and Category for the Article to go in, or choose Uncategorized.
  3. At this point you will choose if you want your article to appear on the front or home page of your site, or if you want your viewers to click on a menu item to access the article. if you want this article to be on the front page of your site, Click "yes" on the "show on front page" option. If you want this article to be linked to a menu item under the Main Menu, click "no".
  4. Type the content of your article in the text box below the text editing tools. You may also copy/paste content into the text box but please be aware that when copy/pasting anything other than plain text - such as tables, lists or text with unusual fonts - from another application such as MS Word, you will most likely experience formatting issues. For this reason we recommend that you produce articles with lists or tables directly in the text box rather than copying them from other sources. Feel free to utilize the Text Editing Tools to enhance your content.
  1. If you would like to insert an image into your article, please see the directions in the section called Inserting Images.
  2. Click the save button when you have completed your article.

Menu Links

If you have created an article and not chosen to show it on the front page, you will need to create a menu link so that the article will be accessible on the front end of the site by clicking on a menu item.
  1. From the Control Panel and the row of menu options across the top, choose Menus < Main Menu (Supported, Managed and Custom sites may choose other menu options to link the article to).
  1. Click the New button.
  2. Click on the word, Articles then Article Layout


  1. Type in a title for your menu link. Make the title the same as the article name that you are linking it to.
  2. In the Parameters - Basic box, click on the Select button.
  3. Choose the article you want to link to from the selection.


  1. Click the Save button.

You have now created a Section, Category and Article with a link to a menu item. Go to the frontend of your site. Refresh the window and see your addition.

Editing Sections, Categories, Articles and Menu Items.

You may edit the names and/or content of Sections, Categories, Articles and Menu Items at any time by going to the administration site and clicking on the appropriate item.

Change Your Site Name - Joomla

The name of your website displays in the title bar of your browser, the copyright at the bottom of your site, and a few other miscellaneous places. Your site is presently named Free Site. To change your website name:
  1. Login to the backend of your site using the username and password you have set up for yourself.
  2. From the control panel, click on the 'Global Configuration' icon (last icon on the bottom row

  3. in the 'Site Name' text box, type in the name of your organization (church, company, etc)
  4. click the Save button.

    That's it!!!

How to install Joomla in Localhost on WAMP

1. Download wamp server and install it to your computer. (google it!)
2. Download latest Joomla and unpack it and rename the folder to "joomla"!
3. Browse wamp directory and find the www  root directory, place the "joomla" directory here!
4. Access in your web browser bar: http://locallhost/joomla . You will see the installation page.
5. Click next and enter the database details.
You need to create a database in the wamp Control Panel, accessing the phpmyadmin . For example, call your database "joomla"
In the installation page you will see:
Host name : localhost
Database name : joomla
User Name : root
Password : just lieve it blank
6. Click next, and complete the administrator login information. Finish the installation.
7. Go to the joomla folder (C:/wamp/www/joomla), and delete the installation directory.
8. Reload your web browser (http://localhost/joomla) and you will see your new joomla localhost frontend of website.
..
..Enjoy!!!...

OR You can view video given below..
View the video - http://www.youtube.com/watch?v=LL5D4NKuVA8&feature=related

How to add Extensions/Plugins using Magento Connect Manager in Magento


Step 1: Login to the Admin panel of Magento.
Step 2: Then navigates the following links tab…
System->Magento Connect->Magento Connect Manager
It shows the login panel , plz login using the Admin credential as you previously used.
Step3: now Paste extension key to install and click on the install button.
That’s it…
Note: please logout once after the installation finished and login again.  
















Create Zend framework Application using wamp server

step 1 : Create virtual domain .
open C:\WINDOWS\system32\drivers\etc\host file
add this line 127.0.0.1 myalbum.com at the end .
myalbum is ur domain name u can change it.

2 : now open E:\wamp\bin\apache\apache2.2.8\conf\httpd-vhosts.conf
add line as below

# ur domain
NameVirtualHost myalbum.com

ServerName myalbum.com
ServerAlias myalbum.com
DocumentRoot C:/Sites/zf_tutorial

note: DocumentRoot is ur application root

3 : create app directory structure as i created

-zf_tutoria
-application
-controllers
-create All controller file here e.g IndexController.php
-forms
-create all forms file here e.g LoginForm.php
-models
-create all models here e.g User.php (for db handling)
-views
-scripts
-index
-create script file e,g index.phtml
-filters
-create filters here if need
-helpers
-create helpers file here if need
-data
-php
-create data php file e.g contact.php if need
-xml
-create data xml file e.g contact.xml if need
-text
-create data txt file e.g contact.txt if need
-library
-Zend
-copy from ZF\Zend\library\Zend folder here which contains all api and classes(download it from google)
-My
-Validate
-here u can put ur custom clas e.g class My_Validate_PasswordConfirmation
-public
-css
-js
-images

4 : write logic inside ur application and run url as we created above:myalbum.com on browser

note:yes there are some php and apche setting of wamp server we has to do here: you can refer the

Zend Installation setting with Snap Shots Article

added above...
`

May 27, 2010

Installing on Windows with XAMPP and WAMP

This is tested on both XAMPP (http://www.apachefriends.org) and WAMP (http://www.wampserver.com):

Note: on XAMPP the apache directory is just apache while on WAMP the directory is apache2 (please change the instructions below accordingly)

Note: check version of PHP, which you will use. Magento not work with PHP 5.3

(For XAMPP, use XAMPP for Windows Version 1.7.1)

Steps:

1) ** Download and Install (place Magento files as references in installation instructions)

2) ** Setup Database using phpmyadmin (go to: http://localhost , there will be a link on the left to go to phpmyadmin)

3) ** Edit apache/conf/httpd.conf change line:

#LoadModule rewrite_module modules/mod_rewrite.so

To

LoadModule rewrite_module modules/mod_rewrite.so

(Just remove the # )

4) ** Edit apache/bin/php.ini and php/php.ini (same changes on both files - note, as of XAMPP 1.7.1, you will only have to change php/php.ini) change lines (the first change is not necessary on xampp):

; Extension=php_mcrypt.dll

To

Extension=php_mcrypt.dll

And changes lines:

; Extension=php_curl.dll

To

Extension=php_curl.dll

(Just remove the ; )

4a) ** On WAMP you must also change the following line in apache2/bin/php.ini and php/php.ini changes lines:

; extension=php_pdo_mysql.dll

To

Extension=php_pdo_mysql.dll

(just remove the ; )

In addition to **php_pdo_mysql.dll**, you may also need to make sure you are loading: extension=php_pdo.dll

5)** There is a bug in Windows’ php_pdo_mysql implementation. It is possibly related to this bug documented here: http://bugs.php.net/bug.php?id=39759 and here: http://bugs.php.net/bug.php?id=39858 . Workarounds could be:

* using ODBC (will be described how to apply in Magento later)

* download http://www.nolimitclubbing.com/lib_php/php_pdo_mysql.dll (mirror for the file mentioned in bug comments) and add this file to your phpext directory

**Warning:broken link.**

* Wampp has a version of libmysql.dll that works fine. Download here [[http://www.apachefriends.org/en/xampp-windows.html]] If you prefer Xampp over Wampp, simply copy the good libmysql.dll from your wampp installation into your xamppapachebin directory.

//Note above file is linked by a community member, [[http://www.magentocommerce.com/boards/member/231/|FrenchToast]] and the current download above is hosted by [[http://www.magentocommerce.com/boards/member/448/|Xavier ETCHEBER]]. While there has been no problems with this file it has not been fully verified//

6)** Restart all servers

7)** Goto: http://localhost/magento/install (replace the above "magento" with where your installation was extracted to)

8)** On page 2 "Configuration" change database as needed and change Secure Connection to: (XAMPP actually supports SSL over port 443 - so this step is not needed if you want to test SSL)

Secure Host: localhost (could be different)

Secure Base Path: /magento/ (also could be different)

Secure Protocol: http

Secure Port: 80

9)** Continue with install, all should be good!

** ******** ******** *** NOTE ***** ********** *****************

If you can't login to the administration panel after installation, that's because there's a cookie problem. Add these lines:

127.0.0.1 magento.localhost.com www.localhost.com

to:

C:/Windows/System32/drivers/etc/hosts (edit this file in notepad)

Then go to www.localhost.com/

** Additional Resources **

A 4 page PDF guide can be found at http://ainove.com/docs/Magento_Installation.pdf - courtesy of user bradgman (**Warning: BROKEN LINK**)

Additional information on installing XAMPP and Magento, including video demonstrations, can be found at http://ipicdg.com/EC/

Known Issues

Magento was developed on Linux and as such, it is most tested on this platform. Here are some known issues that may result from the use of other operating systems.

1. Under Windows, image uploads may not work at this time:

here's a fix (from http://www.magentocommerce.com/boards/viewthread/2384/):

________________________________________________________________

login to backend using FireFox, you will resolve this issue.

________________________________________________________________

go to System -> Configuration -> Catalog, then under Image Configuration

Category upload url - /media/catalog/category/

Product upload url - /media/catalog/product/

rename to:

Category upload url - /RootFolderName/media/catalog/category/

Product upload url - /RootFolderName/media/catalog/product/

RootFolderName matches your folder you've installed magento in

Example:

my installation is located:C:/wamp/www/magento

so my rootfoldername is magento!!

Category upload url - /magento/media/catalog/category/

Product upload url - /magento/media/catalog/product/

image upload should work know and you can start working offline