Tuesday, July 09, 2013

Hideable navigation on Custom Home extension

To make more space in the main column, we can try to wrap the navigation using div, so that it will be hidden  on window load. This example shows how to wrap the navigation using typoscript.

In this example, the navigation is defined in left_nav object:
page.10.subparts {
  left_nav.wrap = <div id="nav1" class="nav"><div class="nav-btn"><img width="16" height="16" alt="Info" title="Info" src="../typo3/sysext/t3skin/icons/module_web_list.gif"></div> | </div>
The div above will be processed by jquery so that it will be hidden by default, we can hover on the icon to make it visible, and then we can access the navigation.

Tuesday, July 02, 2013

Changing Shibboleth Hostname


When we change the hostname, for example: idp.example.com to idp.example2.com, we need to change the definition in configuration file and also the SSL certificate. The information below, lists which files are needed to be changed.

Changing IDP hostname

When we change the IDP hostname, the following files should be edited:
  • edit shibboleth2.xml on SP server
  • edit relying-party.xml (IDP SSL cert path)
  • edit idp-metadata.xml (hostname and ssl cert)
  • edit apache conf (SSL cert path)
After that, restart both IDP and SP services.