-
Re: Which template to modify to move 'App Actions' up ?
Ryan Rutan May 7, 2014 1:39 PM (in response to snigdha.challa)Again, I do not recommend doing this, but you might want to check out the /template/global/include/jive-macros.ftl macro: renderActionSidebar and see how that fairs. I know there are still doc-sidebar.ftl files in the product, but haven't done this type of customization in a while, so not sure if they are still being referenced.
Hope that helps.
-
Re: Which template to modify to move 'App Actions' up ?
snigdha.challa May 7, 2014 1:48 PM (in response to Ryan Rutan)Thanks Ryan Rutan for the reply !
I don't see this file. I found jive-search-macros.ftl but I dont think its that file that you are talking about.
Modifying the templates is something we don't want to do too but I don't think we have an option for now. We need the App actions up as they are not very obvious when they are not on the top.
-
Re: Which template to modify to move 'App Actions' up ?
Ryan Rutan May 8, 2014 9:06 AM (in response to snigdha.challa)So I just checked, and you are correct, jive-macros.ftl doesn't show up in the Admin Console as an editable file. This is probably to protect people from accidentally making edits to a file that is referenced heavily and customization should be done with caution. The only way to make these changes would be to create a custom theme in ZIP format and upload it to the Admin Console.
See: Jive 7.0 Community Admin Documentation
for more information, and be mindful of what you change...if you do decide to go this route ... you will need to verify this file's differences with each upgrade (minor/major).
Note: i've filed a feature request to allow this to be managed via the Theme Wizard in the future; however, no timelines to share or if it will even be approved, but thought I'd share with you for reference.
JIVE-44077
Hope that helps =)
-
Re: Which template to modify to move 'App Actions' up ?
snigdha.challa May 8, 2014 9:36 AM (in response to Ryan Rutan)Hi Ryan Rutan,
I am clear on the procedure to do it. I mean how I can add a new file jive-macros.ftl and zip it up and upload on the Admin Console. But I'm not clear on what exactly goes into the file. What I have now is an empty jive-macros.ftl. What code should go inside it so I can more the 'APP ACTIONS' section up ?
I am not clear as to how the code will look like to do the above (especially coz now all I have is an empty file - since I can't see it as an editable file in the UI).
Thanks for your help !
-
Re: Which template to modify to move 'App Actions' up ?
Ryan Rutan May 8, 2014 10:47 AM (in response to snigdha.challa)You'll need to download the Maven sources for your Jive version,
<dependency>
<groupId>com.jivesoftware</groupId>
<artifactId>jive-war</artifactId>
<version>7.0.0.0</version>
<type>war</type>
</dependency>
and grab the file from the WAR as a base. You can then edit the renderActionSidebar method.
The file is located in:
/WEB-INF/classes/template/global/include/jive-macros.ftl
Hope that helps =)
-
Re: Which template to modify to move 'App Actions' up ?
snigdha.challa May 14, 2014 1:55 PM (in response to Ryan Rutan)Hi Ryan Rutan
I shall try it out and let you know if it works.
Apart from this, is there a way we can change the header 'App Actions' to something which is more specific to out firm ?
I also have another add-on that appears in the 'Create menu'. I used path="jive/actions/navmenu" for this. This also appears under the header 'Apps'. Can I change this too ?
-
Re: Which template to modify to move 'App Actions' up ?
Ryan Rutan May 14, 2014 4:42 PM (in response to snigdha.challa)Unfortunately there is currently no way to prevent it from showing up in the Apps menu. But it is a feature request that is being looked at.
I'm pretty sure that app actions is a configurable translation but I'll need to check. Honestly haven't looked at translation of UI tokens in the cloud in a while.
-
Re: Which template to modify to move 'App Actions' up ?
snigdha.challa May 14, 2014 6:07 PM (in response to Ryan Rutan)Hi Ryan Rutan
Did you mean preventing it from showing in the Apps menu or under the Apps section in the Create menu (when path="jive/actions/navmenu" is used) ?
I actually wanted to rename the 'Apps' within the Create menu to something else.
Also, it would be great if you can check about renaming 'App Actions' in the right hand side menu.
-
Re: Which template to modify to move 'App Actions' up ?
Ryan Rutan May 14, 2014 9:43 PM (in response to snigdha.challa)Ahh, if you are talking about tokens in both cases, then that might be possible. Will try to get answers tomorrow
-
Re: Which template to modify to move 'App Actions' up ?
snigdha.challa May 15, 2014 6:53 AM (in response to Ryan Rutan)Hi Ryan Rutan
Just thought I will add pictures to show what I need. (The below images were modifies in paint to show how I need my page to look like)
1. Want to replace the 'App Actions' to a 'Custom Header'.
2. Need to replace the header 'Apps' within the Create menu.
-
Re: Which template to modify to move 'App Actions' up ?
snigdha.challa May 23, 2014 12:03 PM (in response to Ryan Rutan)Hi Ryan Rutan,
I was able to modify the 'App Actions' header via the same template that u pointed me to (/WEB-INF/classes/template/global/include/jive-macros.ftl). But I wasn't able to modify 'Apps' header within the Create menu. Which template would I need to go to ?
-
Re: Which template to modify to move 'App Actions' up ?
Ryan Rutan May 28, 2014 7:25 AM (in response to snigdha.challa)I believe that is just a translation (Sorry for the delay) token replace in your theme:
Edit your theme in the Admin Console and use this token:
nav.bar.apps.link
and set the value to be whatever you want, similar to the way that is instructed here:
QuickLinks Plugin - Regarding renaming the Links menu.
Also, the FTL above is only needed to move the App Actions higher up. If you are simply trying to rename the header, you can do the same step above using the following token:
appframework.app.actions.title
Sorry for the delay but let me know if that doesn't help.
-
Re: Which template to modify to move 'App Actions' up ?
snigdha.challa May 29, 2014 1:19 PM (in response to Ryan Rutan)Hi Ryan Rutan,
Thanks for the reply. I used the appframework.app.actions.title to customize the App Actions header.
But nav.bar.apps.link is for the Apps link in the navigation menu. What I wanted to replace is the 'Apps' header in the Create menu. You will find this in the 2nd image above. This section appears because of the apps that are deployed as add-ons.
I looked at the createmenu.soy to see how this header appears. This comes from this line of code -
<strong class="j-menu-quick-sectionlabel font-color-meta-light">{i18nText($section.name)}</strong>
Is there a way to customize this ?
-
Re: Which template to modify to move 'App Actions' up ?
Ryan Rutan May 29, 2014 1:30 PM (in response to snigdha.challa)Sorry about that, misinterpreted. Give this a try:
nav.bar.create.section.apps
-
Re: Which template to modify to move 'App Actions' up ?
snigdha.challa May 29, 2014 1:32 PM (in response to Ryan Rutan)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Re: Which template to modify to move 'App Actions' up ?
SunilKr Oct 10, 2017 3:35 AM (in response to snigdha.challa)Hi Snigdha Challa,
Did you able to move the "App Action" up above the Action sidebar?
Could you please share the way if you achieved that?
I have the same requirement and we are on hosted 8.0.4.0
Ryan Rutan, Please provide some input, if the Jive 8 support to move the App Action up.
-Sunil
-
Re: Which template to modify to move 'App Actions' up ?
SunilKr Oct 13, 2017 4:16 AM (in response to snigdha.challa)Ryan Rutan, Can we move up 'App Action' in jive 8 hosted?
Can you please guide how we achieve this?