Support

Does the left navigation bar allow for any logic / customization?

Last post 07-21-2008, 2:20 PM by kimskim. 7 replies.
Sort Posts: Previous Next
  •  07-17-2008, 10:07 PM 8685

    Does the left navigation bar allow for any logic / customization?

    Does the left navigation bar on our web pages allow for any logic / customization? For example, can we hide the "Join Now" link if you're logged in and already a member?
  •  07-18-2008, 12:56 PM 8697 in reply to 8685

    Re: Does the left navigation bar allow for any logic / customization?

    Yes you can customize nav bar using CSS, e.g. to put your nav bar on right side you can use: (insert in Settings / Advanced customization (css) )

    #idNavigationContainer {float: right;}
    #idPrimaryContentContainer {margin-left: 0px;}

    To hide the Join Now page when logged in you can use the following script: (insert in Settings / Global javascript) - we have already done this for you!!!

    <script>
    if (!document.getElementById('idLoginUserName'))
    { var menuItem = document.getElementById('idMainMenuItem161946');
    if (menuItem) {menuItem.style.display = 'none';}}
    </script>


    Jim Sympathy, Fluid Apricot
  •  07-18-2008, 1:36 PM 8699 in reply to 8697

    Re: Does the left navigation bar allow for any logic / customization?

    Can I use this exact script too?  Or do I need to get my own idMainMenuxxx name to fill in?  If so, how/where do I look to get the name?  Thanks.  This is useful.
  •  07-18-2008, 5:02 PM 8708 in reply to 8699

    Re: Does the left navigation bar allow for any logic / customization?

    You can use it and yes, you would need to adjust the menu id.

    These two pages have some info which should help to find it:

     http://help.wildapricot.com/display/DOC/Using+Firefox+Firebug+Extension+for+Advanced+customization+(CSS)

    http://help.wildapricot.com/display/DOC/Customizing+the+menu+via+CSS


    Dmitry Buterin, Chief Apricot
  •  07-19-2008, 2:46 PM 8720 in reply to 8708

    Re: Does the left navigation bar allow for any logic / customization?

    This works great except for the fact that the menu item disappears even when I'm logged in as an administrator, which means I can't edit the 'Join' page or its subpages.  Is there a way around this?  Otherwise it's great.
  •  07-21-2008, 10:25 AM 8735 in reply to 8720

    Re: Does the left navigation bar allow for any logic / customization?

    I am sure there is a work around this issue but unfortunately this is out of our technical support service. We would suggest to work with JavaScript consultant for further customization. See: http://help.wildapricot.com/display/DOC/Partner+directory


    Denys Zlobin
    Helpful Apricot
    http://www.wildapricot.com

  •  07-21-2008, 10:58 AM 8739 in reply to 8735

    Re: Does the left navigation bar allow for any logic / customization?

    You could simply adjust the opening if..condition. Instead of checking for a general is-logged-in state, check for a condition that only applies to logged member but not admin, e.g. view profile link only applies to logged member. Using firebug, you can locate the view profile element id, (which is 'ctl03_Authentication_loginViewControl_profileBox' in this case), and so the logic (1st line) becomes:

    if (document.getElementById('ctl03_Authentication_loginViewControl_profileBox'))..

    and everything else remains the same.


    Jim Sympathy, Fluid Apricot
  •  07-21-2008, 2:20 PM 8758 in reply to 8739

    Re: Does the left navigation bar allow for any logic / customization?

    Jim, this is perfect.  It adds a very professional touch to the site.  Thank you :-)

    Kim

View as RSS news feed in XML
Copyright © 2009. Wild Apricot (TM) by BonaSource Inc.
Terms of Use   Privacy Policy   Billing and Refund policy

Contact us: 144 Front Street West, Suite 725, Toronto, Ontario M5J 2L7, Toll-free phone: 1-877-270-4268, support@wildapricot.com
Click to verify BBB accreditation and to see a BBB report.