- Posts: 575
- Thank you received: 11
Apply affiliate have no effect on bootstrap load
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
11 years 9 hours ago #218296
by ler@singmuiheng.com
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4.43
-- Error-message(debug-mod must be tuned on) -- : No error message
please test on the url using below id
user:test1
password:test1
when we go to
index.php?option=com_hikashop&view=user&layout=cpanel&Itemid=545
click into
access the affiliate program
select yes and press apply button
the status is not changed
this problem can be solved by do not load bootstrap in configuration but we need responsive and some other bootstrap feature
any existing solution?
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4.43
-- Error-message(debug-mod must be tuned on) -- : No error message
please test on the url using below id
user:test1
password:test1
when we go to
index.php?option=com_hikashop&view=user&layout=cpanel&Itemid=545
click into
access the affiliate program
select yes and press apply button
the status is not changed
this problem can be solved by do not load bootstrap in configuration but we need responsive and some other bootstrap feature
any existing solution?
Please Log in or Create an account to join the conversation.
10 years 11 months ago #218322
by nicolas
Replied by nicolas on topic Apply affiliate have no effect on bootstrap load
Hi,
The problem comes from your Joomla template which has a modified version of the bootstrap CSS and it's not working properly.
Disabling bootstrap is indeed a solution, but as you saw, you loose the responsive capabilities of bootstrap. So instead, the best would be to contact your template provide so that they could fix the CSS of your template to properly handle bootstrap buttons.
The problem comes from your Joomla template which has a modified version of the bootstrap CSS and it's not working properly.
Disabling bootstrap is indeed a solution, but as you saw, you loose the responsive capabilities of bootstrap. So instead, the best would be to contact your template provide so that they could fix the CSS of your template to properly handle bootstrap buttons.
Please Log in or Create an account to join the conversation.
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
- Posts: 575
- Thank you received: 11
10 years 11 months ago #218356
by ler@singmuiheng.com
Replied by ler@singmuiheng.com on topic Apply affiliate have no effect on bootstrap load
Any suggestion that we can make some tweak on this page since we only have problem on this page?
Please Log in or Create an account to join the conversation.
10 years 11 months ago #218456
by nicolas
Replied by nicolas on topic Apply affiliate have no effect on bootstrap load
Hi,
Could change the line:
to:
in the file administrator/components/com_hikashop/helpers/helper.php and that will deactivate the bootstrap for all the HikaShop radios on the frontend.
Could change the line:
Code:
if(HIKASHOP_J30 && (($app->isAdmin() && HIKASHOP_BACK_RESPONSIVE) || (!$app->isAdmin() && HIKASHOP_RESPONSIVE))) {
Code:
if(HIKASHOP_J30 && (($app->isAdmin() && HIKASHOP_BACK_RESPONSIVE)) {
The following user(s) said Thank You: ler@singmuiheng.com
Please Log in or Create an account to join the conversation.
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
- Posts: 575
- Thank you received: 11
10 years 6 months ago #234393
by ler@singmuiheng.com
This is a very usefull way to deactive radio button, however, i find that the radio button can not compatible with 90% of templates in the market especially some of the framework(helix, xtc and jsn etc), is it possible to make it as an option in configuration in future?
Replied by ler@singmuiheng.com on topic Apply affiliate have no effect on bootstrap load
nicolas wrote: Hi,
Could change the line:to:Code:if(HIKASHOP_J30 && (($app->isAdmin() && HIKASHOP_BACK_RESPONSIVE) || (!$app->isAdmin() && HIKASHOP_RESPONSIVE))) {in the file administrator/components/com_hikashop/helpers/helper.php and that will deactivate the bootstrap for all the HikaShop radios on the frontend.Code:if(HIKASHOP_J30 && (($app->isAdmin() && HIKASHOP_BACK_RESPONSIVE)) {
This is a very usefull way to deactive radio button, however, i find that the radio button can not compatible with 90% of templates in the market especially some of the framework(helix, xtc and jsn etc), is it possible to make it as an option in configuration in future?
Please Log in or Create an account to join the conversation.
10 years 6 months ago #234408
by nicolas
Replied by nicolas on topic Apply affiliate have no effect on bootstrap load
Hi,
Ok, let's first replace this line of code with:
we'll do that on our end too.
Then, you can simply add an entry with the namekey bootstrap_radios and the value 0 in the table hikashop_config and that will deactivate the bootstrap radios even when the use bootstrap design setting is activated without needing to change the code each time you update.
Ok, let's first replace this line of code with:
Code:
if(HIKASHOP_J30 && (($app->isAdmin() && HIKASHOP_BACK_RESPONSIVE) || (!$app->isAdmin() && HIKASHOP_RESPONSIVE && $configClass->get('bootstrap_radios','1')))) {
Then, you can simply add an entry with the namekey bootstrap_radios and the value 0 in the table hikashop_config and that will deactivate the bootstrap radios even when the use bootstrap design setting is activated without needing to change the code each time you update.
Please Log in or Create an account to join the conversation.
Time to create page: 0.215 seconds