Forum .LRN Q&A: Re: dotlrn customize layout

Collapse
Posted by Iuri Sampaio on
I realised I was totaly lost on myt last post. :)

SO far, looking at the tcl file
conaje/packages/theme-selva/www/selva-lrn-master.tcl

set subnavbar selva::portal_subnavbar \
-user_id $user_id \
-link_control_panel $link_control_panel \
-control_panel_text $control_panel_text \
-pre_html "$extra_spaces" \
-post_html $extra_spaces \
-link_all $link_all

**************************************

then at the API: selva::portal_subnavbar

http://72.249.38.150/api-doc/proc-view?proc=selva::portal_subnavbar&source_p=1&version_id=

** in the line set subnavbar "...

As my organization pkg is under dotlrn/clubs/$communityname/$communityname_orgs,
i need to create a form at the section "dotlrn customize layout", using the condition (if the page is empty make as a link to another place.
In order to pass the $communityname variable to the API generate the button, which is the link to the package.
Does anyopdy know an easier way?