Re: Code ideas req: Matrix of users and options [code]

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50229
interpreted = N
texte = [If [varCe]=record][Then] [Loop start=1&end=[var_X]] [Math show=f]vt_Count=[Index][/Math] [Replace db=names.db&eqIDdata=[Interpret][ID_USER_[index]][/ Interpret]]Theme=[Interpret][var_[index]][/Interpret][/Replace] [/Loop] [/Then][/If]
[!]Made the first line[/!] [Search db=themes.db&neIDdata=&THEMEsort=1][Math show=f]var_Y=[Numfound][/Math][Founditems] [Text]var_theme_[index]=[THEME][/Text] [/Founditems][/Search] [!]Made the other lines[/!] [Search db=names.db&neIDdata=&NAMEsort=1][Math show=f]var_X=[Numfound][/Math][Founditems] [Math show=f]vt_Count=[Index][/Math] [Text]vt_Theme=[Theme][/Text] [Loop start=1&end=[var_Y]] [/Loop] [/Founditems][/Search]
Nom[THEME]
[NAME]
NAMES.DB ID NAME THEME USER001 Max D USER002 Alex C USER003 Joe C USER004 Alan B USER005 Rex A USER006 Doug CTHEMES.DB ID THEME TH001 A TH002 B TH003 C TH004 D TH004 E Le dimanche, 11 mai 2003, à 20:36 Europe/Paris, Palle Bo Nielsen a écrit :> Hi all, > > I am looking for a solution to build a one-page solution which can do > the below... > > I have a web-site where a lot of users use a web browser based > interface to write articles. The writers are able to choose a specific > theme form a pop-up list, which I provide from a database. When I > create or edit a new theme I use a solution, where I have to open each > user's profile and enable or disable this specific theme for that > specific user. If I need to alter a lot, I need to open a lot of user > and change their settings... > > So what I want to do is to create a web-page matrix, where I can > change (enable/disable) a specific themes for a specific users and > then submit the changes for all the users I have changed settings > for... > > users.db - one database with user (I already have) > themes.db - one database with all the themes (I already have) > > A one page solution like below (I don't have yet) form based... > > A B C D E F G H (Horizontal (Users)) > 1 > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > (Vertical (Themes)) > > In the space between the horizontal axis and the vertical axis I need > to have a lot of Check boxes to enable or disable a specific theme for > a specific user and do it for a lot of different users at the same > time. When I submit, then I submit the changes for all the users... > > Hope to get some inspiration form the list... > > PS. WebDNA 5 code is okay... (I have upgraded) > > PowerPalle > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Code ideas req: Matrix of users and options [code] (WJ Starck 2003)
  2. Re: Code ideas req: Matrix of users and options [code] (Laurent Bache 2003)
  3. Code ideas req: Matrix of users and options [code] (Palle Bo Nielsen 2003)
[If [varCe]=record][Then] [Loop start=1&end=[var_X]] [Math show=f]vt_Count=[Index][/Math] [Replace db=names.db&eqIDdata=[interpret][ID_USER_[index]][/ Interpret]]Theme=[interpret][var_[index]][/Interpret][/Replace] [/Loop] [/Then][/If]
[!]Made the first line[/!] [Search db=themes.db&neIDdata=&THEMEsort=1][Math show=f]var_Y=[Numfound][/Math][founditems] [text]var_theme_[index]=[THEME][/Text] [/Founditems][/Search] [!]Made the other lines[/!] [Search db=names.db&neIDdata=&NAMEsort=1][Math show=f]var_X=[Numfound][/Math][founditems] [Math show=f]vt_Count=[Index][/Math] [text]vt_Theme=[Theme][/Text] [Loop start=1&end=[var_Y]] [/Loop] [/Founditems][/Search]
Nom[THEME]
[NAME][interpret][var_theme_[index]][/Interpret] [If [vt_Theme]=[interpret][var_theme_[index]][/ Interpret]][Then]Checked[/Then][/If]>
NAMES.DB ID NAME THEME USER001 Max D USER002 Alex C USER003 Joe C USER004 Alan B USER005 Rex A USER006 Doug CTHEMES.DB ID THEME TH001 A TH002 B TH003 C TH004 D TH004 E Le dimanche, 11 mai 2003, à 20:36 Europe/Paris, Palle Bo Nielsen a écrit :> Hi all, > > I am looking for a solution to build a one-page solution which can do > the below... > > I have a web-site where a lot of users use a web browser based > interface to write articles. The writers are able to choose a specific > theme form a pop-up list, which I provide from a database. When I > create or edit a new theme I use a solution, where I have to open each > user's profile and enable or disable this specific theme for that > specific user. If I need to alter a lot, I need to open a lot of user > and change their settings... > > So what I want to do is to create a web-page matrix, where I can > change (enable/disable) a specific themes for a specific users and > then submit the changes for all the users I have changed settings > for... > > users.db - one database with user (I already have) > themes.db - one database with all the themes (I already have) > > A one page solution like below (I don't have yet) form based... > > A B C D E F G H (Horizontal (Users)) > 1 > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > (Vertical (Themes)) > > In the space between the horizontal axis and the vertical axis I need > to have a lot of Check boxes to enable or disable a specific theme for > a specific user and do it for a lot of different users at the same > time. When I submit, then I submit the changes for all the users... > > Hope to get some inspiration form the list... > > PS. WebDNA 5 code is okay... (I have upgraded) > > PowerPalle > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Laurent Bache

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Setting up shop (1997) Not really WebCat (1997) Reversed words (1997) autosensing lanague selection (1997) Client-side Image Maps and WebCat? (1998) Forms (1998) [SHOWIF AND/OR] (1997) RE: Clearing orders and database help! (1997) [append] and SSL (1997) Great product and great job ! (1997) problems with 2 tags shakur (1997) WebDNA on Red Hat Enterprise Linux 4 x64 (2006) t or f (1997) RE: Webcatalog and CyberSTUD (1998) Can't find templaes (1997) [OT] MS Security Flaw (2000) BUG REPORT: numeric ge, le, gr & ls comparisons don't work (1999) 2.0Beta Command Ref (can't find this instruction) (1997) [WebDNA] how to purge webdna cache of templates? (2009) Flash Stores (2003)