[TYPO3-core] RFC #3976: Bug: Make workspace preview works with multiple sites

Oliver Hader oh at inpublica.de
Fri Feb 22 18:25:54 CET 2008


Hi,

I just corrected some spacing issues in your patch. I seems that all 
tabs got converted to space chars. I did not review or test the patch, yet!

olly


Joannie Racine schrieb:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=3976
> 
> Branches:
> trunk (revision 3244)
> 
> Problem:
> When a user has access to multiple subdomains, if he logs in with a 
> subdomain A and he wants to preview a page from a draft or custom 
> workspace in a subdomain B, the path is wrong.
> 
> Solution:
> In the function viewOnClick of the file t3lib/class.t3lib_befunc.php, 
> the variable $preUrl used to create the url of the LIVE workspace 
> preview should be used also for the draft or custom workspace preview. 
> So I moved the condition concerning the 
> $GLOBALS['BE_USER']->workspace!=0 after the variable $preUrl was 
> assigned and I used it to create the url for the workpsace preview.
> 
> Regards,
> 
> Joannie Racine
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003976_v2.patch
Type: text/x-patch
Size: 1416 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080222/a331d93d/attachment.bin 


More information about the TYPO3-team-core mailing list