Hi all

I need to somehow be able to extend the functionality of the STKPageModel 
because I want to change the navigation functionality (#getNavigation).

I was asking myself which clean ways there are to achieve this.

Should I replace the STKPageModel in the module descriptor of my module with my 
own class? Does this even work?

Or should I introduce a new freemarker helper object e.g. "myfn" which gets 
injected and can be used in the ftl. And how exactly can I do this?

Or are there even better ways?

I want to somehow be able to call a custom method in the 
horizontalNavigation.ftl which returns a navigation object built by myself.

Cheers

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=acfc3d41-b750-4359-9693-23ea38d0200a


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to