[Typo3-dev] BE: Get link of page
    Sebastian Fastner 
    sebastian at fastner-online.de
       
    Fri Jun 11 13:30:41 CEST 2004
    
    
  
hiho,
i'm writing a be validator plugin (under the web module) and I want to 
create the URL of the page that is clicked in the page tree.
The page id is available via $this->id, but how can I make a URL from this?
I can simply add a "http://www.fh-bingen.de/index.php?id=" but I want to 
make the plugin work on other servers too (it's probably usefull for 
others).
A problem in reading out the php global vars is that the plugin could be 
installed global and local and maybe the typo3 install is in a directory 
under docroot.
So I can't use the server or script variables.
Mhh, maybe I should search for the magnifier function on top of a 
standard be plugin...
Sebastian
Wolfgang Klinger wrote:
> *hiya!*
>
> On Fri, 11 Jun 2004, Sebastian Fastner wrote the following:
>  
>
>>how can I get the URL of a page in an BE-Module?
>>Is there a function that creates the FE-URL when I gave the page id to it?
>>    
>>
>
> Do you mean "t3lib_div::linkThisScript(array())"?
> Explain your problem a little bit...
> 
> bye
> Wolfgang
>
>
>
>_______________________________________________
>Typo3-dev mailing list
>Typo3-dev at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
>
>  
>
-- 
---
fastner.it
Sebastian Fastner
Silvanerweg 2
55452 Rümmelsheim
phone +49-6721-4977935
fax   +49-6721-4977936
email sebastian at fastner-online.de
    
    
More information about the TYPO3-dev
mailing list