Forums / Templates, Stylesheets, Page Layout / Plain login and Registration

Plain login and Registration

Locked

Views: 1,518

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
20 Jan 2010, 6:45 PM
#1
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Plain login and Registration

I'm overlooking sometime simple I'm sure. But I need to simplify the login/Signup page(s). When a visitor clicks to [Login] they should be taken to a plain page with no header, no footer, no sideboxes. I just want the bare basics then it takes them back to the normal store.

20 Jan 2010, 6:48 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Plain login and Registration

In includes/templates/classic/css there's a file that gives basic instructions on how to style pages differently from one another. You could use that to turn off those elements on that page.

20 Jan 2010, 7:13 PM
#3
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Re: Plain login and Registration

css won't turn those parts on or off. The css only tells the browser HOW to display those elements.

20 Jan 2010, 7:45 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Plain login and Registration

I beg to differ, but that's the only way I know how to do it without hacking code. Check out display:none;

20 Jan 2010, 8:00 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Plain login and Registration

True, CSS won't turn the processing of those elements off, but it can totally keep them from displaying. That is just as good unless you have a high-traffic site where processing milliseconds really matter.

There is a simple method of coding to turn off sidebars, header, etc. on a particular page, described in the comments at the top of /includes/templates/template_default/common/tpl_main_page.php.

20 Jan 2010, 8:02 PM
#6
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Re: Plain login and Registration

ah, good point. Depending on what other suggestions pop up I may give this a try.

20 Jan 2010, 9:30 PM
#7
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Re: Plain login and Registration

gjh42:

There is a simple method of coding to turn off sidebars, header, etc. on a particular page, described in the comments at the top of /includes/templates/template_default/common/tpl_main_page.php.

this is what I was overlooking. This got me what where I needed to be, thank you.

20 Jan 2010, 10:30 PM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Plain login and Registration

But I need to simplify the login/Signup page(s). When a visitor clicks to [Login] they should be taken to a plain page with no header, no footer, no sideboxes.

Totally plain, interesting concept. Why do you think everything except the login should be off?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

20 Jan 2010, 10:49 PM
#9
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Re: Plain login and Registration

Kim:

Totally plain, interesting concept. Why do you think everything except the login should be off?

the site owner thinks its "too busy" for login. He wants it plain and simple so there is no confusion.

20 Jan 2010, 10:54 PM
#10
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Re: Plain login and Registration

gjh42:

There is a simple method of coding to turn off sidebars, header, etc. on a particular page, described in the comments at the top of /includes/templates/template_default/common/tpl_main_page.php.

Getting this done for the login page was simple with that info. BUT I'm not able to loose the sidebars with a specific category or product. There is 1 category for "free downloads" and I need the same simple look for ONLY that category and not the others.

this didn't do it

if ($current_page_base == 'index' and $cPath == '7' and $products_id == '39') {
$flag_disable_right = true;
}

23 Jan 2010, 6:35 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Plain login and Registration

For that, try a per-category stylesheet.
Make a file named c_##.css where ## is the category id, with this content:

#navColumnTwo {display: none;}

Save to /includes/templates/your_template/css/.
Do the same with p_##.css if desired, for the product info page.