Author Topic: I need help making button Login / Logout  (Read 4299 times)

Offline jonathanptk

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
I need help making button Login / Logout
« on: May 28, 2014, 10:02:45 AM »
Good morning, my name is Jonathan Diego Parteka, I'm from Brazil ...
I'm translating the store for my language, and because of that I had to delete the item from the "Login / Logout" menu because I was not able to translate it.

Now I'm having a little problem because I can not create a button that shows "login" when you have not gotten to the section, and "logout" when the user has started the section.

My idea is to create an HTML block to insert this button after in store, but I can not do this, can anyone help me?

My shop is this: futureimports.com.br

Thank you!  8)

Offline jonathanptk

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: I need help making button Login / Logout
« Reply #1 on: May 28, 2014, 11:09:03 AM »
Unable to resolve the problem, figured out how to translate the menu and the buttons rfiz using their unique IDs. Thank you!  :D

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: I need help making button Login / Logout
« Reply #2 on: June 24, 2014, 07:52:04 AM »
In order to have login and logout, you need to have a logic. This has to be done in PHP.
You will need to create static block php controlelr and tpl template
You can see top menu as example. 
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod