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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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
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.
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
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.
The actually tabbed effect is being applied through the DOM by the tabstrip.js so I can't override it using CSS?
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
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.
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?