[pmwiki-users] ImportText not working as supposed

Anno anno at shroomery.org
Wed Jan 23 11:25:35 CST 2008


> It looks to me as though whatever customizations that are
> supposed to handle the (:titleinclude:) and (:slike:) markups
> aren't being loaded at the time ImportText is being run.

Yes, you are right. I have certain customizations enabled only on group 
basis.
So if I call the action=import from a group different than the files I 
want to update belong to, then the pages aren't updated properly.

This is OK if I want to update only pages from a certain group this way, 
then I go to that group and call the script from there. But if I have 
mixed pages to update, then this doesn't work.

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.

Thank you for looking into it Patrick!

Anno




More information about the pmwiki-users mailing list