Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Option button displaying JDom error in modal

some trouble 14 Aug 2014 07:43 #12581

  • pico
  • pico's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
hi

i have this error in menu link page i got this error(jdom 264) JDom Error : Not found : html.link.button.toolbar.link


any helps?

pico
The administrator has disabled public write access.

some trouble 18 Aug 2014 16:56 #12587

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
This is because you have the config button in the modal.

It is a problem... Cook should remove it automatically.
Open your context view file (view.html.php)

in the displayModal() function :
Remove this line :
// Config
if ($model->canAdmin())
	CkJToolBarHelper::preferences('com_xxxx');
Coding is now a piece of cake
The administrator has disabled public write access.

some trouble 19 Aug 2014 10:58 #12589

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Fixed.

You can regenerate.

Another alternative : You can include this file to you JDom tree :
github.com/Cook-Self-Service/JDom/blob/m...ton/toolbar/link.php
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.099 seconds

Get Started