Change Customer Navigation bar?

Moderator: crythias

Post Reply
Mothra
Znuny expert
Posts: 189
Joined: 26 Oct 2010, 15:04
Znuny Version: 3.2.11

Change Customer Navigation bar?

Post by Mothra »

Has anyone had any success getting the Customer Navigation bar to group entries in the same way as the Agent nav bar (i.e. drop down list of options under Ticket, FAQ, etc)?

I've tried crudely hacking some of AgentNavigationBar.dtl into CustomerNavigationBar.dtl, and then setting the NavBar field in Ticket -> Frontend::Customer::ModuleRegistration, but I can't get it to work.

Code: Select all

<!-- start Notifications -->
$Data{"Notification"}
<!-- end Notifications -->
<!-- start NavigationBar -->
<div id="Navigation">
    <ul>
<!-- dtl:block:ItemArea -->
    <li id="nav-$QData{"NameForID"}" class="$QData{"CSS"}">
        <a href="$Env{"Baselink"}$Data{"Link"}" title="$Text{"$Data{"Name"}"}$QData{"AccessKeyReference"}" accesskey="$QData{"AccessKey"}" $Data{"LinkOption"}>$Text{"$Data{"Name"}"}</a>
<!-- dtl:block:ItemAreaSub -->
        <div>
            <div class="ShadowTop"></div>
            <div class="Shadow">
                <ul id="nav-$QData{"NameForID"}-container">
<!-- dtl:block:ItemAreaSubItem -->
                    <li id="nav-$QData{"NameTop"}-$QData{"NameForID"}">
                        <a href="$Env{"Baselink"}$Data{"Link"}" title="$Text{"$Data{"Description"}"}$QData{"AccessKeyReference"}" accesskey="$QData{"AccessKey"}" $Data{"LinkOption"}>$Text{"$Data{"Name"}"}</a>
                    </li>
<!-- dtl:block:ItemAreaSubItem -->
                </ul>
                <div class="Footer"></div>
            </div>
            <div class="ShadowBottom"></div>
        </div>
<!-- dtl:block:ItemAreaSub -->
    </li>
<!-- dtl:block:ItemArea -->
    </ul>
    <ul class="Individual">
<!-- dtl:block:Preferences -->
        <li class="$QData{"Class"}"><a href="$Env{"Baselink"}Action=CustomerPreferences" title="$Text{"Edit personal preferences"}">$Text{"Preferences"}</a></li>
<!-- dtl:block:Preferences -->
<!-- dtl:block:Logout -->
        <li class="Last"><a href="$Env{"Baselink"}Action=Logout" title="$Text{"Logout"} $Env{"UserFirstname"} $Env{"UserLastname"}">$Text{"Logout"}</a></li>
<!-- dtl:block:Logout -->
    </ul>
</div>
<!-- end NavigationBar -->
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Change Customer Navigation bar?

Post by crythias »

In 3.0.5, the default config seems to be 6 buttons and nothing to drop down(?) What would you have grouped (or, what am I missing?)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Mothra
Znuny expert
Posts: 189
Joined: 26 Oct 2010, 15:04
Znuny Version: 3.2.11

Re: Change Customer Navigation bar?

Post by Mothra »

crythias wrote:In 3.0.5, the default config seems to be 6 buttons and nothing to drop down(?) What would you have grouped (or, what am I missing?)
I've been adding some template "new ticket" options, such as a "New Firewall Change Request" which pre-populates the ticket type, Service,SLA, Subject and puts some prompt text in the Body. Right now, these new buttons are simply inserted between the New Ticket and My Tickets buttons, so more than 2 of these are going to cause space problems.
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
schaffel
Znuny newbie
Posts: 90
Joined: 20 May 2008, 12:50
Znuny Version: 3.1.X
Real Name: Felix
Company: SyroCon Consulting GmbH
Location: Darmstadt

Re: Change Customer Navigation bar?

Post by schaffel »

I'm also interested in a solution like this.
I heard that someone managed to bild drop-down menues but he didn't post how :(

Did you find a solution since you asked the question?
production: OTRS 5.0.X | OTRS:ITSM 5.0.X | AWS-RDS MariaDB 10.1.X | CentOS 7

Gibt es im Raum Frankfurt/Darmstadt OTRS/ITSM-Benutzer, die an einem Erfahrungsaustausch interessiert sind? Dann meldet euch um mit Gleichgesinnten über OTRS in der Praxis und den ganzen Rest zu reden.
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Re: Change Customer Navigation bar?

Post by tnieman »

I think it's possible because on the OTRS Support site they have a drop down called Tickets.

Tom
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Change Customer Navigation bar?

Post by jojo »

in 3.2. in Customer Interface there are Dropdowns
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply