Skip to Content
Menu
This question has been flagged
4 Replies
10642 Views

I can't find where to edit the navigation in the treehouse theme. This question may be valid to other new themes too. I would like to get rid of the link "SIGN IN" there and I also would like to get the language selection on that row and then in the end get rid of the whole preheader.

I have read a lot of the forum discussion but they seem to relate to the older navigation items, not these new themes. Now I can't find those same referred xml codes anymore in these new themes. How is the navbar appearing to the theme, from where?

Avatar
Discard

@S. Edelman,

Have you tried the 'Customize' menu at the top right of the screen when you are logged in as administrator on the frontend of the website?

I don't have the theme personally, but there should be an option to tick labelled 'Show Sign In' or something like that.

Are you running Odoo on the SaaS (online Odoo.com hosted version), or are you running Odoo on your own server?

@luke, where have you seen this button ? Have you already see it on a website or only in the code... ???

Author Best Answer

I'm running the system in my own server indeed. In the customize menu I can't find such label "Show Sign In" but I found the "Template ID: website.homepage" in HTML editor now. It is actually there but if I upgrade / customize my theme otherwise to the server, this part will be overridden and I must do it again. Thus I would like to find the real xml template that brings this code online.

I've searched with the key pieces of the code in the whole theme package but can't find any other than styling for the navbar. 

EDIT:

If I remove the user "Public", actually EVERYBODY CAN SEE it, also administrator even if logged (then shows both "sign in" and "administrator" menu item). Now I put that only the "administrator" can see and now public can't see but the admin sees both "sign in" and "administrator". Anyway better like this that the public won't see it.

Avatar
Discard
Best Answer

Hi,

Seems that this options has been broken...

So, to make it working you can go in:

Settings -> Technical -> User Interface -> Views

Find the template : "Show Sign In" (id= website.show_sign_in)

Go into tab "Groups" and remove "Public"

Now edit the arch and update the view to set groups on the both li.


I will fix it in V8, so at next update, that will be fixed 


Updated

Fixed in commit 1bc3283

Avatar
Discard
Related Posts Replies Views Activity
1
Sep 24
208
1
Aug 24
236
1
May 24
1282
2
Jul 23
3001
2
Jan 23
1690