When there is a CSS code in the profile params containing lines with ID selectors applying profile just ignores those lines resulting in wrong CSS code. For example:
#foo, .bar, .bar-bar { display: block }
will result in:
.bar, .bar-bar { display: block }
Example of the profile YAML:
objects: - type: module data: name: Custom Style params: nobox: y groups: order: 1 position: top custom: | {literal} <style type="text/css"> #whitehead, .bgwhite { background-color: #fff } </style> {/literal} parse: n
Saving this as myprofiles/custom-style.yml
and applying this profile using php console.php profile:apply custom-style myprofiles
will result in custom module creation named "Custom Style" but there will be no line with #whitehead,
in it, just the .bgwhite class declaration.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |