Go Back   Ultimate Web Site Drop Down Menu Forum > UDM4 > Troubleshooting
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Unread 01-26-2008, 10:17 AM
GabrielP GabrielP is offline
Junior Member
Join Date: Jan 2008
Location: Argentina
Posts: 7
  #1  
Default

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?)

and

<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
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:39 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.