Enhancement
Allow customized preprocessing of store url
Issue description
When a user enters the store url, he gets to the start page which contains an index. This behavior binds the store url to this view on the web database. It should be possible to communicate the store url as the entry point for any user group no matter whether their initial view is the index. By setting a store configuration parameter custom.index and by creating a file STORE_DIR/php/index.php a user can add additional request distribution logic.
Use cases
[%<?php
require_once("api/TopincsHelper.php");
require_once("domain/UserAccount.php");
if (TopincsSession::$instance->is_started()) {
header("Location: " . TopincsHelper::get_current_user_account()->compute_startpage());
} else {
header("Location: login"); // login is a service
}
exit;%]
|
Work sessions
Start |
2012-01-09T17:18:48
|
End |
2012-01-09T18:30:00
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.