| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ ! ] ZB Portal Theme Chooser Widget; Need some add-on code. | |
|---|---|
| Tweet Topic Started: Oct 17 2012, 07:22 PM (1,116 Views) | |
| Guardiavoir | Oct 17 2012, 07:22 PM Post #1 |
|
Member
![]() ![]() ![]()
|
Board Address: Portal/Homepage, Index Board Software: ZetaBoards Description: Okay... Here's the problem... Using code from inspecting an element on my forum index, I made a forum theme chooser widget for my portal with a few minor tweaks. Everything works the way it's supposed to. Problem is, I want it to redirect straight to the portal rather than the index when someone selects a theme. I don't know how to do that. I think the problem's in the select id that's redirecting me elsewhere. I need some code to override the redirection part so it goes straight to the portal instead. Thanks! ![]() Here's the code I'm using:
|
![]() |
|
| ghoshriju33 | Oct 18 2012, 02:35 AM Post #2 |
![]()
I ❤ jQuery
![]() ![]() ![]() ![]() ![]()
|
but whats the use? if u change the theme while in portal, the page gets refreshed after u change the theme |
![]() |
|
| Ferby | Oct 18 2012, 04:19 PM Post #3 |
![]()
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The Redirection part is embedded into the ZB internal coding which we can't change. The entire `select` menu could be redone though to do it. Its late right now so don't expect anything from me right now. I'll see what I can do tomorrow |
![]() |
|
| .JinX | Oct 19 2012, 02:28 PM Post #4 |
|
OoZe was a legend.
:D
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Admin CP → Board Preferences → Board Setup Set your homepage to go to the portal, and then include a link to get onto the main forums. Problem solved. xD |
![]() |
|
| Ferby | Oct 20 2012, 05:34 PM Post #5 |
![]()
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thats un-needed. But I did have problem with this code so I'm sorry. It is possible though. |
![]() |
|
| Guardiavoir | Oct 20 2012, 06:30 PM Post #6 |
|
Member
![]() ![]() ![]()
|
@.JinX The homepage was already set to the portal. However, removing the "/site/" part from the link in the code did help the redirection. Weird part is that although it sends me back to the portal, it doesn't change the theme. |
![]() |
|
| Ferby | Oct 20 2012, 11:28 PM Post #7 |
![]()
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'll give some help here to solve the problem if anyone can. Its best to rewrite the code itself then edit the one in place. The reason of that being is because you can't rewrite the internal JS. If you rewrite it then you wouldn't have any problems. I found this hard to do myself but thats probably because I ain't a master at JS xD |
![]() |
|
| Guardiavoir | Oct 22 2012, 09:34 PM Post #8 |
|
Member
![]() ![]() ![]()
|
Could you code it for me, then? I'm not great with scratch coding if it doesn't evolving copying most of it from an inspected element... |
![]() |
|
| Pete B | Dec 9 2012, 03:05 PM Post #9 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
This request has gone a lengthy period of time without any new activity, therefore it is being marked as expired. This means that the request was typically too time-consuming or irritating for coders (who provide this service voluntarily in their free time) to complete. Thank you. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
3:27 PM Jul 11
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)





3:27 PM Jul 11