Quote:
Originally Posted by Admin
So, to better understand what you want to do...
It looks like you want to be able to pass a variable in your <link> tag that will tell your server-side code what configuration to load? If that's the case, then I think you've got it right.
Admin
|
Oh thank you!
Yes, I want to do that. What happened is that in the Developer Manual the name used for the second config file is "config.ini". Then, in the syntax the word "config" appears and one doesn't know if it is a php command or the name of the .ini file, got my point?
Look at the example in the Developer Manual:
<link rel="stylesheet" type="text/css" media="screen,projection"
href="/udm-resources/udm-style.php?config=<?php echo($config); ?>" />
and
<script type="text/javascript"
src="/udm-resources/udm-dom.php?config=<?php echo($config); ?>"></script>
While I, as a non-php dev, can guess that the $config refers to the name of config.ini, the first "config" (in "config=<...") made me confused. Is it a command or the name of the file, I thought to myself? That's why I called it santaclaus.ini in my first post in order to remark "where" my doubt was. As that name sounded "too funny" and my post might be taken as a joke, I decided to replace it with "udm-custom2" (more formal
).
Thanks for your help, friend.