Styles not working with https

More
14 years 2 months ago #5183 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?

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

More
14 years 2 months ago #5184 by ced1870
Hi
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.

More
14 years 2 months ago #5185 by rick76
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.

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

More
14 years 2 months ago #5186 by ced1870
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.

More
14 years 2 months ago #5187 by rick76
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);
}

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

More
14 years 2 months ago #5192 by ced1870
yes, replace
Code:
$document->addStyleSheet(JURI::base() . 'modules/mod_maximenuck...
with
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.211 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 4031 guests and no members online