[TYPO3-core] RFC: classes for List module ignore BACK_PATH

Dmitry Dulepov dmitry at typo3.org
Wed Dec 20 11:25:06 CET 2006


Hi!

This is SVN patch request.

Branches: both

Problem: several classes for List module violate our own practices and 
ignore BACK_PATH for URLs. These classes (not module itself but some of 
its helper classes!) assume they run from typo3/. Interestingly they do 
not assume so for images and correctly use BACK_PATH for images 
(otherwise skinning will not work). This inconsistence causes problems 
if one tries to reuse those classes from extensions: extension author 
have to create a subclass and copy several functions to his own 
extensions only to fix this problem.

Solution: add $this->backPath (in one place it is $this->doc->backPath) 
where necessary.

List module works ok after such change.

I really home it comes to both branches (bug fix!) and comes fast 
(pretty obvious fix). Currently TemplaVoila needs this thing ASAP and I 
really hate to copy half of List module functions to TemplaVoila just to 
fix this bug...

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: list_backPath.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061220/b50ccf4d/attachment.txt 


More information about the TYPO3-team-core mailing list