Menggunakan Beberapa Theme Berbeda Pada Drupal

Category: Tutorial — Yogi @ 9:25 am —

DrupalTidak seperti Joomla, jika kita ingin menggunakan beberapa theme berbeda pada Drupal, kita harus menginstall modul tambahan. Modul yang kita perlukan adalah Taxonomy Theme, modul ini akan memungkinkan kita menggunakan theme yang berbeda berdasarkan vocabulary, taxonomy term, tipe node dan bahkan berdasarkan path URL.

Pertama-tama, Anda harus mendownload modul Taxonomy Term terlebih dahulu, kemudian ekstrak module tersebut ke direktori sites/all/modules/ (jika menggunakan Drupal 5.x). Login lah sebagai admin dan aktifkan modul tersebut dari Administer -> Site Building -> Modules.

Agar bisa menggunakan lebih dari satu theme pada situs Drupal kita, klik Administer -> Site configurations -> Taxomony Theme. Anda harus mengaktifkan “Enable Taxonomy-based templates” terlebih dahulu, kemudian Anda akan melihat option-option lainnya pada halaman yang sama.

Taxonomy Theme Options

  • Allow all themes
    Offers all installed themes for selection, not enabled ones only.
  • Enable ‘Extended’ (path-based) assignment of themes
    Enable you to assign themes to paths (e.g. node/21) and path aliases.
  • Enable ‘Themes for Views
    Allow you to theme pages created by views.module. You need to have ‘Extended’ option enabled to use this option. It will show a ‘Theme’ option in the ‘Page’ section of edit view pages.
  • Show theme option in create/edit node forms
    Assign themes directly from create/edit node forms. You need to have ‘Extended’ option enabled to use this option. It will show a ‘Theme’ section on create/edit node pages.
  • Show theme option on term/vocab/content-types pages
    Assign themes directly from term/vocab-pages in ‘categories’ and/or content-type settings.

(Maaf optionnya ga diterjemahin ke bahasa Indonesia, karena yang baca blog ini pasti dah jago bahasa Inggris-nya :p)

Aktifkan option-option yang Anda inginkan, dan sekarang Anda sudah bisa menggunakan theme yang berbeda berdasarkan vocabulary, taxonomy term, tipe node dan path URL.

Saatnya menjadikan web site atau blog Anda sebagai mesin penghasil uang!

Horaayy..there are 4 comment(s) for me so far ;)

#1  Add karma Subtract karma  +0 Gravatar

*gag ngerti elu nulis apaan*

:P

didats wrote on September 2, 2007 - 5:54 pm
#2  Add karma Subtract karma  +0 Gravatar

Hm… saya baru mulai mempelajari Drupal, pasti ini bermanfaat… thanks…

pupungbp wrote on September 5, 2007 - 7:48 pm
#3  Add karma Subtract karma  +0 Gravatar

bos ajarin gua drupal dikit - dikit yah biar lama - lama makin banyak.ok makasih.

maspiping wrote on September 13, 2007 - 1:32 pm
#4  Add karma Subtract karma  +0 Gravatar

Wow…thanks atas info nya…bos

AmruL wrote on November 25, 2007 - 4:39 pm

Do you want to say anything about this article?

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs are automatically generated. Off-topic or inappropriate comments will be edited or deleted. Email addresses will never be published. Keep it PG-13 people!

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.