Evidently that system var {skin} is not set. Exploring when and where
best to do this, I've noticed some bigger changes that need to be
considered:
1). Does anyone know why these lines are in the engine.php around
~94-98. I'm thinking of commenting them out as they don't make much
sense to me...
if (is_array($BOLTconfig['skin'])) {
foreach($BOLTconfig['skin'] as $skin => $check) {
if (BOLTpageCheck($check)) $BOLTskin = $skin;
}
}
2) It also seems line 208 should perhaps be loaded later, after we
have finalized the determination of the skin selection process.
Probably should be moved to the BOLTmakepage function around line 1492
or so.
if (file_exists("$skinPath/$BOLTskin/skin.php"))
include_once("$skinPath/$BOLTskin/skin.php");
At the same place we would want to put our {skin} definition:
$BOLTvar['$skin'] = $BOLTskin;
And of course the prerequisite globals...
Hmmm. Seems simpler to move the skin selection routine elsewhere,
earlier in the processing. Perhaps to a separate function. It's
getting late here. I'll look into it some more tomorrow morning.
Did you try any of the [(getlink topnav)] functions to see if they are
returning the right values? Should get the appropriate hierarchical
link for any zone in any given page? Is the zone action still not
working on your skin?
Cheers,
Dan
On Mon, Oct 5, 2009 at 7:42 PM, Hans <[email protected]> wrote:
>
> with skin: triad in site.config; triad skin working, I get these
> outputs in a page:
>
> {skin}
> no output
>
> [(zones)]
> skin,style,top,topnav,side,header,main,footer,footnav,right,bottom
>
> [(zones code)]
> skin,style
>
> [(zones content)]
> top,topnav,side,header,main,footer,footnav,right,bottom
>
> It looks like that '.triad' would need to be appended, but {skin} does
> not deliver.?
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---