NetTalk Central

Author Topic: NT6 to NT7 Accordion menu  (Read 4510 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
NT6 to NT7 Accordion menu
« on: December 15, 2012, 02:03:01 AM »
the items in the menu just stopped working, when I click on the menu item they are not calling the procedures anymore

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: NT6 to NT7 Accordion menu
« Reply #1 on: December 15, 2012, 03:05:38 AM »
hi further digging found that it breaks when open as a content is clicked in the menu item window

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT6 to NT7 Accordion menu
« Reply #2 on: December 16, 2012, 11:02:39 PM »
Hi Olu,

I tried to replicate your problem in example 71 (Books).
I had to apply the changes to the menu (specified here http://www.capesoft.com/docs/NetTalk7/NetTalk7Upgrade.htm#ChangesRequired) or it looked a bit funny.

I set the first 3 menu items to "open as content".

Unfortunately I don't get the same effect as you - it appears to be working ok. If you try with that example do you get the same effect? If the example is ok on your side too, then I guess we need to look at other possible differences in your code.

cheers
Bruce


olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: NT6 to NT7 Accordion menu
« Reply #3 on: December 20, 2012, 06:00:55 AM »
Hi bruce,
 still not sure what problem is , and yes when I tried with your example it did work on .
but what I noticed looking at the code through firefox is that in NT6 the link refrence is : <a href="Dashboard">Dashboard</a> but on NT7 it has changed to <a onclick="aGet('dashboard','_rid_=209922501');" href="#">Dashboard</a> don't know why

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT6 to NT7 Accordion menu
« Reply #4 on: December 20, 2012, 06:46:29 AM »
the difference is cause by the "open as content" switch.
(In C6 you also have to set the name of the content body, web server procedure settings) to get the "content" effect.

cheers
Bruce

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: NT6 to NT7 Accordion menu
« Reply #5 on: March 03, 2013, 03:24:24 PM »
Hi Bruce: Can you elaborate on this please:

(In C6 you also have to set the name of the content body, web server procedure settings) to get the "content" effect.

I'm running Nettalk 7 on C6.  Now that I've upgraded NT from 6 to 7, my menu isn't working properly.  I made the changes that were suggested in the NT docs.  I'm trying to use Double-Drop Menu.  The items on levels 1 and 2 are not appearing.

Thanks in advance.

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: NT6 to NT7 Accordion menu -- Addendum
« Reply #6 on: March 03, 2013, 04:42:27 PM »
Okay, I can get the Level 1 Items to appear.  They only work properly on some of the menu items.  I can click: Show Customers and get the Customer Browse to appear.  I can click: Show Inventory and nothing happens.  Both are set up the same in the menu extension.

The only dfference I can see is that I am passing parameters to the Inventory Browse.  But even when I take that away, it won;'t work.

I have tried Popup, Content, nothing, etc.  Nada.

Thanks.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT6 to NT7 Accordion menu
« Reply #7 on: March 04, 2013, 10:54:16 PM »
can you send me an example Jim so I can duplicate here?

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: NT6 to NT7 Accordion menu
« Reply #8 on: March 05, 2013, 04:43:52 AM »
Thanks  Bruce.  After a while this behavior went away.  I'm convinced that it had more to do with the javascript than with anything else. I had deleted the web folders in order to recreate them, etc. and finally it worked.  I will let you know if things go south again.

Best.