[TYPO3] HMENU - UniqueID of rendered images

Raymond Schreiber schreiber at shr.cc
Wed Jun 18 14:23:05 CEST 2008


Hi,

I would like to access the automatically generated UniqueID of rendered
images (which are used in the Javascript -> onmouseover/onmouseout) via
Typoscript. This UniqueID seems to consist of 3 parts ­ a img-prefix, the
Uid from the hyperlink and a third part.

If all else fails I could write this UniqueID by hand by means of using a
static img-prefix and access the Uid by using {elementUid} - anyhow the
third part is still missing ...

I¹ve seeked after it in the TYPO3 API and discovered in the
class.tslib_menu.php at line 1616 something which might be helpful:
$this->imgNamePrefix.$this->I['uid'].$this->I['INPfix'];

Exactly what I need!

Admittedly you couldn¹t access this via Typoscript ­ or at least I¹m not
able to.
Does anybody have an idea how to achieve this?

Hope someone is able to help or even have experienced the same problem.

Greetings from Hamburg, Germany,
Ray



More information about the TYPO3-english mailing list