contao/import — Issue #2846: Module CSS ID/class doesn't work when included as content element
Author: importer
Created: 2011-11-29 20:23:36+00:00
State: open
Labels: Defect, Duplicate, frontend

tested on fresh install 2.9.3
to reproduce:
create new module Custom navigation
fill fields CSS ID/class
save
than insert this module as an new element of an article and save
now you will see that there is no CSS ID or class outputed in source of html

Problem in Module.php:
constructor holds values but generate function looses it.

Solution:
at the top of this class at line 66 define..
**protected $cssID;**

I did not tested other variables but I think there could be some problems with other too.

Related issues: #780, #1511, #1838, #2513, #2523, #2612, #2732, #3401

--- _Originally created by davor on February 5th, 2011, at 02:29am (ID 2846)_