Need help with some code

Status
This content is read-only, or is not open for further replies.

CipherX

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom