Forums
This topic is locked
Tips and tricks on using extensions!
05 Jun 2001 18:24:42 e site posted:
Hi there Ud-ers!The more I develop in UD, the more I encounter custom situations and problems. I wanna start here sharing tips and tricks on using already existing extensions. Hope this will get 'hot'
E.g. I combined the "MM User Login Behaviour" together with a "Set cookie if checkbox is yes".
Problem: even if the login was incorrect, the cookie was set!
Solution: take the "Set cookie..." code down to where the MM script returns the comment 'This is a valid user' and past it there.
The cookie then will only be set when the login is correct!
Hope to hear much more like this from the communitey
e_site
Replies
Replied 05 Jun 2001 20:27:21
05 Jun 2001 20:27:21 Waldo Smeets replied:
Wow e_site, that's a good initiative. Why don't you post your Tips & Tricks in the FAQs section? I can even make a new category for it when you need it.
You are not the only one hoping to see lots of tips... this is defenitely what we need on a site like this (i.e. we need content <img src=icon_smile_big.gif border=0 align=middle>.
Thanks, feel free to post everything you know!
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
You are not the only one hoping to see lots of tips... this is defenitely what we need on a site like this (i.e. we need content <img src=icon_smile_big.gif border=0 align=middle>.
Thanks, feel free to post everything you know!
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
Replied 06 Jun 2001 02:50:22
06 Jun 2001 02:50:22 e site replied:
Hi Waldo,
yeah, that's what boards are for huh
I'll put something I know together and post them here... but hey, anyone pleaeaeaese feel free to post your tips too! They are *really* important to make full use of UD and all of us can learn to make a better web .
Ciao!
e_site
P.S. briefly I will develop my first UltraCart site. I was thinking of writing some kind of "daybook" so anyone can follow this, the problems that occur, the soltions for those... Just kind of a "looking over your shoulder" feeling?
What about it?
yeah, that's what boards are for huh
I'll put something I know together and post them here... but hey, anyone pleaeaeaese feel free to post your tips too! They are *really* important to make full use of UD and all of us can learn to make a better web .
Ciao!
e_site
P.S. briefly I will develop my first UltraCart site. I was thinking of writing some kind of "daybook" so anyone can follow this, the problems that occur, the soltions for those... Just kind of a "looking over your shoulder" feeling?
What about it?
Replied 06 Jun 2001 02:54:37
06 Jun 2001 02:54:37 Waldo Smeets replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>P.S. briefly I will develop my first UltraCart site. I was thinking of writing some kind of "daybook" so anyone can follow this, the problems that occur, the soltions for those... Just kind of a "looking over your shoulder" feeling?
What about it?<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Cool, I already talked about this a few weeks ago with someone else, but never heard from her after that period. I think it would be really usefull for people that want to start with the shopping cart.
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
What about it?<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Cool, I already talked about this a few weeks ago with someone else, but never heard from her after that period. I think it would be really usefull for people that want to start with the shopping cart.
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
Replied 06 Jun 2001 03:00:58
06 Jun 2001 03:00:58 e site replied:
Another one:
Not sure if this has been done already... I use this code snippet to stuff a cookie into a Session.
<%
If Request.cookies("Your_CookieName" <> "" Then
Session("Your_SessionName" = Request.cookies("Your_CookieName"
End If
%>
Put on top of page. This is really handy for MM logins that also use the "Set cookie if checkbox is yes" extension. No re-login required now whe nthe guy comes back; the MM_Username Session var is directly pulled into the page.
e.g.
<%
If Request.cookies("CK_Username" <> "" Then
Session("MM_Username" = Request.cookies("CK_Username"
End If
%>
Tweak at your own needs
e_site
Not sure if this has been done already... I use this code snippet to stuff a cookie into a Session.
<%
If Request.cookies("Your_CookieName" <> "" Then
Session("Your_SessionName" = Request.cookies("Your_CookieName"
End If
%>
Put on top of page. This is really handy for MM logins that also use the "Set cookie if checkbox is yes" extension. No re-login required now whe nthe guy comes back; the MM_Username Session var is directly pulled into the page.
e.g.
<%
If Request.cookies("CK_Username" <> "" Then
Session("MM_Username" = Request.cookies("CK_Username"
End If
%>
Tweak at your own needs
e_site
Replied 29 Jun 2001 16:07:06
29 Jun 2001 16:07:06 e site replied:
Here is workaround for another problem I had today:
www.udzone.com/forum/topic.asp?TOPIC_ID=406&FORUM_ID=3&CAT_ID=2&Topic_Title=Problem+with+Basic%2DUltradev%27s+Links+List+SB&Forum_Title=Dreamweaver+UltraDev
Using the LinksList behaviour with more than one RS might cause a little bug...
e_site
www.udzone.com/forum/topic.asp?TOPIC_ID=406&FORUM_ID=3&CAT_ID=2&Topic_Title=Problem+with+Basic%2DUltradev%27s+Links+List+SB&Forum_Title=Dreamweaver+UltraDev
Using the LinksList behaviour with more than one RS might cause a little bug...
e_site