I have a cms page in backend, with one widget inside.

Can i get the widget from html content of this page ? Because I would like to get the conditions of this widget.

Like exemple :

$toReturn = $myserviceFilter->getWidget($html or $myPage)

echo $toReturn = {{widget type="cms/widget_page_link" ... }}

And after i can get the conditions with $filter->filter($toReturn)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.