Forum
Welcome, Guest
  • Page:
  • 1

TOPIC: ?php HTML_SOBI::editButtons($config,$m missing??

?php HTML_SOBI::editButtons($config​,$m missing?? 2 years, 7 months ago #435

  • 3vil3d
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Where does <?php HTML_SOBI::editButtons($config,$mySobi); ?> line in sobi2.vc.tmpl.php come from?

Line 36 on page 13

It's not in the original as ref'd in the install doco - and yet also isn't mentioned as a line to install... assume I need to add it - and you've overlooked it in the instructions?

Ed

Re:?php HTML_SOBI::editButtons($config​,$m missing?? 2 years, 7 months ago #439

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
Line 36 in the modified picture equates to line 36 and 37 in the before picture. There are a couple of different ways to show the edit buttons in SOBI.

What happened here is that the after picture was updated when some code changed and the version that was being updated used the intrinsic function rather than echoing the buttons separately (as the before image does).

Our code is highlighted and should be all you have to add. The edit buttons are optional based on settings in your config.

Jerry
  • Page:
  • 1
Moderators: jasper, nicholas, henry, jerry
Time to create page: 0.45 seconds

Login