Hi
I have just started work on a DMCGI website and I am not sure how I would make a button link to another page I would make with DMCGI, what would be the easiest way to come about this?
Thanks
Mousie
ID:268185
![]() Apr 7 2004, 1:39 am (Edited on Apr 7 2004, 1:48 am)
|
|
![]() Apr 7 2004, 3:54 am
|
|
Make the button a submit button for a form and put <FORM> tags around the button. The first form tag is where you put what ?href you want the button to go to.
|
Mousie_kebabs wrote:
To make the page would I do? Page However, if your form includes other information like stuff from an input box, you'll need to check if href starts with "whatever" or possibly check if href_list[1] is "whatever". I know the former will work and I think the latter will too. |
Mousie_kebabs wrote:
I take it I need to make a GetPage proc. I do not have any clue where to start with that. Sorry, since you were using a datum named "Page" I assumed you might be using this. You'll have to create new pages using the method for however you chose to do DMCGI. For example: if you were using Dantom's htmllib, you would need to make a new /Form. |
Would it be possible to link to another .dmb file? Like with HTML to make another page you link to the page name...
|
Mousie_kebabs wrote:
Would it be possible to link to another .dmb file? Like with HTML to make another page you link to the page name... Yes, but that's really inefficient. It's increadibly easy to put multiple pages inside a single DMCGI dmb. In Topic(), just check what the href is/starts with and send stuff to usr depending on that. |