[owncloud-devel] menu label change

Gaaurav Bhasin gaurav.ssdn at gmail.com
Mon Jan 4 14:06:10 GMT 2016


Thanks Joas for your kind reply.
Atleast i got to know the capability and features.
On 04-Jan-2016 16:38, "Joas Schilling" <nickvergessen at owncloud.com> wrote:

> Hi,
>
> while that's sounds like a cool and normal idea, I'm sad to disappoint you.
> ownCloud currently only supports changing template files.
>
> Now what you could do, is change the template file, look whether the menu
> entry is the one you are looking for and then change it there:
>
> https://github.com/owncloud/core/blob/master/apps/files/templates/appnavigation.php#L7
>
> Replace
>
> <?php p($item['name']);?>
>
> With
>
> <?php if ($item['id'] !== 'sharingout') { p($item['name']); } else { p('Your own text goes here'); }?>
>
> cheers
> Joas
>
> Am 24.12.2015 um 12:06 schrieb Gaaurav Bhasin:
>
> Dear All,
>
> Hello, I am new to owncloud and was trying my hands on a customized theme.
> Although I am able to change the theme to suit my needs but i am currently
> stuck with changing the menu.
> I need to change the menu name to something new. I get to know the file for
> it is :
>
> /var/www/html/owncloud/apps/files_sharing/appinfo/app.php
>
> in which i need to change the text for shared with others. I can do this
> directly in this file but i don't want to do that instead what I want is to
> do it in a theme which i have created. For this i created a same kind of
> directory structure in my theme module and copied the changed app.php file
> into it but it's not working.
>
> Can you anyone guide me for the correct procedure.
> I also apologize if this is not the correct way to get answers to my query.
>
> Thanks & Regards
> Gaaurav Bhasin
>
>
>
>
> _______________________________________________
> Devel mailing listDevel at owncloud.orghttp://mailman.owncloud.org/mailman/listinfo/devel
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20160104/6b25793c/attachment.html>


More information about the Devel mailing list