First, if your skin is named sky you should name these pages:

zone.sky.top
zone.sky.login
zone.sky.bottom
etc.

Then skin.pages will be a simple text document that looks like:

zone.sky.top
zone.sky.login
zone.sky.bottom

This should import the three specified skin pages (if they are in the
sky skin folder), and then BoltWire will call these pages into the
appropriate zones.

Hope this helps,

Cheers,
Dan

P.S. Yes, an another option is to use a backup file. That might be
preferable actually. Seems like using one system for multiple purposes
is superior to multiple solutions. We could in fact put all the skin
pages in a backup file (including code.skin.sky, code.style.sky), and
use code.embed pages for things like login, etc (rather than the
code.skinvars page, which I still really think we should
eliminate...). Would be much simpler and then we could import just
like any other plugin.  The advantage of using similar processes is
the code is smaller, less prone to bugs, and easier to learn.  Any
thoughts anyone?

P.P.S. It would be good to somewhat think through the various skin
delivery mechanisms and settle on one as we don't have to many skins
currently, and they all need to be updated from 1.0.


On Wed, Aug 27, 2008 at 10:30 AM, Linly <[EMAIL PROTECTED]> wrote:
>
> Weird, I creat skin.pages, list the zone pages on it, but not work. No
> matter I use what list,
>
> skintop,skinlogin,skinbotton ... or
> [[skintop]], [[skinlogin]], [[skinbotton]] ... or
>
> [[skintop]]
> [[skinlogin]]
> [[skinbotton
>  ...
>
> Those zone pages would not be imported.
>
> But since I can pack the zone pages as 'sky.backup' and use the plugin
> manager to install it. So maybe this is not so urgent. :)
>
> Cheers,
> linly
>
> On Aug 27, 6:55 pm, "The Editor" <[EMAIL PROTECTED]> wrote:
>> Create a page called skin.pages in yor skin folder and list all the
>> pages you want to import. The skin and style sheet should be imported
>> automatically, but you can add others as desired.
>>
>> Cheers,
>> Dan
>>
>> On Tue, Aug 26, 2008 at 10:56 PM, Linly <[EMAIL PROTECTED]> wrote:
>>
>> > Hi Dan,
>>
>> > In version 2.29, there is a new feature that "# a skin can import any
>> > needed pages, not just skin and style pages." But I don't know how to
>> > use this feature.
>>
>> > I put all skin files into 'farm\skins\newskin\*.*' and set the config
>> > in 'site.config', only the css and skin file were read, other zone
>> > pages did not. Any idea? Not hurry, just a note.
>>
>> > Cheer,
>> > linly
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to