Hello,

I'm working on a web admin interface with Zend Framework 2, and I'd like to
make it extensible by « plugins ». Great for me ZF2 provides a great
modules system :)
But I wonder how I could make « cleanly » my templates extensible.

Example :

My « core » admin would render that :

<nav>
    <ul>
        <li><a href="">Home</a></li>
        <li><a href="">First link</a></li>
        <li><a href="">Second link</a></li>
    </ul>
</nav>

And I want that people could develop modules that could add links to my
main menu :

<nav>
    <ul>
        <li><a href="">Home</a></li>
        <li><a href="">First link</a></li>
        <li><a href="">Second link</a></li>
        <li><a href="">Super cool link from 1st plugin</a></li>
        <li><a href="">Another awesome link from 1st plugin</a></li>
        <li><a href="">Great link from 2nd plugin</a></li>
    </ul>
</nav>

How can I manage that in my core views / controllers ?

Thanks,
Best regards,
Emmanuel

Reply via email to