Forum .LRN Q&A: Re: Re: Re: navigation changes in dotLRN: RFC

Collapse
Posted by Orzenil Silva Junior on
Hi Jeremy,

Sorry for this late response 😊

I don't know if i am going totally wrong but i suspect an approach to get tabbed static menu in dotLRN is by means of new callbacks implemented for openacs HEAD. see https://openacs.org/forums/message-view?message_id=274647

I said i just suspect because i am still reading about callbacks. As i see the very goal of callbacks -
"to promote reuse of standard pages and functions by removing the need to create per-package versions of these" - fits well in the issues you are dealing. Indeed callbacks seems to be in the near future a simple, flexible alternative to service contracts. As we know tab structure (pages) in dotlrn is today provided by service contracts defined in portlets.

As i said i am not sure i am understood correctly callbacks but i saw examples from HEAD wich administrative links for certains packages were created with callbacks. see for example forums package code ( forums/tcl/forums-callback-procs.tcl)

ad_proc -public -callback navigation::package_admin -impl forums {} {
return the admin actions for the forum package.
} {

What do you think? Did you already explore this feature? Is it fits to what you are doing?

I see Dirk Gomes, Dave Bauer and DeeDee Kane are working in backporting callbacks from HEAD to 5.1 so we could use it with dotlrn 2.1. see https://openacs.org/forums/message-view?message%5fid=305077

Maybe we could contact them to see if callbacks could help you deal with tab structure. I think Andrew Grumet
(https://openacs.org/forums/user-history?user_id=6611) could evaluate it too and dismiss or confirm this suspicion.

\Orzenil