Edit Vendor Login Page

I'm trying to make changes to the Vendor Login page. Right now, it's just the default login page, like this:

http://i.imgur.com/aBuhRfm.png

But I'd like to make some changes to how that looks (and add a link to allow them to "Sign Up for a Vendor Account" that links over to our Vendor Application page).

How and Where do I make changes to accomplish this?

Template is located here:

design/backend/templates/views/auth/login_form.tpl

Please use the following code to add text for vendor accounts only:

{if $smarty.const.ACCOUNT_TYPE == 'vendor'}
TEXT HERE....
{/if}

That doesn't seem to be working.

I did exactly that. I copy and pasted your code snippet (and even left it saying "TEXT HERE..." just to test) at the end of the login_form.tpl file. I saved my changes, I cleared my browser cache, and I cleared CS Cart's Cache then reloaded the vendor login page, and I still see no change. I even checked the source code and did a search for "TEXT HERE" and it's not there anywhere.

Works on my local installation

http://prntscr.com/a40mdp

http://prntscr.com/a40mln

Any other advice then?

I'm using "Graceful Theme" but I didn't think that affects the login pages.

I've tried adding that to 5 different "login_form.tpl" files. I have the "backend" folder (updated it there). I also have the following 4 under themes:

  • graceful
  • graceful_clone
  • responsive
  • responsive_clone

Inside CS Cart Admin, if I got to where I chose a theme, it says I'm using a "graceful_clone" but the one I'm using has the following in the sidebar:

THEME INFORMATION

Name
TrainingBAE_GracefulTheme
Directory
/graceful_clone
Layouts
3
Styles
3
Developer
cart-power.com

Also, if I use the built in CS Cart Admin Template editor (but selecting the top dropdown for Design » Templates), and go to "Templates » Views » Auth » login_form.tpl" here's what it currently looks like:

{assign var="id" value=$id|default:"main_login"}

{capture name=“login”}



    {if $style == "checkout"}
        
    {/if}

    {hook name="index:login_buttons"}
        
{include file="buttons/login.tpl" but_name="dispatch[auth.login]" but_role="submit"}
{/hook}

{/capture}

{if $style == “popup”}
{$smarty.capture.login nofilter}
{else}


{$smarty.capture.login nofilter}

{capture name="mainbox_title"}{__("sign_in")}{/capture}

{/if}
{if $smarty.const.ACCOUNT_TYPE == ‘vendor’}
TEXT HERE…
{/if}

Please check correct path in the post #2

I edited that one too:

/public_html/design/backend/templates/views/auth/login_form.tpl

Looks like this:

{__("email")}:
{__("password")}:
{include file="buttons/sign_in.tpl" but_name="dispatch[auth.login]" but_role="button_main" tabindex="3"} {__("forgot_password_question")}

{if $smarty.const.ACCOUNT_TYPE == 'vendor'} TEXT HERE.... {/if}

Try to remove the var/cache directory manually

Wow! That worked!! Thank you!

Ok, so it looks like the "Clear Cache" from my admin panel doesn't actually work (even though I still get the green confirmation message). Do you know what might be causing that?

Also, would you know why the built in template editor in the admin panel doesn't have me editing the actual template files?

Ownership of permissions issues.

Ownership of permissions issues.

Totally agree

So what needs to be changed to what in order to fix that? Any clue or is it too broad of a problem to pinpoint?

In SSH:

# sudo /bin/sh
# cd ~[your cpanel username]
# cd public_htnl
# chown -R [cpanel_user]:[cpanel_group] .
# chown [cpanel_user]:nobody .
# find . -type f | xargs chmod 644
# find . -type d | xargs chmod 755
# edit config.local.php and change file/dir permissions to match above

If you don't have root access to your server either use your file manager (if it lets you) or have your hosting company do it for you.