[pmwiki-users] Problem when the sectionedit and multilanguagerecipes coexist

SMETS Stephane BKS-IT stephane.smets at banksys.be
Tue Feb 6 04:00:54 CST 2007


Hello
I have something similar.
It is in the Site Auth Form
I want to have the page in two language, so I put something like this :
 
(if userlang en : )
 
||input...||dhdhdhdhd||
 
( :ifend : )
 
(if userlang fr : )
 
||input...||dhdhdhdhd||
 
( :ifend : )
 
 
It runs normaly when the result of the "if" is true but when the result is false, the table is generated but without the first cell. It seems the (if) ignore the final ifend directive and run the wiki code except for the first markup it found 
I don't find any solution for this so I take the page in one language -:-)
I'am also probably faced with the same problem in another page where I play with the (if) to format a LocalTemplate output format and testing if  a page exists  ....
 
Stephane Smets
 
-----Original Message-----
From: pmwiki-users-bounces at pmichaud.com [mailto:pmwiki-users-bounces at pmichaud.com]On Behalf Of Pierre Racine
Sent: lundi 5 février 2007 21:06
To: pmwiki-users at pmichaud.com
Subject: [pmwiki-users] Problem when the sectionedit and multilanguagerecipes coexist
 
Hi list,
 
Anybody had problems when the sectionedit recipe is installed with the multilanguage recipe? As soon as I enable the sectionedit recipe, all of the following text appear, no matter what language is selected. Only the english or the french one should appear...
 
-----------------------------------------------------------------------------------
(:if userlang en:)
 
!!!Title in english
Text in english
 
(:if userlang fr:)
 
!!!Titre en francais
Texte en francais
(:if:)
 
Other text
-----------------------------------------------------------------------------------
 
Pierre


sa Banksys nv - Chaussee de Haecht 1442 Haachtsesteenweg 
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.
If you have received this message in error, please notify the sender and destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070206/894b3eb7/attachment.html 


More information about the pmwiki-users mailing list