[TYPO3-core] RFC: Bug #13861: Opening website frontend view from backend does not work properly
Oliver Hader
oliver at typo3.org
Fri Mar 26 22:29:12 CET 2010
Hi Dmitry,
Am 18.03.10 18:02, schrieb Dmitry Dulepov:
> Hi!
>
> Oliver Hader wrote:
>> I renamed the accordant method from getViewDomain() to
>> getViewUrlPrefix() since it does more than just return a domain name.
>> The method was introduced with TYPO3 4.4-alpha1 and thus can still be
>> changed. Besides that I corrected the PHPdoc comments of that method.
>> The patch for RFC #9508 which is still pending has to be adjusted as well.
>
> We could do a little better: make a function named getViewURL. That
> function should call hooks first and return whatever they return. If
> there are no hooks, it should return default URL.
>
> Why is it useful? Extensions like pagepath can provide a full speaking
> URL for viewing from Backend. This would be a great advantage, great new
> feature and a step to more consistency between BE and FE.
Sounds good. However, then I modify this very patch, fix the bug and
then create a new RFC with the new function with the hook stuff...
olly
--
Oliver Hader
TYPO3 v4 Core Team Leader
More information about the TYPO3-team-core
mailing list