Showing posts with label content. Show all posts
Showing posts with label content. Show all posts

Friday, June 5, 2009

Install FCK editor

FCKeditor is a great tool for you to make page layout. You don't want to make a page with many different fields like images/links/bullets/font style and so on. FCK editor helps to format your page. The text area input box will become the Word-like editor for easy formatting.
To install it, download Drupal module from Drupal website. Extract it to sites/all/modules as usual. However, the fckeditor contains another folder called fckeditor. What to put inside this secondary fckeditor?
Download the actual FCKeditor files to fckeditor/fckeditor. (http://www.fckeditor.net/download). It is suggested to remove the _sample/ directory when copying.
After that, install the module. You'll see admin/site config/FCKeditor when finish.

Thursday, June 4, 2009

The Making of gallery



Way to make a simple gallery. First, download the Image module from Durpal website. In admin/site config/, you'll find the one of "Images". Select "Image import".

Then, input the correct path which contain the pictures you wanna include in your gallery. Note the photos there will be removed away after Drupal copy them to sites/default/files/images. Press save config if ready.


Then, click "import" from the message box and you'll see a list of pictures you've just uploaded. Add title (title of the page, displayed on top of page and on browser top) and body (i.e. text below the picture)


Select the photo gallery (i.e. the album) to include all of these pages.


You can click on the links to see how the pages look.


* To create a gallery (i.e. an album), click: Admin/Content Management/Image galleries/Add galleries
** Root gallery can include its child galleries. Remember to mark the root gallery for the children. (Ref. site addr: http://localhost/drupal-6.12/image)
*** To set the thumbnail's size, click: admin/site config/images/files and sizes

CCK - Content type

After installed with CCK, I can create my own content type. For example, if I want to make a gallery. Inside the gallery, I'll have each discrete page such that a picture is followed by a short description. I could create a content type called "Picture" and include a image field.

In fact, I could install another module: "Image". This does the task I described. After installed such module, click Create content/image




Wednesday, June 3, 2009

Make an index page

For every website, there's an index page. Many ways to do this in Drupal. What I use is like this:

1. Go to Create Content/Page
2. Input the title, body for this page.

3. Under publishing options, select Promoted to front page

4. Click Save


When you press Home again, you'll be directed to the page you just made