Project

General

Profile

Actions

Feature #16253

closed

tslib_fe::getStorageSiterootPids: get all storage-pids in whole rootline

Added by Andreas Wolf over 18 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-06-19
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Quite a number of extensions rely on the storage-pid in the page-header to find out where to take records from, e.g. TemplaVoila, all FE-logins, ldap_server etc.

This could cause a problem, e.g. when you have stored your FE-users on a different page for the sake of clarity. tslib_fe::getStorageSiterootPids only returns the first storage-pid found in the rootline, so if you have set the storage-pid of a page to the folder with FE-users, you can't access any objects in folders you have set as a storage-folder on the root-page of your site.

I extended getStorageSiterootPids to return two new items in the $res-array. One contains all storage-pids in the whole rootline and the other one only the storage-pids up to the root of the website. I have attached a patchfile with the changes.

(issue imported from #M3692)


Files

3692.patch (1.24 KB) 3692.patch Administrator Admin, 2006-06-19 10:00
3692_new.patch (1.25 KB) 3692_new.patch Administrator Admin, 2006-08-15 11:12
Actions

Also available in: Atom PDF