Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Change the order of Toolbar Login items

  • Kontrive
  • Kontrive
  • OFFLINE
  • Posts: 19
  • Thanks: 3
  • Karma: 0
1 year 3 months ago #335209 by Kontrive
Change the order of Toolbar Login items was created by Kontrive
In much the same way as the Joomlapolis site, my login is on the top toolbar, with the "sign up" button on the right. Where do I need to edit things in order to move it to the left in the order of things? Thanks :)

Please Log in or Create an account to join the conversation.

  • Kontrive
  • Kontrive
  • OFFLINE
  • Posts: 19
  • Thanks: 3
  • Karma: 0
1 year 3 months ago - 1 year 3 months ago #335210 by Kontrive
Replied by Kontrive on topic Change the order of Toolbar Login items
Ok, I managed to do it. I am using the Default-Horizontal layout. I took the default-horizontal.php and got ChatGPT to change the order of the items, making the registration appear before the login. It works fine.However, ideally I would like this modified php to appear as an extra style choice in the cblogin advanced options layout choice.

If I copy my php file and rename it to something else and upload it, it doesn't appear as a choice in this list. It would be good if it could, as I assume the default-horizontal is in danger of being overwritten in a future update.

How can we make a modified php appear as an extra layout choice in the cblogin module? Thanks :)

P.S. I will attach the modified file, just in case someone else ever wants to do this :)

 

File Attachment:

File Name: default-ho...ntal.zip
File Size:2 KB
Last edit: 1 year 3 months ago by Kontrive. Reason: formatting

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
1 year 2 months ago #335214 by krileon
Replied by krileon on topic Change the order of Toolbar Login items
The sign up button should already be on the right unless you've right-to-left styling on your site.

As for changing the layout use Joomla's built in layout override features to create and override layout then adjust the HTML there, but the easiest approach is to just make the container of the elements a flexbox then you can use CSS order rules to change the order without touching the HTML.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum