Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Custom Sheet Problem

1768778830

Edited 1768779315
Greetings, fellow travellers! Let me preface this by saying that I am not a coder by any stretch of the imagination. But I have excellent pattern recognition and a grasp on how to make things match elements found elsewhere on the character sheet HTML portion. I have been fiddling around (only copy/pasting) to perfect a character sheet and only editing the elements I copy/paste to fit their need: i.e. if I copy Equipment because the specifics of that element can be used for Title A, B and C that I need to introduce, I know that Title A must be changed in two places to be sure text from Equipment does not get copied on Title A. What the terminology of this means, I have no idea, but I know enough to recognise this as fact. So, I have only edited what I needed where I needed. Everything is the way it should be. However, and this is huge, for some reason the Tabs at the top of the page (which I have no edited at all) do not allow me to see any of the other Tabs other than the Primary (in this case, called  Archetype. I need the other Tabs to show the correct info, and this is the point that I have no clue what to do. So rather than butcher things up, I am turning to the community of experts. How can I show you what things look like to fit what I need to fix to get the sheet to work again?
The image on the left is what I see on the new sheet, and the image on the right was pre-edits.
1768792304
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Looking at the sheet code that is on github, it looks like the sheet is using the old radio button method of tabs. The issue could be in your css, or if you changed the classes of any of the view containers, or if you accidentally changed the attribute names of the radios that are part of the nav buttons.
I am not using the code from github. Another coder was developing new elements for the sheet and he was adapting the old for the new. I don't see anywhere where made a change and did not ensure it matched the other elements it was tied to. I'll take another look now that I have slept, but I highly doubt that was it...
1768835056
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
There's about 5 different ways to do tabs, so without knowing what your version of the code is doing, it's impossible to give you any advice.
1768836749
vÍnce
Pro
Sheet Author
Hi Eric, Did you make any changes to the CSS and/or any sheetworker JS?  Sometimes just mimicking the code may not be enough depending on how a sheet functions.  You may/or may not have to make other non-obvious changes as well.  Can you undo some or all of your additions and get the tabs functioning again?  You'll very likely need to post a link to your code given the nature of your issue in order for us to help.
I officially give up. I have had three migraines today trying to figure out any way to do any thing. What I need now is to get some help to do the changes for me. Thanks for trying to help, but I am a lost cause.
1768872360
vÍnce
Pro
Sheet Author
Been there. Done that. Don't give up. If you can post your current code somewhere( pastebin , github gist , or...) I'm sure we can help get you back on track.