[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Changing MV-sites design on-the-fly??
****** message to minivend-users from cfm@maine.com ******
On Thu, May 04, 2000 at 10:56:17AM -0400, .c o r y . t r e s e. wrote:
> ****** message to minivend-users from ".c o r y . t r e s e." <digital@specialty-books.com> ******
>
> At the time of Thu, 04 May 2000, René Hertell wrote about [mv] Changing
> MV-sites design on-the-fly??: >****** message to minivend-users from
> =?iso-8859-1?Q?Ren=E9_Hertell?= <rene@hertell.com> ****** >
> >Hi!
> >I'm trying to figure out a way to let the users change their MV-site design
> >and layout (fonts, colour etc.)
> >
> >I'm not sure what kind of methods I should use, but I think that a
> >memory-only table would be fast enough to serve the parameters to the layout
> >and design.
> >
> >I tried a bit with the memory-only tables, but I couldn't edit them with
> >MiniMate... Is there any way in editing these tables, and to get the values
> >"online" without reconfiguring the server?
> >
> >Has anyone made a site that has this feature?
> >
> >Regards, René
> >
We've been working on that for years and it just keeps getting better
and better and still not done. ;^)
In a nutshell, though, we have our own *mlish tag system. For any
particular tag there might be a default, nothing, or a local
value/proceedure. Any particular user can have overrides for the
default. The pages get built and run through this DTD prior to
minivend getting them. The dynamic parts are stored in an mysql
database and loaded into the session when a visitor selects that
particular "sub_catalog".
I'm thinking you could make a simple approximation by loading the
values from db into session and adding a usertag to eval the entire
page. You'll get into order of precedence issues unless you stick
hard and fast to doing it before or after minivend, but not both.
Or, if you really limit what user can do, you might make do it with
usertags.
[get_my_config] # load the record into session
[my_body_config] # returns <BODY whatever> according to those values
etc...
I think maybe two years ago MikeH announced he was getting jealous
about size of session. ;^)
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list