D
D
dontagr2014-10-29 11:52:29
Zend Framework
dontagr, 2014-10-29 11:52:29

How to call renderWidget without wrapper in zend framework?

Good afternoon, I'm trying to pull out the menu on the site through renderWidget, but along with the code I need, a wrapper (two divs) also comes out. In the widget itself, I tried to write _helper->layout()->disableLayout() in the controller, but it didn't help...
Call example:

<?php echo $this->content()->renderWidget('default.groups-profile-options'); ?>

Answer:
<div>
<div class="generic_layout_container layout_default_groups_profile_options">

  ... widget result ...

</div>
</div>

As you can see in the answer, there is a wrapper consisting of 2 divs, which I do not need

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dontagr, 2014-10-30
@dontagr

Well, actually, I solved my problem by creating my own renderClearWidget helper, where I cut out the decorator in which my problems were ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question