Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Create a new page (User Account)

Quote Reply
Create a new page (User Account)
I would like to add a menue entry (called User Account) to the menue (or near to the Logout Field) if a user is logged in.

(I wanna make this entry to a central point where the user can find further links and options)

This menue entry should only be shown, when the user is logged in.

My questions are:

1.) How could I reach the page, which is shown after a successful login. )It's the page: login_success.html,
In this page I added the other links and created a news section)

2.) How could I show an own html page, which I created. ( The login_success.html already existed and is used but how do i start an own written page.)

3.) How could I check if the user is already locked in.
<%if .....
Quote Reply
Re: [qes] Create a new page (User Account) In reply to
I would like to do this too. anyone?

How do i link to loginsuccess.html or my own custom page?
Jason Bishop

Quote Reply
Re: [netnow] Create a new page (User Account) In reply to
Frown Sorry, I did not et to work it. IF you get some "tutorial" for that I would appreciate if you could share it here. I believe it's very similar with every other page than to. So if we got a tutorial for one page.... this would solve our problem.
Quote Reply
Re: [qes] Create a new page (User Account) In reply to
This is got to be easy anyone have any ideas????????????????

Please Help Me!
Jason Bishop

Quote Reply
Re: [netnow] Create a new page (User Account) In reply to
Not quite sure what you mean ... on add_success.html you can add <%if user.Username%>do stuff<%endif%> if the person is logged in.
Quote Reply
Re: [garrynz] Create a new page (User Account) In reply to
Yes, i understand that, but what i am trying to do is with the navigation. On Login-success.html

(Home/ Logged In)

For the home button I want to link back to login-success.html instead of the site home page. a href="/what do i put here"
Jason Bishop

Quote Reply
Re: [qes] Create a new page (User Account) In reply to
I am having a page setup that upon successful login, user will see their profile and links such as:

1) View your favorites
2) View your account information
3) My Listings : View all your listings
4) Submit Listing
5) Modify Listings: Modify your Web Hosting Plan (s)
6) Remove Listings: Remove your listing
7) Update your profile

Name
Company Name
Site URL
Address Line 1
City
State
Zip Code
Country
Email Address
Email Display?
Phone Number
Toll Free Number
Fax Number

...

I have used below setup.

<%if user.Username%>
Then required display user profile information here.

<%endif%>

Hope this helps.


Vishal

Vishal
-------------------------------------------------------

Last edited by:

SWDevil.Com: May 18, 2006, 6:09 PM
Quote Reply
Re: [netnow] Create a new page (User Account) In reply to
<%include login_success.html%>

????

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Create a new page (User Account) In reply to
Hi Andy,

maybe you could help first with something more easy.

I would like to make a impressum page with some text in.

There should be a Link to impressum on the home page.

How could I realize that?
Quote Reply
Re: [qes] Create a new page (User Account) In reply to
"impressum" ???

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Create a new page (User Account) In reply to
Hi

My german is a bit rusty but I think it means legal/terms & conditions :)

John
Significant Media
Quote Reply
Re: [Jag] Create a new page (User Account) In reply to
Aaah, thanks :D (was thinking he meant "impression", which is why I didn't understand what he mean't <G>)

Que -

First, take a copy of a basic template, i.e; (for luna);

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%site_title%> - Page Title</title>
<%include include_common_head.html%>
</head>
<body id="home">
<%include include_accessibility.html%>
<div id="wrapper">
<%include include_header.html%>
<%include include_contentheader.html%>
<div id="ocwrapper" class="clear">
<div id="icwrapper" class="clear">
<%include include_leftsidebar.html%>
<div id="contentwrapper" class="shadowleft">
<div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
<div class="shadowright">

<div id="content">

<h4>Put Your Title</h4>

<p>
you can put your content here
</p>

</div>

</div>
<div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
</div>
<%include include_rightsidebar.html%>
</div>
</div>
<%include include_contentfooter.html%>
<%include include_footer.html%>
</div>
</body>
</html>

Then, save this as "disclaimer.html".

You can then call this with;

page.cgi?p=disclaimer

If you want to make it look like a static page, you can use this mod_rewrite;

Code:
RewriteEngine On
RewriteRule disclaimer\.html /cgi-bin/page.cgi?p=disclaimer

Hope that helps =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Create a new page (User Account) In reply to
Hi Andy Hi John,

thanks to you both for your support. This is excactly what I was looking for.

Best regards,

qestion ;-)

Ps: It's a pitty that the Gossamer Forum does not support a value system (like the sdn.sap.com Forum) Otherwise I would value you some points for your help....
Quote Reply
Re: [qes] Create a new page (User Account) In reply to
Hi,

No problem ==)

Quote:
Ps: It's a pitty that the Gossamer Forum does not support a value system (like the sdn.sap.com Forum) Otherwise I would value you some points for your help....

It kinda does (although, it needs my UserKarma plugin installed <G>)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!