Kunena Menu
Styles not working with https
14 years 2 months ago #5183
by rick76
Styles not working with https was created by rick76
The styles for my main menu (Maximenu) are not working with secure pages on my site -- at least not with Chrome or IE. Firefox is working fine. For some reason, the change to https is preventing the Maximenu module from loading.
Here's the page: www.gcmediaministries.org/donate-us
It's working fine elsewhere -- the problem is only with this one secure page.
Any ideas?
Here's the page: www.gcmediaministries.org/donate-us
It's working fine elsewhere -- the problem is only with this one secure page.
Any ideas?
Please Log in or Create an account to join the conversation.
14 years 2 months ago #5184
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Styles not working with https
Hi
I have tested your url, and it seems to be working ...
Ced
I have tested your url, and it seems to be working ...
Ced
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
14 years 2 months ago #5185
by rick76
Replied by rick76 on topic Re: Styles not working with https
It's working fine in Firefox, but Maximenu is getting blocked in Chrome. Here's the error it's giving:
[blocked] The page at www.gcmediaministries.org/donate-us ran insecure content from www.gcmediaministries.org/modules/mod_ma.../moo_maximenuhck.css .
For some reason, it's seeing that module as unsecure.
[blocked] The page at www.gcmediaministries.org/donate-us ran insecure content from www.gcmediaministries.org/modules/mod_ma.../moo_maximenuhck.css .
For some reason, it's seeing that module as unsecure.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #5186
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Styles not working with https
ok, you should try to edit the code of the module, in the file mod_maximenuck.php, and delete the JURI:base() just before the css call.
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
14 years 2 months ago #5187
by rick76
Replied by rick76 on topic Re: Styles not working with https
You mean this code?
if ($orientation == 1) {
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck/themes/' . $theme . '/css/moo_maximenuvck.css');
if ($usecss == 1)
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck/themes/' . $theme . '/css/maximenuvck.php?monid=' . $menuID);
} else {
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck/themes/' . $theme . '/css/moo_maximenuhck.css');
if ($usecss == 1)
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck/themes/' . $theme . '/css/maximenuhck.php?monid=' . $menuID);
}
if ($orientation == 1) {
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck/themes/' . $theme . '/css/moo_maximenuvck.css');
if ($usecss == 1)
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck/themes/' . $theme . '/css/maximenuvck.php?monid=' . $menuID);
} else {
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck/themes/' . $theme . '/css/moo_maximenuhck.css');
if ($usecss == 1)
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck/themes/' . $theme . '/css/maximenuhck.php?monid=' . $menuID);
}
Please Log in or Create an account to join the conversation.
14 years 2 months ago #5192
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Styles not working with https
yes, replace
with
Code:
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck...
Code:
$document->addStyleSheet('modules/mod_maximenuck...
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.198 seconds




