New Message: Re: Site Structure Error?

webmaster at userland.com webmaster at userland.com
Thu Sep 8 16:33:40 CDT 2005


A new message was posted:

Address: http://frontier.userland.com/discuss/msgReader$14214

By: Brian Ablaza (bablaza at stargroup1.com)

I'm having this problem today.
In case this was never addressed, regardless of why, you can add a check to drawNavigator that will re-compile if the structure is empty

bundle { //compile the xml text if it's been modified
 «If the structure table is not defined or the outline has been modified more recently than the structure table, compile.
 if (not (defined (adrNavigator^.structure))) or (timeModified (@adrNavigator^.outline) timeModified (@adrNavigator^.structure)) {
 xml.compile (string (adrNavigator^.outline), @adrNavigator^.structure)};
 if sizeOf(adrNavigator^.structure)==0 {
 xml.compile (string (adrNavigator^.outline), @adrNavigator^.structure)}}

This is a Manila site.. http://manila.userland.com/.




More information about the Manila-Server mailing list