Ask a Question related to Dreamweaver AppDev, Design and Development.
-
The Wackonerd #1
Dynamic Page Creation
I would like to be able to create pages dynamicly. The page name would
dynamicly appear in the menu with a link to the page. All pages would work off
the same template.
Is there a tutorial about this anywhere?
--------------------------------------------
ASP, MS Access, DW MX 2004
--------------------------------------------
thank
The Wackonerd Guest
-
dynamic xml creation
How can I make XML dynamically inside tha Flash using AS? Basicly i need to make structure like these one: <root> <item></item> ...... -
dynamic tag creation
Looking for a way to dynamically evaluate a tag from a string. eg: <cfset tmp = '<cfset myRslt = "Hello">'> <cfoutput> #tmp# </cfoutput> ... -
Dynamic content creation
I'm rather a newbie to flex, at the stage of considering it it is worth my time to get to know to it (or maybe laszlo...). I have this question:... -
Dynamic columns creation
Hi. I have a stored procedure that among other things returns a column with values that will be used to compose a temporary table. The number of... -
dynamic object creation
If I have something like this: s="Array" How whould I get something like this: aObject=s.new In "plain" english I am asking if I have a... -
Brandon Taylor #2
Re: Dynamic Page Creation
There are a few ways to accomplish this, but you will need to use the
FileSystemObject to either write the lines of code and then save the file
using the CreateTextFile method or you can copy a file and rename it.
For help working with the FileSystemObject, here's a good tutorial:
[url]http://www.aspfaq.com/show.asp?id=2039[/url]
HTH,
bT
"The Wackonerd" <webforumsuser@macromedia.com> wrote in message
news:d2ihvd$3ok$1@forums.macromedia.com...>I would like to be able to create pages dynamicly. The page name would
> dynamicly appear in the menu with a link to the page. All pages would work
> off
> the same template.
>
> Is there a tutorial about this anywhere?
>
> --------------------------------------------
> ASP, MS Access, DW MX 2004
> --------------------------------------------
>
> thank
>
>
>
>
>
Brandon Taylor Guest
-
The Wackonerd #3
Re: Dynamic Page Creation
Thanks Brandon but I cant see how this relates to my question and then again I
might just have missed what this is about so I will re phrase my question
I want the page to populate from a database table,
localhost/mysite/page.asp?id25
I can get it to show the first record but not any of the others
any ideas?
The Wackonerd Guest
-
Paul Whitham TMM #4
Re: Dynamic Page Creation
If you are only getting the first value then your filter is not working
properly probably because the URL should be passed like this
localhost/mysite/page.asp?id=25
--
Regards
Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
[url]www.valleybiz.net[/url]
Team Macromedia Volunteer for Ultradev/Dreamweaver MX
[url]www.macromedia.com/support/forums/team_macromedia[/url]
"The Wackonerd" <webforumsuser@macromedia.com> wrote in message
news:d2q04i$ojs$1@forums.macromedia.com...again I> Thanks Brandon but I cant see how this relates to my question and then> might just have missed what this is about so I will re phrase my question
>
> I want the page to populate from a database table,
> localhost/mysite/page.asp?id25
> I can get it to show the first record but not any of the others
>
> any ideas?
>
Paul Whitham TMM Guest
-
The Wackonerd #5
Re: Dynamic Page Creation
Thanks for that Paul,
I must have typed out the above link incorrectly
I am getting localhost/mysite/page.asp?id=25 as the displayed link but it is
only displaying the first record.
I think this is part of the problem - MMColParam = "1" when I change the 1 to
another number (say 3) I get the info fom the record for 3
So how do I get it to dynamicaly present the correct record set?
<%
Dim rs_template__MMColParam
rs_template__MMColParam = "1"
If (Request.Form("S_ID") <> "") Then
rs_template__MMColParam = Request.Form("S_ID")
End If
%>
The Wackonerd Guest
-
Paul Whitham TMM #6
Re: Dynamic Page Creation
Your problem is immediate in the code you presented. It is looking for a
passed form value. If you change the line
rs_template__MMColParam = Request.Form("S_ID")
to
rs_template__MMColParam = Request.QueryString("ID")
it should work with the URL string that you have.
--
Regards
Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
[url]www.valleybiz.net[/url]
Team Macromedia Volunteer for Ultradev/Dreamweaver MX
[url]www.macromedia.com/support/forums/team_macromedia[/url]
"The Wackonerd" <webforumsuser@macromedia.com> wrote in message
news:d2qc9k$8hs$1@forums.macromedia.com...it is> Thanks for that Paul,
> I must have typed out the above link incorrectly
> I am getting localhost/mysite/page.asp?id=25 as the displayed link but1 to> only displaying the first record.
>
> I think this is part of the problem - MMColParam = "1" when I change the> another number (say 3) I get the info fom the record for 3
> So how do I get it to dynamicaly present the correct record set?
>
> <%
> Dim rs_template__MMColParam
> rs_template__MMColParam = "1"
> If (Request.Form("S_ID") <> "") Then
> rs_template__MMColParam = Request.Form("S_ID")
> End If
> %>
>
>
Paul Whitham TMM Guest
-
The Wackonerd #7
Re: Dynamic Page Creation
Thanks Paul
You where right on the button, thanks
I did have to also change one other line also as you can see below
<%
Dim rs_template__MMColParam
rs_template__MMColParam = "1"
If (Request.QueryString("ID") <> "") Then
rs_template__MMColParam = Request.QueryString("ID")
End If
%>
thanks again
The Wackonerd Guest



Reply With Quote

