Floating Module CK en bas d'écran

Replied by chetanmadaan on topic Floating Module CK en bas d'écran

Posted 4 years 7 months ago #53672
Hello, Thank you for registering me CEd.

Here is the modules.php for Astroid, What changes do you suggest to make it work with your extensions?

github.com/joomdev/Astroid-Framework/blo...ero/html/modules.php

Thank you,
Chetan
The following user(s) said Thank You: iorbita

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

Replied by ced1870 on topic Floating Module CK en bas d'écran

Posted 4 years 7 months ago #53673
Hello
thank you for participating to this problem.
Currently the situation is like this
- using the plugin I add a modChrome style on the desired module
- Joomla split the styles (you can set more than 1 modChrome style) and apply each style to the module
- the modChrome function for each style is called, and this function is located into my plugin

You can test with Protostar, it works perfectly :)
I don't know why it does not work with Astroid. Are you using a specific module chrome feature, different than the joomla code ?

I give you by email the plugin so that you can test
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by chetanmadaan on topic Floating Module CK en bas d'écran

Posted 4 years 7 months ago #53674
Hi CEd,

We are using similar (but a little advanced) modChrome layouts in Astroid.

Thanks for sending me a copy of he plugin, I'll see if I can reproduce this and get back to you possibly with a fix.

Thanks,
Chetan
The following user(s) said Thank You: ced1870

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

Replied by ced1870 on topic Floating Module CK en bas d'écran

Posted 4 years 7 months ago #53675
technical details
Code:
function modChrome_floatingmoduleck($module, &$params, &$attribs)
>>> loaded in the plugin

then
Code:
public function onRenderModule($module, &$attribs) { ... // find a module to float if ($moduleParams->get('floatingmoduleck_enable', 0, 'int')) { $attribs['style'] .= ' floatingmoduleck'; ... }
here is the code that adds the "floatingmoduleck" style to the module
hope it helps

Joomlack Webmaster and Developer

by ced1870

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

Replied by chetanmadaan on topic Floating Module CK en bas d'écran

Posted 4 years 7 months ago #53676
Fair enough! Thank you for the details. We'll see if we can get this fixed.

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

Replied by chetanmadaan on topic Floating Module CK en bas d'écran

Posted 4 years 7 months ago #53677
Hi Lorenzo,

I just tried it with the login module and it seems to work just fine.

www.dropbox.com/s/z566hoiakz554gg/2019-09-16_15-05-36.mp4?dl=0

Are you not having the same results?

Thanks,
Chetan

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

Time to create page: 0.688 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 892 guests and no members online