Support Forum
did you look at the codex article I referenced for this one? http://codex.simple-press.com/.....loginform/
It gives you all the valid arguments that you can pass...
so you want to add what you want for:
‘passwordLink’ => site_url(‘wp-login.php?action=lostpassword’, ‘login’), # link to use for the lost password link
replace the
site_url(‘wp-login.php?action=lostpassword’, ‘login’),
with what you want... > Simple:Press Support > Saturday, January 19, 2013 1:15 PM > >
Visit Cruise Talk Central and Mr Papa's World
Aah almost.
When i read the codex and what you said this is houw i make it
== IN-LINE LOGIN FORM - OBJECT DEFINITION ====================
$loginForm = array(
'tagClass' => 'spForm',
'controlFieldset' => 'spControl',
'controlInput' => 'spControl',
'controlSubmit' => 'spSubmit',
'controlIcon' => 'spIcon',
'controlLink' => 'spLink',
'iconName' => 'sp_LogInOut.png',
'labelUserName' => __sp('Login name'),
'labelPassword' => __sp('Password'),
'labelRemember' => __sp('Remember me'),
'labelRegister' => __sp('Register'),
'labelLostPass' => __sp('Lost password?'),
'labelSubmit' => __sp('Log In'),
'showRegister' => 1,
'showLostPass' => 1
);
‘passwordLink’ => http://www.cannabismarijuana-s.....-recovery/ # link to use for the lost password link
Also when i remove : # link to use for the lost password link. From the code still my forum gives an error.
What is going rong ?
Thanks
you have to put it in the form array...
$loginForm = array( 'tagClass' => 'spForm', 'controlFieldset' => 'spControl', 'controlInput' => 'spControl', 'controlSubmit' => 'spSubmit', 'controlIcon' => 'spIcon', 'controlLink' => 'spLink', 'iconName' => 'sp_LogInOut.png', 'labelUserName' => __sp('Login name'), 'labelPassword' => __sp('Password'), 'labelRemember' => __sp('Remember me'), 'labelRegister' => __sp('Register'), 'labelLostPass' => __sp('Lost password?'), 'labelSubmit' => __sp('Log In'), 'showRegister' => 1, 'showLostPass' => 1, 'passwordLink' => 'http://www.cannabismarijuana-seeds.com/password-recovery', );
Visit Cruise Talk Central and Mr Papa's World
lol. It does cover it, but would admit the second part, adding the array element is a bit more tricky...
there is a bit of an assumption that if you are tweaking an sp theme, you are at least familiar with how a wp theme works...
but hey, we are here to help...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
why do you want to edit or change that file???I pointed you to the codex about those functions... those functions are called from your sp theme... the codex tells you how to alter the function calls in your sp theme to achieve the desired operation... you do NOT need to modify those files... just call them differently... you will find the calls in spHead.php template file in your sp theme..
I don't understand this post. I too want to change the register button inside my theme. You guys had me use the standard theme and not one of the unique themes of simple press due to execution errors. So now I sit here and wonder how to change this simple button. I can not find a sphead.php when i search on all files inside of simple press using filezilla so I think the only thing I can do is to hard code changes inside the simple-press/forum/content/sp-common-view-functions.php.
what am i missing here? I also want to change colors and use a bar for indented tabs to represent the user location on the site (like you have above) however i don't have a clue how to do that either.
please advise and let me know if i have to hard code the links in the simple-press/forum/content/sp-common-view-functions.php. or what you are talking about in the sphead.php and how to access.
thanks
G
its not inside of simple press... its inside your custom theme... so wp-content/sp-resources/your-theme-name/templates/spHead.php
I would strongly recommend against changing core code...
but, you have not said what you actually want to do???
and be sure to check out: http://codex.simple-press.com/.....terbutton/
for ways you can control how the register button displays and operates...
Visit Cruise Talk Central and Mr Papa's World
The spHead.php file is in every Simple:Press theme custom or supplied ones. It is in the theme's /templates folder along with the other php files. You can edit that one also using the theme editor built into Simple:Press > Themes >Edit theme. Then you won't have to go searching for it.
Changing colors requires that you edit the theme's overlay or CSS file and change the CSS to the colors you want.
The "indented tabs to represent the user location" you are talking about sounds like you mean the breadcrumbs arrows. That requires quite a bit of CSS changes and also possibly creating an image for the arrow itself. Multiple topics here on how to do it… for example: https://simple-press.com/suppor…..ne/page-3/ But not for the faint of heart. Will take some trial and error.
1 Guest(s)