Patrick R. Michaud wrote:
> On Wed, Jan 23, 2008 at 06:25:35PM +0100, Anno wrote:
>> A solution would be for the ImportText script to load the local 
>> customization files depending on the group the page belongs to, since 
>> right now it only loads the local/config.php file.
> 
> ImportText can't really do that -- what if there is more than
> one page to be imported?  Would we then load the customizations
> for all of the pages?

One approach would be to:
1. Determine whether the current page to be imported has to load  any 
custom customization, either groupwise, or for a single page
2. If this is the case, reload the import script under the correct group 
or page and do the import for all the pages in that group.

Anno


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to