Revert the order of Published Yes/No radio

  • Posts: 136
  • Thank you received: 7
7 years 5 months ago #253987

-- HikaShop version -- : 2.6.4
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.4
-- PHP version -- : 7.0
-- Browser(s) name and version -- : All

Hi

I made some CSS styling to the Published Yes/No radio, e.g. in Product Edit so that it would look like Joomla 3.4 back-end. And in Joomla back-end Yes comes before No. I would suggest to revert the order of the No/Yes to be Yes/No.

Regards,
Henrik


.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building
Attachments:

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 5 months ago #254011

Hi,

The "yes/no" is displayed thanks to the "select.booleanlist" JHTML provided by the Joomla framework.
Any front-end component which will use it will have the same "content".
So I don't see the interest of modifying how HikaShop (and HikaMarket) is displaying the "yes/no" if it already using Joomla framework to have an unified content.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: flexsus

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

  • Posts: 136
  • Thank you received: 7
7 years 5 months ago #254094

You are right!
My head was just upside/down yesterday :-) The order can be this way too.
You could do some nice No/Yes, Off/On buttons like this:
callmenick.com/post/css-toggle-switch-examples

Thank you!


.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 5 months ago #254098

Hi,

The "yes/no" is displayed thanks to the "select.booleanlist" JHTML provided by the Joomla framework.
Any front-end component which will use it will have the same "content".
github.com/joomla/joomla-cms/blob/stagin.../cms/html/select.php

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.049 seconds
Powered by Kunena Forum