[ic] Creating templates

Varshavchick Alexander alex@metrocom.ru
Wed, 22 Nov 2000 20:35:14 +0300 (MSK)


Thanks again Matt, you helped a lot :)

Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 314-8986(fax)


On Wed, 22 Nov 2000, Matthew Schick wrote:

> Date: Wed, 22 Nov 2000 11:20:54 -0600
> From: Matthew Schick <mschick@brightredproductions.com>
> Reply-To: interchange-users@minivend.com
> To: interchange-users@minivend.com
> Subject: Re: [ic] Creating templates
> 
> The parts are put together with NOLEFT_TOP being the section before the 
> actual content, UI_CONTENT is the content and NOLEFT_BOTTOM going 
> after.  The page content section is actually defined in the page_edit.html 
> admin file.   It's a little confusing, but that's the way it is works at 
> the moment.  I am glad to hear about this being improved for the next version.
> 
> Matt
> 
> At 11:11 AM 11/22/00, you wrote:
> >Thanks Matt, it surely helps. But I haven't grasped yet how these parts
> >(NOLEFT_TOP, UI_CONTENT, NOLEFT_BOTTOM) are put together, and how do
> >you mark the place where the actual page content will be placed.  - could
> >you put me in the right direction once more please? :)
> >
> >----
> >Alex
> >
> >On Wed, 22 Nov 2000, Matthew Schick wrote:
> >
> > > Date: Wed, 22 Nov 2000 10:58:47 -0600
> > > From: Matthew Schick <mschick@brightredproductions.com>
> > > Reply-To: interchange-users@minivend.com
> > > To: interchange-users@minivend.com
> > > Subject: Re: [ic] Creating templates
> > >
> > > 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
> > >
> > >
> >
> >
> >_______________________________________________
> >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
> 
>