View Single Post
Unread 01-26-2008, 10:17 AM
GabrielP GabrielP is offline
Junior Member
Join Date: Jan 2008
Location: Argentina
Posts: 7

Yes, I can understand that, but my problem lies in that my website is in two languages. In the English section, I use the configuration you wrote in the dev manual (i.e. udm-custom.ini and so on), but in the Spanish section I need to define a second .ini file, say, udm-custom-sp.ini. My doubt is the way I put the code. I think that I have to set it up like this (note I added (IS THIS RIGHT OR NOT?) where I have doubts specifically):

<?php $config = $_SERVER['DOCUMENT_ROOT'] . '/path/to/udm-custom-sp.ini'; ?>

then, on each of the pages belonging to the Spanish section, I write

<link rel="stylesheet" type="text/css" media="screen,projection"
href="/udm-resources/udm-style.php?udm-custom-sp=<?php echo($udm-custom-sp); ?>" /> (IS THIS RIGHT OR NOT?)


<script type="text/javascript"
src="/udm-resources/udm-dom.php?udm-custom-sp=<?php echo($udm-custom-sp); ?>"></script> (IS THIS RIGHT OR NOT?)


Finally, I add another $cmatch to udm-style.php and udm-dom.php this way:

$cmatch = 'udm-custom.ini';
$cmatch = 'udm-custom-sp.ini'; (IS THIS RIGHT OR NOT?)

Last edited by GabrielP : 01-26-2008 at 10:21 AM.
Reply With Quote