[TYPO3-core] RFC: classes for List module ignore BACK_PATH
dmitry at typo3.org
Wed Dec 20 11:25:06 CET 2006
This is SVN patch request.
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)
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...
"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...
More information about the TYPO3-team-core