//
you're reading...
TUTORIAL

Cara menambahkan posisi modul baru dalam template joomla

Kadang-kadang kita perlu membuat posisi module baru di template joomla. Dalam tutorial ini kita akan membiarkan Anda tahu bagaimana untuk menambahkan posisi modul baru dalam template joomla yang ada.

Pada awalnya goto Template direktori Anda dan buka file index.php template keinginan Anda dengan editor teks apapun, kami sarankan Notepad + + .

Cari posisi yang cocok di mana Anda ingin menempatkan posisi modul baru. Seperti Anda ingin menambahkan posisi modul baru setelah “breadcrumb” di template.To rhuk_milkyway melakukan ini, menemukan baris dalam file “<div id=”whitebox”>” dan sebelum itu

baris berikut masukkan kode “<div id=”mynewposition”>

<jdoc:include type=”modules” name=”mynewposition” />
</ Div> “seperti yang ditunjukkan di bawah ini:

1.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><div id="pathway"></span> <div id="pathway"></span>
2.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><jdoc:include type="modules" name="breadcrumb" /></span> <jdoc:include type="modules" name="breadcrumb" /></span>
3.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"></div></span> </ Div></span>
4.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><div class="clr"></div></span> <div class="clr"> </ div></span>
5.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><div id="mynewposition"></span> <div id="mynewposition"></span>
6.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><jdoc:include type="modules" name="mynewposition" /></span> <jdoc:include type="modules" name="mynewposition" /></span>
7.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"></div></span> </ Div></span>

Sekarang buka file “/ templates / rhuk_milkyway / templateDetails.xml” untuk mengedit dan menemukan “” bagian dari file. Tambahkan entri baru untuk “mynewposition” seperti yang ditunjukkan di bawah ini:

01.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><positions></span> <positions></span>
02.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>breadcrumb</position></span> <position> breadcrumb </ posisi></span>
03.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>left</position></span> <position> kiri </ posisi></span>
04.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>right</position></span> <position> kanan </ posisi></span>
05.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>top</position></span> <position> atas </ posisi></span>
06.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>user1</position></span> <position> user1 </ posisi></span>
07.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>user2</position></span> <position> user2 </ posisi></span>
08.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>user3</position></span> <position> user3 </ posisi></span>
09.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>user4</position></span> <position> user4 </ posisi></span>
10.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>footer</position></span> <position> footer </ posisi></span>
11.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>debug</position></span> <position> debug </ posisi></span>
12.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>syndicate</position></span> <position> sindikat </ posisi></span>
13.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><position>mynewposition</position></span> <position> mynewposition </ posisi></span>
14.<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"></positions></span> </ Posisi></span>
Semoga Bermanfaat…..

About Joko Saputro

KUMPULAN ARTIKEL UNTUK PRIBADI MAUPUN UMUM. SEMOGA BERMANFAAT.DAN JANGAN LUPA ADD FACEBOOK !

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Pengunjung

  • 12,053 Sejak 3 Januari 2013

Categories

Masukkan alamat surat elektronik Anda untuk mengikuti blog ini dan menerima pemberitahuan tentang tulisan baru melalui surat elektronik.

Join 1 other follower

Blog yang Saya Ikuti

Facebook

The WordPress.com Blog

The latest news on WordPress.com and the WordPress community.

%d bloggers like this: