A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
coding-topic
Change Login / Register button links
Avatar
Michael Montague
Brisbane, Australia
20 Posts
(Offline)
11
Oct 27, 2015 - 6:09 am
Print

Thanks mate that makes total sense now. I didn’t realise they were passed in like normal php elements in a URL, so maybe an example with multiple args is useful, but maybe this question isn’t asked very much. Great support from you guys 🙂 

Avatar
Yellow Swordfish
Glinton, England

16436 Posts
(Offline)
12
Oct 27, 2015 - 6:22 am
Print

Thank you and happy to have helped. I hope this means it worked as expected 🙂

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Montague
Brisbane, Australia
20 Posts
(Offline)
13
Oct 27, 2015 - 9:31 am
Print

Thanks it works on the desktop, but not in spHeadMobile.php using the Reboot with a child theme. My code for this is below but it sends me to a page http://panorev.com/forum/logInLink instead:

sp_LogInOutButton('tagClass=spControl&mobileMenu=1&logInLink=http://panorev.com/login&logOutLink=http://panorev.com/logout', __sp('Log In'), __sp('Log Out'));
Avatar
Michael Montague
Brisbane, Australia
20 Posts
(Offline)
14
Oct 27, 2015 - 9:38 am
Print

Think I just fixed that now too.

I’ve just set the mobileMenu flag to 0 and it’s working, even though the menu still displays in a drop down box which is fine. I thought setting that arg to 0 would disable the dropdown menu. 

Avatar
Ike
Sawtry, UK
2086 Posts
(Offline)
15
Oct 27, 2015 - 9:44 am
Print

Strange, although it’s still technically inside ‘sp_MobileMenuStart’ section so it will remain in the drop down, I’m not sure why having it enabled would use the argument ‘logInLink‘ in the URL unless there was a typo in the function arguments.

Either way, glad it’s working how it should!

Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support, Marcus (Simple:Press)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
Lorena Affleck
samantardh
PatrickAlawl
Hannelore Gaither
Margarito Nowacki
Elwood Mcclendon
samantaerx
Larue Cordeaux
Jerrold Stockman
Forum Stats:
Groups: 7
Forums: 17
Topics: 10071
Posts: 79393

 

Member Stats:
Guest Posters: 608
Members: 16976
Moderators: 0
Admins: 4

Most Users Ever Online
1170
Currently Online
Guest(s)
1
Currently Browsing this Page

1 Guest(s)