cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1420
Views
0
Helpful
1
Replies

Sponsor portal customization fail

gpinero
Level 1
Level 1

I'm trying to customize sponsor portal from ISE using this guide of @Jason Kunst 

https://community.cisco.com/t5/security-documents/ise-sponsor-portal-customization-manage-accounts-page/ta-p/3723852

 

Using this example:

 

 

<script>
setTimeout(function() {
    $($('.cisco-navbar')[0]).hide();
    $($('.cisco-navbar')[9]).hide();
    $($('.ui-field-contain')[9]).hide();
}, 300);
</script>

The Navbar is hidden but the language field not. If I run this command using developer web console:

 

 

$($('.ui-field-contain')[9]).hide();

The language field hide! 

 

 

Why not work when I write it in Sponsor Portal Settings>  Instructional Text?

How can I hide: person being visited, language, grouptag... in sponsor portal?

Thanks

 

 

CCNP R&S, CCNP Security, CCNA CyberOps
1 Reply 1

gpinero
Level 1
Level 1

Hi again, I solved the issue using CSS.

To do it, you need to export CSS theme from Portal Page Customization, change it and the reupload. To avoid change default theme y created a new one.

caputre_css.png

 

 

 

I add this lines to my custom CSS theme to hide guestLanguage selector, Person Being Visited and group Tag fields.

 

div[key="guestLanguage"]{
    display: none;
}
div[key="personBeingVisited"] {
    display: none;
}
div[key="groupTag"] {
    display: none;
}

I'm not sure if this is a good way to do it, but in my opinion with CSS avoid lag in script load using Jquery.

 

I await your comments

Thanks.

 

 

 

 

CCNP R&S, CCNP Security, CCNA CyberOps
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: