What you want to add is related to the "people_".php files. Whether there are delegates there to allow you to append or rewrite things only mark knows without looking at the files yourself. You could easily rewrite and save it to your own theme directory as a personal modification for your forum and it should work.
Thanks lech I don't have enough PHP experience to rewrite it but I'm sure there's a spot somewhere in one of the people .php files where I can type in the text that I want to write underneath the box below the Lussumo Vanilla, swell, and people Copyright 2001 - 2005
First of all, you should not be editing any files in Vanilla. You should be creating a new theme and creating/editing your own files in there. If you edit the Vanilla files, then your changes will be overwritten when you do an upgrade.
Make a new theme folder next to themes/vanilla/ called something like themes/mycustomvanilla/
go into /themes/vanilla and copy the styles folder. go to your /themes/mycustomvanilla and paste in the styles folder.
go to the root /themes folder and copy people_signin_form_nopostback.php go to /themes/mycustomvanilla and paste in people_signin_form_nopostback.php
Open up /themes/mycustomvanilla/people_signin_form_nopostback.php and edit it to look like this:
<?php // Note: This file is included from the library/People/People.Control.SignInForm.php control.
Then sign into Vanilla and go to the settings tab. Click the "Themes and Styles" form. Under themes choose "mycustomvanilla". Under styles choose "default". Check "apply to all users". Click Save.
Comments
I don't see any php file Under Themes>vanilla>styles>default.
Am I on the right styles folder?
Thanks
I also went to the Library>People>People.Control.SignInForm.php
No Luck :(
I don't have enough PHP experience to rewrite it but I'm sure there's a spot somewhere in one of the people .php files where I can type in the text that I want to write underneath the box below the Lussumo Vanilla, swell, and people Copyright 2001 - 2005
Thanks in advance
Make a new theme folder next to themes/vanilla/ called something like themes/mycustomvanilla/
go into /themes/vanilla and copy the styles folder.
go to your /themes/mycustomvanilla and paste in the styles folder.
go to the root /themes folder and copy people_signin_form_nopostback.php
go to /themes/mycustomvanilla and paste in people_signin_form_nopostback.php
Open up /themes/mycustomvanilla/people_signin_form_nopostback.php and edit it to look like this:
<?php
// Note: This file is included from the library/People/People.Control.SignInForm.php control.
$this->Render_Warnings();
echo '<div id="Form" class="SignInForm">
<fieldset>';
$this->Render_PostBackForm($this->FormName);
echo '<ul>
<li>
<label for="txtUsername">'.$this->Context->GetDefinition('Username').'</label>
<input id="txtUsername" type="text" name="Username" value="'.$this->Username.'" class="Input" maxlength="20" />
</li>
<li>
<label for="txtPassword">'.$this->Context->GetDefinition('Password').'</label>
<input id="txtPassword" type="password" name="Password" value="" class="Input" />
</li>
<li id="RememberMe">
'.GetDynamicCheckBox('RememberMe', 1, ForceIncomingBool('RememberMe', 0), '', $this->Context->GetDefinition('RememberMe')).'
</li>
</ul>
<div class="Submit"><input type="submit" name="btnSignIn" value="'.$this->Context->GetDefinition('Proceed').'" class="Button" /></div>
</form>
</fieldset>
<ul class="MembershipOptionLinks">
<li class="ForgotPasswordLink"><a href="'.GetUrl($this->Context->Configuration, $this->Context->SelfUrl, '', '', '', '', 'PostBackAction=PasswordRequestForm').'">'.$this->Context->GetDefinition('ForgotYourPassword').'</a></li>
<li class="ApplyForMembershipLink"><a href="'.GetUrl($this->Context->Configuration, $this->Context->SelfUrl, '', '', '', '', 'PostBackAction=ApplyForm').'">'.$this->Context->GetDefinition('ApplyForMembership').'</a></li>
</ul>
</div>';
?>
My custom junk goes here.
Then sign into Vanilla and go to the settings tab.
Click the "Themes and Styles" form.
Under themes choose "mycustomvanilla".
Under styles choose "default".
Check "apply to all users".
Click Save.
Click the sign out button.
Watch the magic.
http://lussumo.com/docs/doku.php?id=vanilla:themes
You're the best ;)
This is the kind of tutorial I'm looking for.
Thank you Mark and everyone else...