Ah I see. In that case if you redirect to /webtop/login.cfm?returnURL=#urlencodedformat(whereto)#, once the user has successfully logged in they will be returned to URL you specify.
Blair On Fri, Jul 17, 2009 at 10:10 AM, Marco van den Oever < [email protected]> wrote: > > Ok that's interesting to know indeed, although in this situation > users, customers can browse and order products, in the filled shopping > card is a statement that they should login or register (if not > already) to finish the order. > > So i could created a checkout section / site tree section, and secure > that... > > Ok thanks. > > On Jul 17, 1:59 am, Blair McKenzie <[email protected]> wrote: > > If you have secured a section of the site tree to not be viewable by > > anonymous users, everyone who attempts to go to that section will be > taken > > to the login page first then redirected back afterwards. > > > > Blair > > > > On Fri, Jul 17, 2009 at 9:48 AM, Marco van den Oever < > > > > [email protected]> wrote: > > > > > Yes certainly, created it is. > > > > > So about the logging in, you can actually log in without using / > > > webtop? > > > > > What i want to do is let a customer click a login link in a shop, then > > > when this link is clicked just go to the standard login screen, but > > > then after logging in go back to the shop instead of webtop. > > > > > So if customer logs in through shop go back to shop, i assume i just > > > need to pass on urlparameters, then based on those perform some > > > cflocation. > > > > > In this case i could just use /webtop and then cflocate after logging > > > in action. > > > > > Is this how you should do it? > > > > > On Jul 17, 1:20 am, Blair McKenzie <[email protected]> wrote: > > > > This may be a bug. Could you create a ticket for it? logout=1 should > work > > > > for almost any page in farcry. Logging in is a different matter, and > the > > > > best approach depends on what you're trying to do. > > > > > > Blair > > > > > > On Fri, Jul 17, 2009 at 4:27 AM, Marco van den Oever < > > > > > > [email protected]> wrote: > > > > > > > In addition, is it true you have to use /webtop for login / logout > > > > > actions or can you change this behaviour? I notice that without a / > > > > > webtop in the path the logging in etc is not working. > > > > > > > On Jul 16, 8:11 pm, Marco van den Oever < > [email protected]> > > > > > wrote: > > > > > > This is strange, when i use the below code: > > > > > > > > "<skin:buildLink objectid="#url.objectid#" urlParameters="show" > > > > > > class="morelink">logout</skin:buildLink>" > > > > > > > > I see the urlparameter in the generated link. > > > > > > > > When i use: > > > > > > > > "<skin:buildLink objectid="#url.objectid#" > urlParameters="logout=1" > > > > > > class="morelink">logout</skin:buildLink>" > > > > > > > > or even: > > > > > > > > "<skin:buildLink objectid="#url.objectid#" urlParameters="logout" > > > > > > class="morelink">logout</skin:buildLink>" > > > > > > > > I don't see an urlparameter anymore! > > > > > > > > What's going on? Thanks. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
