vendredi 21 mai 2021

how create 1 beteween 10 ? [closed]

I tried to do it like this but it didn't work

<li class="first-level-item">
<a class="first-level-item-text u-blk "
    href=""
    title=""
    data-category-name="">
    
</a>

@for ($i = 0;$i < $category->recursiveChildrens->count(); $category->recursiveChildrens->count()++)
    @if ($category->recursiveChildrens->count()[$i])

        <ul class="menu-second-level">
            @each('partials.header.menu.sub-category', $category->recursiveChildrens, 'subCategory')
        </ul>
        
    @endif
@endfor

enter image description here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire