C

Need help with some code

  • Thread starter Thread starter CipherX
  • Start date Start date
C

CipherX

Guest

I am building an addon that uses widgets. I have my admin page pulling all the widgets. Now I want to just get the custom widgets to display. Where in my code did I got wrong?

Code:
Code:
public function actionIndex($positions)
    {
        $widgetRepo = $this->getWidgetRepo();

        $widgetsFinder = $widgetRepo->findWidgetsForList();
        $widgets = $widgetsFinder->fetch();

        foreach ($positions AS $position) {
            $positionId = $position->position_id;  // Example: Access the...

Read more

Continue reading...
 
Similar threads Most view View more
Back
Top Bottom