[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 ".c o r y . t r e s e." <digital@specialty-books.com> ******
Yep, I've done something like this. My version was rather limited, but only
because they wanted it to be that way. Here is how / what I did:
Added a few fields to the user_db :
primary_color,secondary_color,body_font,form_font,top_nav,side_name,bottom_nav
All of these were set using select menus generated from a text d-base and
provided the settings for the fields (how many user would be able to put in the
correct values for their settings? not many ;)
I gave them default values in the account creation. Then I called them later
(see, it was easier for me than it might be for you because the only part that
had to be customized required a login.)
Then I called those values later while parsing the pages. I used combinations
like
<font [value body_font]> where body_font would contain something like
color="white" face="Arial" size="-1" or the like.
For colors I used stuff like
<td bgcolor="[value secondary_color]"> where 2cd_color would be "#006699" or
the like.
I also used combinations of [include] and [value] to pull the correct nav bars
from the choices avaliable.
If you are doing something simple like I was, this approach _might_ work, but I
think if I were trying to do something more complicated I'd probably try to use
a user_tag and place MiniVend parsed Document-Level styles at the top of your
pages, and use fewer userdb fields and less tag parsing.
Anyway, this was all from memory about an old project scratched up while
waiting for my coffee to brew, so WHO knows how correct it is, but perhaps
you'll get an idea looking at it.
Cory
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é
>
>-
>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
--
digital@specialty-books.com
800.466.1365-ext223
[head web-human, Specialty Books]
-
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