[Owncloud] Owncloud App: Link to settings page
olaf at olafchrist.de
olaf at olafchrist.de
Wed Aug 7 16:40:16 UTC 2013
Hi Jan-Christoph,
I'm contributing to the roundcubemail app
(https://github.com/hypery2k/owncloud), which displays roundcube
inside of owncloud. Thus no settings page is available in there and
user settings have to be placed on the user's settings page.
Best regards,
Olaf
Quoting Jan-Christoph Borchardt <hey at jancborchardt.net>:
> Just curious: Why do you want to link to that page and what is the app about?
> All settings related to that app should be in the app itself.
>
> On Tue, Aug 6, 2013 at 5:36 PM, Jörn Friedrich Dreyer
> <jfd at owncloud.com> wrote:
>> On 06.08.2013 00:20, olaf at olafchrist.de wrote:
>>
>> Hi everybody,
>>
>> I am helping writing an owncloud app. Is it possible to link to the user's
>> personal settings page?
>>
>> link_to('index.php', 'settings/personal')
>>
>> works but seems kind of wrong to me (linking should only be done inside
>> apps).
>>
>> Please see the relevant commit for more information:
>> https://github.com/olafc/owncloud/commit/1cee8e73130b8f7d315279270081b61a8e9aeabb#commitcomment-3792827
>>
>> Try using routes: \OCP\Util::linkToRoute('settings_personal'), see
>> https://github.com/owncloud/core/blob/master/settings/routes.php#L12
>>
>> so long
>>
>> Jörn
>>
>> --
>> Jörn Friedrich Dreyer (jfd at owncloud.com)
>> Senior Software Engineer
>> ownCloud GmbH
>>
>> Your Data, Your Cloud, Your Way!
>>
>> ownCloud GmbH, GF: Markus Rex, Holger Dyroff
>> Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
>>
>>
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
>>
>
More information about the Owncloud
mailing list