JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 5, 2017 13:40:36 GMT -8
Tumbleweed Okay, I've gotten the first table to work but the second isn't showing any content when I click the tabs... Any ideas for anything I could have missed, or should have placed in differently? I have the tabs codes in the Home Layout Template, the Panes divs around the board code in the Board List Layout Template, and I have the script in my Global Footers at the bottom of everything. I got the first tabbed table working and the tabs for the second table are there, but they aren't displaying content in the divs when clicked. :S ? I would be worried about whether it can pull the board data correctly but as the first table works perfectly, I'd say we're on to a winner if it can work out what it's doing with the other tables on the page, as I will want to make more of them - not just the two on there at the moment... Let me know what you think...? aludium.proboards.com
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 6, 2017 6:37:42 GMT -8
Also, on a slightly separate note. Is there a way for the selected tab to have a different customisation? I'd like the background of the one that's currently selected? Not sure where to edit for that to work...? Thanks for all your help so far!
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jul 6, 2017 7:49:49 GMT -8
JD, Sorry, haven't had a chance to get at this and I'm not confident I'll be able to figure it out either but I'll try to get at it some time today. I'm not even sure more than one tabbed table is necessary to do this. Seems it shouldn't be, off the top of my head, but having only one tables tab showing (out of two or several tabbed tables) as active means we'd have to write some css or (jquery?) to address all table tab links from all tabbed tables to show only one is active and right now I haven't a clue how to do connect them all. I think I'll worry about that later. No point worrying about a active tab from several tables if we can't get the other category tabs to work.
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 6, 2017 7:56:35 GMT -8
TumbleweedHaha! Absolutely, yeah - one issue at a time. Sorry this is such a pain! It just seemed so simple as an idea and when I got the first one working I thought it might be possible. Is the link to my site helping at all? I'm not the neatest coder in the world so apologies it it's a bit messy to look through :S
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 6, 2017 10:24:56 GMT -8
Okay - I've had a bit of a fiddle and I think I see where the issue lies (sort of).
I've tried every combination/order of the codes in the different layouts and the code that I've taken from your site works absolutely fine, even across the templates and after my customisation edits (I was worried I had broken it somehow).
What it can't do, is do it for multiple categories. If I place the second category (called Deep Core West) ABOVE the one that is currently first (Deep Core North) then they switch - North stops working and West starts working. This has nothing to do with where the code is, only which order the categories are in under the Categories/Boards section in the Admin panel. So, it clearly picks up for the first, but can't do it more than once - unless there is some way of going in and editing this?
What I don't know is if this is an issue with the tabs/panes not picking up a second div, or if it's a probably with my {if} elements picking up each category... :S
Sorry if you had already worked this out - I'm trying to work it out for myself so I'm not constantly bugging you. :S I thought I would try to do the long slog of process of elimination, and this was what I came up with.
Any ideas if this is surmountable as a problem, or will Proboards just not work that way?
Thanks for your help in advance!
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jul 6, 2017 22:20:47 GMT -8
JD, It's a good thing if you keep working on things so don't ever worry about that, especially since you were updating with things you tried, etc. I'm running into the same problem as you. I get the first cat to work and not the others and like you I just don't know enough about coding to find the problem. I knew I'd have issued with getting all the cats to work from the start but thought I'd try. I also tried going the if else route, naming all the boards in one category for the one tabbed table and then a else to name all the ones in the next category for the second tabbed table but then I did something that made the first category stop working and could not find what that was, got frustrated so scrapped the whole thing. I don't like that route as there has to be a way to get it to do so automatically but right now I'm at a loss. I knew i might not be the right person for this but I'm still thinking on it that there may be a different way to do this. Do keep bumping in case someone smarter about coding comes along but if I come up with something, I'll be sure to post.
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 7, 2017 0:32:17 GMT -8
Tumbleweed, Aw thanks for your help though, Tumbleweed, I really appreciate it. Unless someone can show me how to go into the coding of Proboards a little deeper (:S) I don't think I'm gonna make this one work either. I think you're right about a new strategy required to make it work... Will have to try working it another way... Hmmm... Back to the drawing board. By all means, if anyone else wants to have a go at this way of doing it - I am keeping the code to put back onto the site for anyone to have a look at should they ask. Otherwise, I'm gonna be fiddling with some other ideas... If anyone has a solution for making this board layout work, I'd be very thankful!!
|
|