Hi,
I'm trying to set up a simple edit layout using jquery tabs, however I'm running into some problems.
I have managed to get it to generation of the actual tabs at the top, however the content in the inactive tabs is still being shown, and I'm unable to select the inactive tab.
When I click on the inactive tab the error console shows an uncaught exception for jquery ui, and something like "parent.frames.sq_sidenav is undefined". These errors then disappear and the page then reloads.
I've set the user preference to "Hide Frames" and am just adding _edit to enter simple edit mode, I have found that accessing simple edit using "_edit?hide_frames=1" did not hide frames.
When selecting the inactive tab the url changes (after some auto refreshes) to _edit/?&SQ_BACKEND_PAGE=frames
Is it possible to place the different 'screens' (details, metadata, contents) of a simple edit layout into jquery tabs?
If so is there a trick?
Thanks Georgina.
Yes, I've done it before - it's totally possible. No trick, just working out how you'll structure the details.
The issue you'll hit is the fields getting pre-filled by the browser which are hidden by the tabs. For example, if you leave a password field (for a user asset) in say the third tab and edit something in the first most browsers will prefill the first field with a saved password but not the confirmation screen. Then on save, the action fails as 'passwords don't match'.
That kind of thing happens all the time with tabs. Show some code if you want some specific help…