[Typo3-dev] BE: Get link of page

Kasper Skårhøj kasper at typo3.com
Fri Jun 11 14:40:49 CEST 2004


See TYPO3 Core API:

List of High Priority Functions that every developer should go and read
RIGHt now:
http://typo3.org/documentation/document-library/doc_core_api/High_priority_functi/

In this list you will find "t3lib_BEfunc::viewOnClick" which might be
what you mean.

If you want to create the "right link" to a page with
simulateStaticDocument/realurl/ etc. taken into account that it not
possible at all since those things are evaluated by the frontend based
on TypoScript Template settings which means the backend cannot do
anything to get that.

If you just want to link to a page id, "index.php?id=123" always works.
Correclty, "TYPO3_SITE_URL" from t3lib_div::getIndpEnv() is also the
right prefix you should always be able to use.

- kasper







More information about the TYPO3-dev mailing list