Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Hiding OpenID login


Go to End
Reply


10 Posts   3162 Views

Avatar
MKayHavoc

Community Member, 33 Posts

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

Avatar
Willr

Forum Moderator, 5513 Posts

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.

Avatar
MKayHavoc

Community Member, 33 Posts

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

Avatar
Willr

Forum Moderator, 5513 Posts

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.

Avatar
MKayHavoc

Community Member, 33 Posts

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?

Avatar
Willr

Forum Moderator, 5513 Posts

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

Avatar
MKayHavoc

Community Member, 33 Posts

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.

Avatar
MKayHavoc

Community Member, 33 Posts

9 July 2008 at 9:42pm

Edited: 09/07/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?

Go to Top