Skip to Content Skip to Menu

Tab in Modal window

9 years 5 months ago #264244 by iytworldwide
Tab in Modal window was created by iytworldwide
Hi Kyle,
I would like to know in 1.9.1 or Cb 2.0 do we have the option/way to allow opening up a specific CB tab in a modal window with save button. I am storing data in multiple tab for user and in some scenario I have to ask user to fill data in specific tab if it is not correct or missing. On user login, I am displaying a link to user that his profile is not complete because X field/tab is no filled. Now click of the link, I want to open up the tab X in Modal window, so that user can fill and save it. As a better user interface design I do not want to show him all the tabs. Please guide if this functionality already available in any of the said versions of CB. If not then any suggestion how to achieve this or it is doable or not if you foresee any probable issue with this.

Thanks,
Amit Dangwal

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #264261 by krileon
Replied by krileon on topic Tab in Modal window
No, the way modal windows work is they clone or move the HTML out of the DOM to top level (body) then alter its styling. Doing this would pull the tab out of the profile edit form and would do nothing. So there's no way to support this without you specifically developing something to duplicate the entire HTML form and displaying it as a modal window using jQuery.

You can open profile edit on a specific tab though by adding &tab=TAB_TITLE to your URL. So the tab you're wanting as a modal window would instead just be the default active tab.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

9 years 5 months ago #264304 by iytworldwide
Replied by iytworldwide on topic Tab in Modal window
Ok Kyle. I will try this.

Thanks,
Amit dangwal

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum