Drefsab
07-09-2005, 05:38 PM
Hi, Im trying to get this software working on a webserver that doesnt allow exicution of scripts that dont have extensions. I have renamed the files to .php (ie blogs becomes blogs.php) and have moddified the class's and templates to reflect these changes. How ever the last problem I have run into is on the main page.. on the left hand side where the category list is. Links always goto http://www.foo.com/categories/News/ and they should goto http://www.foo.com/categories.php/News/. Now I tracked the code down to RootArticleCategoriesPanel.php in the templates folder but I cant see how I can alter is to reflect the changes.
$output .= sprintf("
< div class=\"ListItem\" >
< div class=\"ListItem\" >
< A href='%s '>
%s
< /A >
< /div >
Is the current code. The %s in the href statement comes with a full url and the other one just is the categories name. Both seam to be giving different values. Please could someone help me with this.
p.s. I know there shouldnt be spaces in the brackets but I had to add them for them to show properly in this post cos for some reason the [CODE] tags didnt let me display them properly.
Thanks in advance
Drefsab
$output .= sprintf("
< div class=\"ListItem\" >
< div class=\"ListItem\" >
< A href='%s '>
%s
< /A >
< /div >
Is the current code. The %s in the href statement comes with a full url and the other one just is the categories name. Both seam to be giving different values. Please could someone help me with this.
p.s. I know there shouldnt be spaces in the brackets but I had to add them for them to show properly in this post cos for some reason the [CODE] tags didnt let me display them properly.
Thanks in advance
Drefsab