[Owncloud] Problems running owncloud in a subdirectory.

Peter Chubb peter at chubb.wattle.id.au
Fri May 11 01:40:53 UTC 2012


I'm seeing a number of broken links in the current owncloud.  
it looks like they're to the root of the webserver, not the owncloud
directory.

For example, select `caldav link' on the `choose active calendars'
dialogue.  The link to the delete icon on the right is
https://chubb.wattle.id.au/core/img/actions/delete.svg
 not https://chubb.wattle.id.au/owncloud/core/img/actions/delete.svg

I fixed that one with:
index a140316..7132f68 100755
--- a/apps/calendar/templates/part.choosecalendar.php
+++ b/apps/calendar/templates/part.choosecalendar.php
@@ -24,7 +24,7 @@ for($i = 0; $i < count($option_calendars); $i++){
 </tr>
 <tr>
        <td colspan="6">
-               <p style="margin: 0 auto;width: 90%;"><input style="display:none;width: 90%;float: left;" type="text" id="caldav_url" onmouseover="$('#caldav_url').select();" title="<?php echo $l->t("CalDav Link"); ?>"><img id="caldav_url_close" style="height: 20px;vertical-align: middle;display: none;" src="../../core/img/actions/delete.svg" alt="close" onclick="$('#caldav_url').hide();$('#caldav_url_close').hide();"/></p>
+               <p style="margin: 0 auto;width: 90%;"><input style="display:none;width: 90%;float: left;" type="text" id="caldav_url" onmouseover="$('#caldav_url').select();" title="<?php echo $l->t("CalDav Link"); ?>"><img id="caldav_url_close" style="height: 20px;vertical-align: middle;display: none;" src="<?php echo OCP\Util::imagePath('core', 'actions/delete.svg'); ?>" alt="close" onclick="$('#caldav_url').hide();$('#caldav_url_close').hide();"/></p>
        </td>
 </tr>
 </table><br>

but there are others.

--
Dr Peter Chubb        www.nicta.com.au      peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia
From Imagination to Impact                       Imagining the (ICT) Future



More information about the Owncloud mailing list