[ic] Creating templates

Alex alex@jdmrktng.com
Wed, 22 Nov 2000 10:10:41 -0800 (PST)


Then one last question as I hope. Why some of the variables in the pages
files have the form of __LOGO__, others as @_LOGO_@, and there is a
@@MV_PAGE@@ variation as well?

----
Alex

On Wed, 22 Nov 2000, Steve & Patti Getzinger wrote:

> Date: Wed, 22 Nov 2000 12:53:20 -0500
> From: Steve & Patti Getzinger <steveandpatti@wubs.org>
> Reply-To: interchange-users@minivend.com
> To: interchange-users@minivend.com
> Subject: Re: [ic] Creating templates
> 
> Alex wrote:
> 
> > They seem to be read from the templates/ directory automatically, you
> > needn't do anything here.
> >
> > ----
> > Alex
> >
> > On Wed, 22 Nov 2000, Paul R Stearns wrote:
> >
> > > Date: Wed, 22 Nov 2000 12:27:11 -0500
> > > From: Paul R Stearns <pauls@compuace.com>
> > > Reply-To: interchange-users@minivend.com
> > > To: interchange-users@minivend.com
> > > Subject: Re: [ic] Creating templates
> > >
> > > What I would like to know is how do I add a template that I create manually to the
> > > drop down lists on the page edit screen.
> > >
> > > Alex 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
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@www.minivend.com
> > > http://www.minivend.com/mailman/listinfo/interchange-users
> > >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@www.minivend.com
> > http://www.minivend.com/mailman/listinfo/interchange-users
> 
> Pages are in pieces. Names are logical so top_left_noright (or whatever) is part of a
> page that has a top left column center section. Now apply the all concept a page has 5
> pieces top left right bottom and the center. Lets think word processor header footer
> right channel left channel and body. They are pulled in based on what is on the page
> itself so __LEFTSIDE__ brings in the variable __LEFTSIDE__ in the catalog.cfg file in
> the place it is located on the page. Now the variable __LEFTSIDE__ can be a file with no
> extension or whatever extension you want (if I am wrong here someone will let me know
> :)  ) IC will parse the content of __LEFTSIDE__ and make it part of your page before
> sending it to the web server (how was that for being politically correct and not saying
> Apache :) )
> 
> So we look at index.html and see:
> 
> [comment]
> UI stuff
> [/comment]
> 
> @_LOGO_@
> @_LEFTSIDE_@
> our content that ends up in the center
> @_NO_RIGHT_@
> 
> So we simply look for logo in the templates dir and that is? Yep you guessed it and it
> is placed where? Right again. Want a visual do a view source of index.html and compare
> to the pieces.
> 
> Hope that helps some
> Steve
> 
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>