Forum .LRN Q&A: Re: Preseting Portals

Collapse
2: Re: Preseting Portals (response to 1)
Posted by Victor Guerra on
Hi Malte,

a) You can play around with some parameters defined in the dotlrn package: subcomm_pages_csv, club_pages_csv, user_portal_pages_csv, class_instance_pages_csv. In those parameters you can change the number of pages and the layout for each page.

Now, if you want to change the portlets position, then you could modify the ad_self_to_page proc defined for each portlet, so you can indicate in wich region and what page do you want the porlet to be added. Im not sure if there is another way of doing this.

b) I have been working on a new interface for adding portlets to the default portal templates, but it has not been contributed yet. Also I implemented some functionality for applying a given template to a group of users/communities/subcommunities. Maybe this new stuff could work for what you want to do.

Regards,
Victor Guerra.

Collapse
3: Re: Re: Preseting Portals (response to 2)
Posted by Malte Sussdorff on
Hi Victor, did you manage to polish your things up as it would come really handy now 😊.

I need to reset all communities and all users on my site to the given templates and it looks like you managed to do this already. Have you committed the code and if yes, where to ?

If not, would you mind committing it or sending it to me so I can make use of it?

Thanks for your help anyway.