1. Varsita
  2. Friday, 23 June 2017
I can't remove the button "Login" in the top menu.
I found the code

$this->position = 'menu';

in the file: templates/shaper_varsita/features/account.php and I comment it.
I thought that will solve my problem, but after I uploaded the edited file there is an error:
Fatal error: Cannot redeclare class Helix3FeatureAccount /.../.../.../.../templates/shaper_varsita/features/account.php in on line 11

I can't understand where I'm wrong.

Thanks for your support!
Accepted Answer
Hi,
because you removed bad part of code.
please upload correct file. Better do not touch PHP code if your skill level is low.
--
Follow my steps:
1) In Module Manager disable all login modules
2) If you don't need new registrations, in User Manager - disable it
3) use this custom CSS code

#sp-menu .sp-my-account {display:none;}


inside custom.css file !! a new one !! in template folder where all others css files are
  1. more than a month ago
  2. Varsita
  3. # Permalink
Responses (5)
Thanks for answer Paul.
  1. more than a month ago
  2. Varsita
  3. # 1
Merci, works very good
  1. more than a month ago
  2. Varsita
  3. # 2
I can't find custom.css file
  1. more than a month ago
  2. Varsita
  3. # 3
In that case, you have to CREATE it.
We told about it in helix manual.
  1. more than a month ago
  2. Varsita
  3. # 4


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.