Jump to content

เพิ่มไฟล์ tpl อีกอันใน blockuserinfo โมดูล แล้วมันไม่แสดงภาษาไทย


AonzZung

Recommended Posts

อันนี้ เป็น method ที่ผมเพิ่มเข้ามาใน blockuserinfo
เพื่อเรียก blockuserinfo-topmost.tpl ที่ผมสร้างขึ้นมาใหม่
มันดันไม่แสดงภาษาไทย

function hookTopmost($params)
   {
               ...
               โค้ด ส่วนอีกเหมือนกับฟังชั่น hookTop อันเดิม
       ...
       return $this->display(__FILE__, 'blockuserinfo-topmost.tpl');
   }



ปรากฏว่าลองเปลี่ยนไปเรียก blockuserinfo.tpl มันดันแสดงภาษาไทยได้แฮะ >_เลยสงสัยว่าผมต้องทำไรอีกป่าวคับถ้าจะเพิ่มไฟล์ tpl เข้ามาใน module

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...