[ic] Creating templates

Matthew Schick mschick@brightredproductions.com
Wed, 22 Nov 2000 10:58:47 -0600


--=====================_1858890==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi Alex,

         You do have to edit them manually, but the good news is they 
aren't as complicated as they look.

This is part of a modified template we use:

[comment]
ui_template: Yes        (lets the system know to use as a template)
ui_template_name: fullwidth     (the file name of the template)
ui_template_layout: NOLEFT_TOP, UI_CONTENT, NOLEFT_BOTTOM  (the html parts, 
in the templates/regions sub directory, that 
make 
up the page to be created)
ui_template_description: Page with top/bottom areas only, content in 
middle.   (shows up in the drop-down box in the page edit page)

break:
         widget: break    (the separator bar on the page edit page)

bgcolor:    (this is called in the page by [scratchd bgcolor].  Can be 
anything you want to define.)
         options: =select,white, pink, black, aqua, blue, fuchsia, gray, 
green, lime, maroon, navy, olive, purple, red, silver, teal, yellow
                          (User-selectable options when editing the page)
         description: Background color  (this is the title of the option)
         widget: move_combo  (this is how the options are displayed.  with 
the exception of move_combo, they are just normal form 
input                          fields like select, text and radio)
         width: 7  (width of the input field)
         help: You may enter a hexadecimal (6 digit) value beginning with a 
"#" or select a color value, if there is a color value already selected, 
you have to erase the previous value before selecting another  (a little 
more explanation text that shows up to the right of the 
input 
field in the page edit)

I hope this helps to get you goin in the right direction.

Matt

At 10:25 AM 11/22/00, you wrote:
>Indeed, there is such link. But it offers only "Choose a page template
>from the pull-down menu", without the choise of creating a new template.
>And if I press further on the "Create new page" button, the page that
>shows then doesn't permits creating new templates.
>
>And the linked question. If I already have some templates (copied them
>from the construct demo for example), where I can edit them? Their
>structure seems a bit complex for me to edit them manually. Or is
>there anywhere a detailed description of the templates structure?
>
>----
>Alex
>
>On Wed, 22 Nov 2000, Marcel Montes wrote:
>
> > Date: Wed, 22 Nov 2000 13:17:29 -0300
> > From: Marcel Montes <marcel@multimake.com>
> > Reply-To: interchange-users@minivend.com
> > To: interchange-users@minivend.com
> > Subject: Re: [ic] Creating templates
> >
> > There's a "new page" link on the very same place you say
> > ("Content" -> "Page Edit")
> >
> > Alex wrote:
> >
> > > Hi all!
> > >
> > > Can anybody tell is there any way of creating the templates in the admin?
> > > The templates can be selected for using with any page at the "Content
> > > Edit" part of the admin pages, but how can the new templates be created?
> > > Or should they be manually created in the template/ directory? Thanks!
> > >
> > > ----
> > > Alex
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@www.minivend.com
> > > http://www.minivend.com/mailman/listinfo/interchange-users
> >
> > --
> >  Marcel Montes [marcel(at)multimake(dot)com] - Programmer
> >  "If our brain were so simple that we could understand it,
> >  we would be so stupid that we couldn't do so"
> > -------------------------- EOF ----------------------------
> >
> >
> >
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@www.minivend.com
>http://www.minivend.com/mailman/listinfo/interchange-users

Matthew Schick
mschick@brightredproductions.com
Bright Red Productions, LLC
"Web Design With A Pulse!"
http://www.brightredproductions.com


--=====================_1858890==_.ALT
Content-Type: text/html; charset="us-ascii"

Hi Alex,

        You do have to edit them manually, but the good news is they aren't as complicated as they look.

This is part of a modified template we use:

[comment]
ui_template: Yes        (lets the system know to use as a template)
ui_template_name: fullwidth     (the file name of the template)
ui_template_layout: NOLEFT_TOP, UI_CONTENT, NOLEFT_BOTTOM  (the html parts, in the templates/regions sub directory, that make                                                                           up the page to be created)
ui_template_description: Page with top/bottom areas only, content in middle.   (shows up in the drop-down box in the page edit page)

break:
        widget: break    (the separator bar on the page edit page)

bgcolor:    (this is called in the page by [scratchd bgcolor].  Can be anything you want to define.)
        options: =select,white, pink, black, aqua, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, yellow
                         (User-selectable options when editing the page)
        description: Background color  (this is the title of the option)
        widget: move_combo  (this is how the options are displayed.  with the exception of move_combo, they are just normal form input                          fields like select, text and radio)
        width: 7  (width of the input field)
        help: You may enter a hexadecimal (6 digit) value beginning with a "#" or select a color value, if there is a color value already selected, you have to erase the previous value before selecting another  (a little more explanation text that shows up to the right of the input                                                                      field in the page edit)

I hope this helps to get you goin in the right direction.

Matt

At 10:25 AM 11/22/00, you wrote:
Indeed, there is such link. But it offers only "Choose a page template
from the pull-down menu", without the choise of creating a new template.
And if I press further on the "Create new page" button, the page that
shows then doesn't permits creating new templates.

And the linked question. If I already have some templates (copied them
from the construct demo for example), where I can edit them? Their
structure seems a bit complex for me to edit them manually. Or is
there anywhere a detailed description of the templates structure?

----
Alex

On Wed, 22 Nov 2000, Marcel Montes wrote:

> Date: Wed, 22 Nov 2000 13:17:29 -0300
> From: Marcel Montes <marcel@multimake.com>
> Reply-To: interchange-users@minivend.com
> To: interchange-users@minivend.com
> Subject: Re: [ic] Creating templates
>
> There's a "new page" link on the very same place you say
> ("Content" -> "Page Edit")
>
> Alex wrote:
>
> > Hi all!
> >
> > Can anybody tell is there any way of creating the templates in the admin?
> > The templates can be selected for using with any page at the "Content
> > Edit" part of the admin pages, but how can the new templates be created?
> > Or should they be manually created in the template/ directory? Thanks!
> >
> > ----
> > Alex
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@www.minivend.com
> > http://www.minivend.com/mailman/listinfo/interchange-users
>
> --
>  Marcel Montes [marcel(at)multimake(dot)com] - Programmer
>  "If our brain were so simple that we could understand it,
>  we would be so stupid that we couldn't do so"
> -------------------------- EOF ----------------------------
>
>
>


_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users

Matthew Schick
mschick@brightredproductions.com
Bright Red Productions, LLC
"Web Design With A Pulse!"
http://www.brightredproductions.com

--=====================_1858890==_.ALT--