17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 2818 Views |
-
Hiding OpenID login

9 July 2008 at 2:38am
Hi,
How can I hide the OpenID login?
I also want the E-Mail & Password login hidden so that my users have to login through an external source.
Any suggestions?
Cheers
-
Re: Hiding OpenID login

9 July 2008 at 4:45pm
You can remove the open id login by deleting the whole open id module - auth_openid folder. You could probably use just CSS otherwise to do { display: hidden;} on the tab you use to click.
-
Re: Hiding OpenID login

9 July 2008 at 8:26pm
In that case I'm going to need to override tabstrips css. However my css files are being applied in the following order:
<link rel="stylesheet" type="text/css" href="themes/staff/css/typography.css" />
<link rel="stylesheet" type="text/css" href="themes/staff/css/form.css" />
<link rel="stylesheet" type="text/css" href="themes/staff/css/layout.css" />
<link rel="stylesheet" type="text/css" href="jsparty/tabstrip/tabstrip.css" />
<link rel="stylesheet" type="text/css" href="sapphire/css/Form.css" />How can I make the tabstrip.css and Form.css apply before my typography.css, form.css and layout.css?
Cheers
-
Re: Hiding OpenID login

9 July 2008 at 8:45pm
You can't, well not easily. Best way is just to use bigger CSS Selectors, and/or get a higher inheritance eg if they are styled like .tab or something just do something like #Content .tab so it doesnt matter what order they are included, your rules are of a higher order.
-
Re: Hiding OpenID login

9 July 2008 at 9:08pm
The actually tabbed effect is being applied through the DOM by the tabstrip.js so I can't override it using CSS?
-
Re: Hiding OpenID login

9 July 2008 at 9:16pm
did you want open id support at all? You could just remove that module completely - or edit the auth_openid/_config file and remove the last line? I think that would effectively 'disable' it
-
Re: Hiding OpenID login

9 July 2008 at 9:29pm
Ive removed the open_id. But I want to hide the basic E-mail Password login, so that my users have to use the External Authentication module and that's there only option.
-
Re: Hiding OpenID login

9 July 2008 at 9:42pm Last edited: 9 July 2008 9:58pm
In fact how can I just remove all js libraries from my site so:
<script type="text/javascript" src="jsparty/loader.js"></script>
<script type="text/javascript" src="jsparty/prototype.js"></script>
<script type="text/javascript" src="jsparty/behaviour.js"></script>
<script type="text/javascript" src="jsparty/prototype_improvements.js"></script>
<script type="text/javascript" src="jsparty/tabstrip/tabstrip.js"></script>
<script type="text/javascript" src="jsparty/scriptaculous/effects.js"></script>I understand that these are used for the CMS backend. But they shouldn't really be included in the live site.
Equally so, how can I add my own in?
| 2818 Views | ||
| Go to Top | Next > |


