ex_awakened208: (Default)
♡ ([personal profile] ex_awakened208) wrote in [community profile] style_system2012-04-09 01:03 am
Entry tags:

Custom Private Module

Is it possible to create a custom text module for a community that is only visible to members of that community?
ninetydegrees: Art: self-portrait (Default)

Re: Adding a second module, tied to the first one

[personal profile] ninetydegrees 2012-04-09 08:00 pm (UTC)(link)
You're most welcome!

One more thing: In the code above, the CSS class for the second module is .module-customtext2 (that's the first variable in open_module). If the custom text module has some existing styling it would be better to leave it to the usual 'customtext' so the styling applied to both modules. If you want to be able to CSS style the second module differently, you can add a second class by changing the name to 'customtext membersmodule'. However, if you used .membersmodule in your CSS customizations, keep in mind that any code savvy person would deduce this module existed if they looked at the CSS for the journal.
Edited 2012-04-09 20:00 (UTC)
ninetydegrees: Art: woman laughing (laughter)

Re: Adding a second module, tied to the first one

[personal profile] ninetydegrees 2012-04-09 08:09 pm (UTC)(link)
XD Potato, definitely!