Minor GUI thing. The "home" icon points to an incorrect
URL, when OPT is installed in a subdirectory of the
webserver (e.g. www.somesite.com/OPT/) and when used
with https. This drilles down to the script
<opt_install_dir>/include/gui.php where:
1. The CRM_URL needs a slash added
2. Need to check for force_protocol variable.
I include the diff and if Guy thinks it's oke, it could
be added to a next release.
diff gui.php.org gui.php
295a296,299
> $PROTOCOL=get_setting("force_protocol");
> if (!$PROTOCOL) {
> $PROTOCOL="http";
> }
302c306
< document.write("<a href='http://<? echo
$SERVER_NAME.$CRM_URL;
?>?URL="+escape(location.href)+"' target='_blank'>");
---
> document.write("<a href='<? echo $PROTOCOL;
?>://<? echo $SERVER_NAME.$CRM_URL;
?>/?URL="+escape(location.href)+"' target='_blank'>");
HTH, Martin
Logged In: YES
user_id=22084
Thanks for the patch. I also added this setting to the
admin help documentation. Your changes will be in the next
release.