ក្នុងបណ្ដាពុម្ពទាំងឡាយរបស់ជុំឡាតែងភ្ជាប់មកជាមួយនូវទីតាំងម៉ូឌុលជាច្រើនផ្សេងៗគ្នាដូចជា៖
- debug (ទីតាំងបង្ហាញកំហុស)
- breadcrumb (ទីតាំងទំព័រ)
- footer (បាតកឋា)
- left (ឆ្វេង)
- right (ស្ដាំ)
- syndicate
- user1-2-3...
- top (កំពូល)
- ...
ប៉ុន្តែក្នុងចំណោមទីតាំងទាំងនោះអាចពុំមែនជាទីតាំងដែលសមតាមបំណងលោកអ្នកប្រាថ្នាចង់បាន ។
ខាងក្រោមនេះយើងនឹងបន្ថែមទីតាំងម៉ូឌុលមួយឈ្មោះថា "jf-lang-selection" ក្នុងគោលបំណងសម្រាប់ដាក់ម៉ូឌុលជ្រើសរើស ឬប្ដូរភាសារបស់ សមាសភាគជុំឡាមួយឈ្មោះថា JoomFish ។
កែសម្រួល index.php របស់ពុម្ពជុំឡាដោយបន្ថែមទីតាំងម៉ូឌុលថ្មី
- កត់ត្រាចូលឆាកខាងក្រោយរបស់ជុំឡាអ្នក
- សមាសភាគ (Extensions) → កម្មវិធីគ្រប់គ្រងពុម្ព (Template Manager)
- ត្រង់ឈ្មោះពុម្ព (Template Name) សូមចុចលើឈ្មោះពុម្ពណាមួយដែលអ្នកចង់បន្ថែមទីតាំងម៉ូឌុល (ឧទា. rhuk_milkyway) រួចចុចលើប៊ូតុង កែសម្រួល HTML (Edit HTML)
បន្ថែមកូដម៉ូឌុលថ្មីទៅក្នុង index.php របស់ពុម្ពជុំឡា
សូមបន្ថែមកូដខាងក្រោមនៅកន្លែងដែលសមគួរក្នុងចន្លោះរវាង <body>...</body> (ស្ថិតក្រោមម៉ូឌុល user4)
ក្នុងករណីដែលអ្នកពុំបានប្រើប្រាស់ទីតាំងបង្កើតថ្មីនេះ ឬពុំបានចាត់តាំងម៉ូឌុលនេះឱ្យបង្ហាញនៅម៉ឺនុយមួយចំនួន ពេលនោះវានឹងបង្ហាញកូដដូចខាងក្រោម៖
ហេតុដូចច្នេះដើម្បីជៀសវាងការផ្ទុកកូដម៉ូឌុលចុះ ដោយឥតប្រយោជន៍ក្នុងករណីខាងលើយើងអាចបន្ថែមដូច PHP ដូចតទៅ៖
មានន័យថាក្នុងករណីពុំមែនវត្តមាននៃទីតាំងម៉ូឌុល jf-lang-selection ទេ នោះនឹងពុំបង្ហាញកូដដែលពុំចាំបាច់ឡើយ ។
ពន្យល់អំពីរចនាប័ទ្មក្នុងជួរ "inline style" ដែលបានប្រើ
- style="position: fixed; /*មានទីតាំងនៅនឹងថ្កល់មួយកន្លែង បើទោះជាប្រើរបាររមូរចុះឡើង*/
- right: 0; /*ស្ថិតនៅខាងស្ដាំមានគម្លាតសូន្យពីរបាររមូរខាងស្ដាំ*/
- top: 45%; /*គម្លាតពីផ្នែកខាងលើនៃកម្មវិធីរុករកគឺ ៤៥%*/
- visibility: visible; /*អាចមើលឃើញ*/
Last Updated on Wednesday, 13 October 2010 23:05


Comments
How to add/change Khmer language flag for JoomFish
I followed the instructions at http://km-kh.com/tutorial/joomla/38-joomfish/56-khmer-flag-in-joomfish. I can see the exact same results as shown in that page. but the flags STILL NOT SHOW on frontpage, frontpage just shows a TEXT link, not the flag. What am I doing wrong??
BR
Peter G.
Thailand
Please try to upload the km.gif into {yourjoomlarootfoler}/components/com_joomfish/images/flags At Joomla back-end :: Components :: Joom!Fish :: Languages :: Image filename for Khmer (Cambodia) [leave this blank, not km.gif]
More details please read: Khmer Translation for Joom!Fish on Joomla.org Khmer Forum
NOte: If you are a club member of Joomfish, you are able to access JoomFish2.2.0.zip where Cambodia Flag included.
I hope this could give you some help
Thanks for responses and trying to help. No, I found that flag file kh.gif will not work, and it had me spinning for hours. The CRITICAL piece of information here is to FTP the flag image file km.gif, (and NOT kh.gif) to the flags directory components/com_joomfish/images/flags. After that, the flag will show on the front page the same as all other flags for installed languages.
BR
Peter G.
Thailand
ខ្ញុំមានបញ្ហាដាក់ភាសារនៅលើJoomla 1.7 ។វាមិនបង្ហាភាសារដែលត្រូវជ្រើសរើស ទោះបីខ្ញុំចូលទៅកំនត់ ម៉ូឌុល វាកដោយ។ ហើយចំពោះJoomla 1.6 វាអត់បង្ហាញទង់ជាតិទេ វាបង្ហាញជាអក្សរវិញ។ សូមបងជួយបង្ហាញផង អរគុណ
RSS feed for comments to this post