Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Change registration button url
Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Dec 11, 2012 - 11:19 am

How do I change the registration button url from

http://forum.hpathy.com/wp-log.....n=register

to

http://problem-with-post-edit-...../register/

Simple Press is a great software working at Homeopathy Forums

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 11, 2012 - 11:37 am

You will need to modify the template. In this case the spHead.php template in the /templates folder of whatever SP theme you are using. You can use the SP theme editor for this.

Locate the line of code that runs this display function which will probably look like this:

sp_RegisterButton('tagClass=spControl', __sp('Register'));

You are going to add a new argument. Note the ampersand that is used as an argument separator:

sp_RegisterButton('tagClass=spControl&link=http://problem-with-post-edit-buttonpathy.com/register/', __sp('Register'));

That should do it.

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625