[TYPO3-core] RFC: bug#3522 Linking images to hidden pages results in click-enlarge
Ernesto Baschny [cron IT]
ernst at cron-it.de
Sun May 21 11:53:54 CEST 2006
This is a CVS patch request
Type:
Minor bugfix
Problem:
Linking images to currently unavailable pages (hidden,
restricted due to FE-permissions or timebased restrictions)
results in a click-enlarge of that image instead.
Reproduce with:
- create an "Images" content element with just one image
- link that image with some hidden page
- render that page in FE and click on the image
Solution:
Current TS to "enable" the click-enlarge relies on the
assumption that typolink will generate a link out of something
filled in the "image_link" field. But when typolink doesn't
(e.g. page is hidden), the click-enlarge is generated instead.
Solution is to check if typolink would generate a link instead
relying on the non-emptyness of the "image_link" field.
Branches:
HEAD and TYPO3_4-0
Bugtracker reference:
http://bugs.typo3.org/view.php?id=3522
Files:
bug-3522.diff attached
Further comment: This also affects "content (default)". As I don't know
how to make a patch for that static template, this is currently not
handled by this diff. See previous thread.
Cheers,
Ernesto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-3522.diff
Type: text/x-diff
Size: 913 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060521/1cd7d4db/attachment.bin
More information about the TYPO3-team-core
mailing list