RSS Feed/News Need help with some code

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
27,114
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top