Like Post feature in Joomla 1.0
Last Updated on Sunday, 04 April 2010 09:05 Written by Zack Sunday, 04 April 2010 08:58
Good Friday မွာရုံး ပိတ္ရက္ေလးရွိတုံး Post ေတြကို Like လုပ္လို႕ ရတဲ့ feature ကို Joomla မွာထည့္ ျဖစ္ခဲ့တယ္။ Facebook
မွာလိုမ်ိဳးေပါ့ comment မေပးပဲ Like လုပ္တဲ့ဟာမ်ိဳးေလးပါ။ ဒီ Joomla Article Like လုပ္တဲ့ extension ကိုလိုက္ရွာတာ မေတြ႔တာ နဲ႔ပဲ
AJAX သုံးျပီး ကိုယ္ဟာကိုယ္ေရးျပီး ထည့္လိုက္ပါတယ္။ Cross Browser အေနနဲ႔ ဆိုရင္ေတာ့ Chrome, Firefox, IE 7 and Safari
တို႔မွာ အလုပ္လုပ္ပါတယ္။ ခုဆိုရင္ ကြၽန္ေတာ္ Site မွာရွိေနတဲ့ Posts ေတြကို comment ေရးရမွာပ်င္းတယ္ ဆိုရင္ Like လုပ္လို႕ ရပါျပီ။
ကြၽန္ေတာ္ customize လုပ္ခဲ့တဲ့ Steps ေလးေတြကို share ေပးခ်င္ပါတယ္။ ေနာက္လူေတြလည္း သုံးမယ္ ဆိုရင္ အဆင္ေျပ ေစခ်င္
လို႕ပါ။
1) content table မွာ အရင္ဆုံး field တစ္ခုထည့္ ေပးဖို႔လိုပါတယ္။
2) ကိုယ္သုံးေနတဲ့ template မွာ ရွိေနတဲ့ template.css ကို Like မွာသုံးမယ့္ css ေလးေတြကို ထည့္ေပးရမယ္။
3) အဓိက customize လုပ္ရမွာ ကေတာ့ components\com_content ထဲမွာ ရွိေနတဲ့ content.html.php, content.php
တို႔ပဲျဖစ္ပါတယ္။
4) AJAX ကေန like count ေတြကို update လုပ္ဖို႔ သီးျခား php တစ္ file လိုပါတယ္။
Joomla 1.0 version အတြက္ လိုခ်င္ရင္ေတာ့ ကြၽန္ေတာ္ လုပ္ထားျပီး သားကို share ေပးႏိုင္ပါတယ္။ လိုခ်င္ရင္ေတာ့ comment မွာ
ေတာင္းလိုက္ပါ။ လိုအပ္ေနတာေတြ ရွိေနရင္လည္း အၾကံျပဳေပးဖို႔ ေတာင္းဆိုပါတယ္။
-
2010-04-09 05:18:49 |SAdministrator| admin - Re: oxygenkill
Yes bro, Currently I don't have for 1.5 version. Actually, I am not so familiar with 1.5 MVC architecture because this 1.5 components\com_content is totally different with 1.0 because 1.5 is fully support to MVC. I will check it first and write as another post for 1.5. But I am not sure when will be done because i am not feeling well at this moment so doctor ask me don't use computer so long time.

| < Prev | Next > |
|---|
Login Form
Latest Post
Categories Table View
- Reader's Conner (133)
- PHP (48)
- Joomla CMS (46)
- Codeigniter (18)
- jQuery (12)
- iDhamma (11)
- Mobile Development (10)
- PHP & AJAX (4)
- Apache (3)
- For Mac (3)
- mySQL (2)
- DhammaDroid (1)
ကုိဇက္ေရ
က်ေနာ္က 1.5သုံးတာခင္ဗ်
ျဖစ္ႏုိင္ရင္ 1.5 အတြက္လုိခ်င္ပါတယ္
ရမလာမသိဘူးခင္ဗ်