Dear all,

I need help to automatically add the pid into a piece of typoscript 
which switches language, ie replacing the text [PAGE NUMBER] with code 
that generates that page id.

Here is the code for each relevant global setting:

lib.arlwy_top_de = COBJ_ARRAY
 lib.arlwy_top_de {
   8 = TEXT
   8.field = uid
   8.wrap = <a href="index.php?id=[PAGE NUMBER]&L=1">Cymraeg</a>
   }

lib.arlwy_top_de = COBJ_ARRAY
 lib.arlwy_top_de {
   8 = TEXT
   8.field = uid
   8.wrap = <a href="index.php?id=[PAGE NUMBER]&L=0">English</a>
   }

Thanks in advance,
Sara

-- 
Sara Weale
Rheolwr y We / Web Manager
Llyfrgell Genedlaethol Cymru
National Library of Wales
Aberystwyth
Ceredigion
SY23 3BU

Ffôn/Phone: 01970 632845
Ebost/Email: [EMAIL PROTECTED]
http://www.llgc.org.uk/

Nid yw'r neges yma o reidrwydd yn adlewyrchu barn y Llyfrgell.
This message does not necessarily reflect the opinion of the Library.

_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to