Share » Forums » Setup & design » Reach to the required link after login.

Reach to the required link after login.

Reach to the required link after login.

Wednesday 18 May 2005 9:58:39 am - 2 replies

Author Message

Ekkehard Dörre

Wednesday 18 May 2005 10:59:48 am

Hi, give him the direct link to his space, login promt will come, then after login he'll be redirected to this page.

eg: example.com/advertise_nice (protected)
login promt will come,
example.com/user/login
after login back in
example.com/advertise_nice

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

nga patel

Thursday 19 May 2005 1:20:29 am

No, its not working, Accetually I had user the standard/user/login file and I had add the line as per below in above file:

<form method="post" action={"/user/login/"|ezurl}>
<form method="post" action={"espace_annonceurs/profil"|ezurl}>

<div class="maincontentheader">
<h1>{"Login"|i18n("design/standard/user")}</h1>
</div>

{section show=$User:warning.bad_login}
<div class="warning">
<h2>{"Could not login"|i18n("design/standard/user")}</h2>
<ul>
    <li>{"A valid username and password is required to login."|i18n("design/standard/user")}</li>
</ul>
</div>
{section-else}

{section show=$site_access.allowed|not}
<div class="warning">
<h2>{"Access not allowed"|i18n("design/standard/user")}</h2>
<ul>
    <li>{"You are not allowed to access %1."|i18n("design/standard/user",,array($site_access.name))}</li>
</ul>
</div>
{/section}

{/section}

<div class="block">
<label for="id1">{"Username"|i18n("design/standard/user",'User name')}</label><div class="labelbreak"></div>
<input class="halfbox" type="text" size="10" name="Login" id="id1" value="{$User:login}" tabindex="1" />
</div>
<div class="block">
<label for="id2">{"Password"|i18n("design/standard/user")}</label><div class="labelbreak"></div>
<input class="halfbox" type="password" size="10" name="Password" id="id2" value="" tabindex="1" />

<input class="defaultbutton" type="submit" name="LoginButton" value="{'OK'|i18n('design/standard/user','Button')}" tabindex="1" />
</div>

{section show=ezini( 'SiteSettings', 'LoginPage' )|eq( 'custom' )}
    <p><a href={'/user/forgotpassword'|ezurl}>{'Forgot your password?'|i18n( 'design/standard/user' )}</a></p>
{/section}

<input type="hidden" name="RedirectURI" value="{$User:redirect_uri}" />
</form>
</form>

So, as you can see in above, to redirect the page I had put one link but it is not working.
Any other change?
Thanks

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu