I spent some time on deconstructing and improving the function
BOLTfolders in library.php.
Goal is to pull the content from site.folders and check for strings
which are followed by an ":". This is the pagename.
This could be followed by 2 extra steps like:
If any pagenames are found, check for strings which are followed by an
"*" (strpos ($string, "*"))
Keep the string up to the "*" (substr ($string, 0, (strpos ($string,
"*"))
Then go on as usual: Match pages which start with string or chunk of
string and do your replace.
Unfortunately I am a php noob so I was not able to alter the
library.php with success.
Also, I do not know if this line is really needed as the whole string
up to the ":" would be the starting letters of our pagename.
> if (substr($page, 0, strlen($find) + 1) == $find . "." ||
> $page == $find) {
Any php cracks here to help? I would be happy to be able to have whole
groups of pages stored in subfolders.
Greetings, Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---