SearchProfile in NavigationBar of customer interface

English! place to talk about development, programming and coding
Post Reply
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

SearchProfile in NavigationBar of customer interface

Post by Gunjan »

Hi,
kindly refer to the link:
viewtopic.php?f=64&t=23345

I also want to show this 'search profile' dropdown on 'Navigation' of customer interface. I wrote the below code but not working

Code: Select all

<ConfigItem Name="CustomerFrontend::Module###ToolBarModule" Required="0" Valid="1">
        <Description Translatable="1">Frontend module registration for the agent interface.</Description>
        <Group>Ticket</Group>
        <SubGroup>Frontend::Customer::ModuleRegistration</SubGroup>
        <Setting>
            <FrontendModuleReg>
                <Description>ToolBar Module for customer interface</Description>
                <Title>Customer ToolBar Module </Title>
                <NavBarName>Ticket</NavBarName>
        <NavBar>
          
                    <Description Translatable="1">Search-Template</Description>
              <Name Translatable="1">Search-Template</Name>
         <Link>Action=ToolBarCustomerSearchProfile</Link>
                    <LinkOption></LinkOption>
         <Block>ToolBarSearchProfile</Block>
                     <Type>Menu</Type>
         <Prio>900</Prio>
                </NavBar>            
            </FrontendModuleReg>
        </Setting>
</ConfigItem>
what should I add in this code??

Thanks & Regards,
Gunjan
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: SearchProfile in NavigationBar of customer interface

Post by reneeb »

For the NavigationBar you have to do a lot of other stuff... Change the CustomerNavigationBar.dtl, add code in Layout.pm to generate the dropdown. This would take too much time for me to do it now. Please try it yourself with the foundation we laid in the other thread...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: SearchProfile in NavigationBar of customer interface

Post by Gunjan »

I am trying to do it myself, but it would be really helpful if you can tell me where should I do changes in which files.

Regards,
Gunjan
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: SearchProfile in NavigationBar of customer interface

Post by reneeb »

reneeb wrote:Change the CustomerNavigationBar.dtl, add code in Layout.pm to generate the dropdown.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply