Ugly login box in the header doesn't go away if site language is not English

Post

Posted
Rating:
#656 (In Topic #136)
Avatar
Standard member
Alexander Paunovsky is in the usergroup ‘Fan in action’

I removed it, but it comes back when I switch site language from EN to BG

This ugly login box won't go away if I set site language to BG. If I set it to EN the box goes away, but if I set it to BG, the language I want to use on the site, the box comes back.

I removed the top_login block from the BLOCKS menu. It shouldn't be showing, but it is.

I am a total noob to Composr, I have no idea what might be wrong.
Online now: No Back to the top

Post

Posted
Rating:
#657
Avatar
Site staff
Adam Edington is in the usergroup ‘Super-moderators’
The menu links are causing the login box to display like that, which I am sure you realised. It is shown by default to Guests, but removing the block should probably have worked (not sure on this as it's hardcoded into the template). What you can do instead is edit GLOBAL_HTML_WRAP.tpl which is in the themes/default/templates/ directory,
Find and remove the following code:-


       <div class="top_form">
               
  • Join
  • Log in

  •        </div>


    Ideally create a copy of GLOBAL_HTML_WRAP.tpl in the templates_custom/ directory and then make this change on that custom file, which allows the original file to stay intact (good practice).
    Online now: No Back to the top

    Post

    Posted
    Rating:
    #658
    Avatar
    Standard member
    Alexander Paunovsky is in the usergroup ‘Fan in action’
    I will try your advice, but why does removing it through the control panel work when the site language is set to EN, and doesn't work when site language is set to BG? I would really like to fix this bug.

    The menu links are causing the login box to display like that, which I am sure you realised.
    This is NOT going to be a community site, so there is no need for members to register and login. 
    Online now: No Back to the top

    Post

    Posted
    Rating:
    #659
    Avatar
    Site staff
    Adam Edington is in the usergroup ‘Super-moderators’
    If it's a bug it will be fixed before the next release candidate, but perhaps you didn't empy the block and template caches (Admin Zone > Tools > Website cleanup tools). If it's not a cache issue, then removing that code will do the trick for now and should achieve the result you want.
    Online now: No Back to the top

    Post

    Posted
    Rating:
    #660
    Avatar
    Standard member
    Alexander Paunovsky is in the usergroup ‘Fan in action’
    Thanks. It worked.
    Online now: No Back to the top

    Post

    Posted
    Rating:
    #662
    Avatar
    Site director
    Chris Graham is in the usergroup ‘Administrators’
    He's probably right, caching. Even with smart decaching for templates, if block caching is on then it'll stick. Caching is per-language, hence why it might change on one but not another.

    Regardless of all this, I think definitely if the "No forums or members" forum driver is picked at installation it shouldn't show this stuff. I'll fix that. (I don't know if you picked that or not, and we don't really support that driver fully, but I'm just saying in principle :)).


    Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

    Was I helpful?
    • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
    • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
    • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
    • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
    Online now: No Back to the top

    Post

    Posted
    Rating:
    #668
    Avatar
    Standard member
    Alexander Paunovsky is in the usergroup ‘Fan in action’
    I tried with the "No forum driver" but I got tons of various errors so I reinstalled the site with Converser enabled and just removed the links to the forums.
    Online now: No Back to the top

    Post

    Posted
    Rating:
    #671
    Avatar
    Site director
    Chris Graham is in the usergroup ‘Administrators’
    Hi,

    I've just done some testing with this, and I didn't find any errors, but I did find a lot of messiness, mostly on the menus. The next RC will fix these issues.

    If there are any other issues you're saying please do report them, and we'll get them fixed.


    Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

    Was I helpful?
    • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
    • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
    • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
    • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
    Online now: No Back to the top
    1 guest and 0 members have just viewed this.

    Statistics

    Forum statistics:
    • 2,052 topics, 7,195 posts, 10,828 members
    • Our newest member is Evelynnixon
    Back to Top