Nested div error in Universal Module

More
5 years 2 months ago - 5 years 2 months ago #75717 by Rooney
Hi,

in mod_flexicontent.php is the following code:
Code:
if ($main_html) { $extName = basename(__FILE__, '.php'); echo ' <div id="' . $extName . '_' . $module->id . '"> ' . $header_html . ' ' . $main_html . ' ' . $footer_html . ' </div> '; }

Using the menu template in universal module creates a nesting error:
Code:
<div class="custom"> <ul class="menu sidemenu"> <div id="mod_flexicontent_269"> <li class="">

which destroys the css settings!

deleting the
Code:
<div id="' . $extName . '_' . $module->id . '"></div>

solves the problem.

FC 3.3.x

Rooney

Joomla! 3.9.24 and FC 3.3.9
Last edit: 5 years 2 months ago by ggppdk.

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

More
5 years 2 months ago #75722 by ggppdk
Hello

thanks for report

will make a fix that works well in all cases


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
5 years 2 months ago #75732 by ggppdk
Hello

is this a custom module style of a 3rd template ?

which Joomla template are you using ?
and which layout are you using in the module ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
5 years 2 months ago #75745 by ggppdk
Hello

i have module the container to the

"header.php"
and
"footer.php"

of the (module's) layout

thus your custom layouts will not be effected

github.com/FLEXIcontent/flexicontent-cck/releases/tag/v3.3.0-s4


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
5 years 2 months ago #75754 by Rooney
Hi, tested. The two issues have gone. Thanks a lot!
Rooney

Joomla! 3.9.24 and FC 3.3.9

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.627 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline