HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[SOLVED!] Popup menu issue

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#110813 (In Topic #22264)
Avatar

Well-settled

Branch drawer failing to re-open after first mouse-hover.

Greetings!

I've converted the standard Site zone main_content menu to pop-up style from its original embossed style and added some children to one of its displayed branches. On first opening any page displaying the menu, hovering my mouse over that branch successfully opens the pop-up drawer and all works as expected. However, subsequent mouse-hovers fail to re-open the drawer, unless I refresh the page. This is on v.9.0.16; on my v.9.0.9 site, the issue doesn't arise. The MENU_BRANCH_popup.tpl template seems identical for both versions, so that doesn't explain the failure.

As my objective was to provide direct navigation to different categories of a very heavily-used catalogue, it would really please my users to have it working as intended! Would anyone reading be able to help me, please?

Kind regards and many thanks!
Back to the top
 
Posted
Rating:
#110814
Avatar

Could you provide a link so I can test live?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#110818
Avatar

Well-settled

Hi Chris,

Many thanks for your reply! I've provided a link and access details in the preceding "whisper" to you.

Kind regards,
Richard
Back to the top
 
Posted
Rating:
#110829
Avatar

Hi,

I'm taking a look now.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by RichT)  
Rating:
#110830
Avatar

Issue now fixed. I overrode JAVASCRIPT_MENU_POPUP.tpl from Admin Zone. It's best to move themes/default/templates_custom/JAVASCRIPT_MENU_POPUP.tpl back over themes/default/templatesJAVASCRIPT_MENU_POPUP.tpl

Menu edit link is there, but unhelpfully on far-right. Minor issue though.

The issue (possible the edit link issue too) seems to be due to an assumption in the default theme about position:relative being somewhere up the DOM tree from the menu. It was easy for me to correct that assumption.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#110831
Avatar

Well-settled

Very many thanks indeed, Chris, from one extremely happy and grateful bunny!

Seems strange not to have encountered the issue (and that of the edit link) on my v9.0.9 site when I did the same op on one of its menus, don't you think? Admittedly, a glance at its global.css reminds me that I did have to do a fair deal of tinkering to get the drawer displaying how I wanted, but the position:relative; property is in situ and active nonetheless.

I overrode JAVASCRIPT_MENU_POPUP.tpl from Admin Zone. It's best to move themes/default/templates_custom/JAVASCRIPT_MENU_POPUP.tpl back over themes/default/templatesJAVASCRIPT_MENU_POPUP.tpl

I take your meaning to be I need to move the default theme TPL back as you state, am I correct?

Thanks again and best regards!
R.
Back to the top
 
Posted
Rating:
#110832
Avatar

Hi,

I didn't look to see exactly where the CSS property we were assuming there was, as it was fairly obviously to me (as a programmer) what the general issue was when I stepped through it.

Yes. I overrode that file within the default theme, so move the from/to specified.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#110837
Avatar

Well-settled

Thank you again, Chris!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: