[rt-devel] Main navigation invisible when custom theme created

Jim Brandt jbrandt at bestpractical.com
Mon Feb 6 14:13:27 EST 2017


> Hi Jim,
>
> Are you referring to the the shell commands just below paragraph 2 here?
>
>
> https://docs.bestpractical.com/rt/4.4.1/customizing/styling_rt.html#Designing-Your-Own-Theme
>
>
>     $ mkdir -p local/static/css/localstyle
>     $ cp -R share/static/css/rudder/* local/static/css/localstyle/
>
> If so then then this is also required to get the menus to display:
>
>>>     $ mkdir -p local/html/NoAuth/css/localstyle
>>>     $ cp -R share/html/NoAuth/css/rudder/*
>>> local/html/NoAuth/css/localstyle/
>
> If not then I'm not not sure where you mean.

Ah, right you are. I thought we had fixed that based on a list 
discussion a while back, but it's been sitting on a ticket waiting:

https://issues.bestpractical.com/Ticket/Display.html?id=31800

I've pushed an update so it should be included in the next releases.

Jim

> Best Regards
>
> Martin
>
>>
>>>
>>> Sorry about the noise
>>>
>>> Martin
>>>
>>> On 2017-02-04 12:28, Martin Wheldon wrote:
>>>> Hi,
>>>>
>>>> I've been looking into designing a new RT theme and followed the
>>>> documentation below:
>>>>
>>>>
>>>> https://docs.bestpractical.com/rt/4.4.1/customizing/styling_rt.html#Designing-Your-Own-Theme
>>>>
>>>>
>>>>
>>>> However when I restart RT and login none of the top navigation menus
>>>> appear, this is down to the correct css classes not being applied to
>>>> the unordered list element id=app-nav
>>>> it should look as follows:
>>>>
>>>>    <ul id="app-nav" class="toplevel sf-menu sf-js-enabled sf-shadow">
>>>>
>>>> Where the new theme looks like this:
>>>>
>>>>    <ul id="app-nav" class="toplevel">
>>>>
>>>> If I fix this using firebug the menus work fine.
>>>>
>>>> I'm guessing that the class list is being manipulated using java
>>>> script, but I am currently unable to work out where this takes place.
>>>>
>>>> If anyone could point me in the right direction it would be much
>>>> appreciated.
>>>>
>>>> Best Regards


More information about the rt-devel mailing list