ถามตอบ ปัญหาการพัฒนา Extension ไม่ว่าจะเป็น Module plugin Component หรือ แม้แต่ template การปรับแต่งโค้ด Joomla ต่างๆ ทุกเวอร์ชั่น 1.5 2.5 หรือ 3.x
Moderator: mindphp, ผู้ดูแลกระดาน
-
moomai
- PHP Super Hero Member
- โพสต์: 680
- ลงทะเบียนเมื่อ: 07/12/2016 10:54 am
โพสต์ที่ยังไม่ได้อ่าน
โดย moomai »
สอบถามค่ะ ต้องการสร้าง Config ใน component แล้วไม่มีอะไรแสดงขึ้นเลย เป็นเพราะอะไรคะ ต้องแก้ไขยัง
มีการแก้ไขไฟล์ view.html.php
โค้ด: เลือกทั้งหมด
protected function addToolbar()
{
JToolbarHelper::title(JText::_('COM_MDCLAIM_CONTROL_PANEL'));
JToolbarHelper::addNew('add');
JToolbarHelper::editList('edit');
JToolbarHelper::deleteList('Are you sure?', 'delete');
JToolbarHelper::preferences('com_mdclaim');
JHtmlSidebar::setAction('index.php?option=com_content&view=articles');
JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_PUBLISHED'),
'filter_published',
JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true)
);
}
ก่อนที่ยังไม่ได้แก้
- 11.PNG (9.83 KiB) Viewed 589 times
ผลที่แสดง
The truth is not as elegant as the idea.
-
tsukasaz
- PHP VIP Members
- โพสต์: 21912
- ลงทะเบียนเมื่อ: 18/04/2012 9:39 am
โพสต์ที่ยังไม่ได้อ่าน
โดย tsukasaz »
ก็ไม่ต้องแก้อะไร เพราะปุ่ม config มีอยู่แล้ว
The last bug isn't fixed until the last user is dead. (Sidney Markowitz, 1995)
สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 45