[TYPO3] if translation of page exists

JoH asenau info at cybercraft.de
Mon May 14 17:56:56 CEST 2007


> I have scoured the typo3 core api and I am not able to find the data
> structure which would allow me to find out if the translation for a
> certain pid is exists.  It must exists somewhere because if you
> manually try to go to a page which has no translation you get the
> typo3 error message that the page doesn't exist in the given
> language.  I need to be able to call this function or query this data
> structure from my own userfunc.

What about a simple query checking the pages_language_overlay and/or the
tt_content table?
If you already got the pid it should be a no brainer ...

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list