A little pointer for tab file location?
Where in the classes for the tabs does it define the default tab that is opened when a person visits a page? I'd love to change it to the first tab but I can't find the location.
|
Still need :)
|
Took me a while to figure this out, but if you go to the profile.php file, you should be able to see some start and end tab stuff. If you change the number order of those tabs, the numbers, and then find this: $profiletabs = new Tab(5, $tabs, 2); and change the 2 with a 1, it should work. :3
I think I failed at explaining that. XP |
I've done that but it doesn't work, sadly. Changed from 2 to 1 to 0 even, no luck. Still opens the second tab.
|
Umm, did you remember to reorder the start-end tab stuff... it works for me. Try looking around the rest of the file. It should be there...
|
Ok so an update, it WILL first open the tab I tell it to, then the second tab overtakes it once the page loads. I think there is some script piece I'm missing but I'm not sure.
|
Its in the script /view/profileview.php, in this line:
PHP Code:
|
All times are GMT -5. The time now is 03:20 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.