2009-08-14, 06:26:33
This works for me:
This is in theme_functions.php, line 65. haven't tried it without prettyurls yet.
Code:
function get_page_url() {
global $url;
global $SITEURL;
global $PRETTYURLS;
global $parent;
if ($PRETTYURLS == '1') {
if ($url == 'index' ) { $url = ''; }
echo $SITEURL . @$parent . $url ;
} else {
echo $SITEURL .'index.php?id='.$url;
}
}
This is in theme_functions.php, line 65. haven't tried it without prettyurls yet.
------
I can't design for shit but I can code the shit out of your design
I can't design for shit but I can code the shit out of your design