I've been looking and looking and haven't been able to find it. Does the printNewsContent() function assign any css id/class to any of the the content? From what I can tell it doesn't which means if attempting to apply CSS styling to it's output would require modifying the core component some.
Am I missing something simple? It could be that my lack of proper sleep is causing me to miss it, heh.
No, it does not, it just prints the content you added and how you configured TinyMCE for. You have to put a wrapper div or the like around it.
tinyZenpage however does add classes to the images you include in a page/article (but those are documentated in the plugin itself).
But what if the news that's being displayed isn't something you created in tinyMCE.
I knew it did it for news pages, but for when the news item it's displaying is an album, there's not really a way to style that properly I've found. For instance centering the image or what not.
You could also set a custom stylesheet in the tinyMCE configuration file(zp-core/zp-extensions/tiny_mce/config/).
Classes you define in that stylesheet will appear under the [i]styles[/i] dropdown box in the tinyMCE editor.
Note that you can only use classes!(i.e. .classname{}).
You can then assign those classes to whatever you want.
More info here: http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/content_css
Yes, but what I mean is when using the CombiNews of zenpage to include album automatically, the printNewsContent() is printing something that is automatically generated, not something I prepared via tinyMCE.
I suppose a workaround would just be to turn off combinews and make my album entries manually.
Edit:
If you take a look at the new theme I'm working on here.
Aesthetically to me it would make more sense to be able to center the album thumbnail that's being used. I could just set the thumbnail to a large size to fill the empty space, but the problem with that is of course orientation of images.
@Micheall: You should have mentioned that you are talking about CombiNews mode...
Fretzl's way is the right one to do it for single CombiNews items, no need for wrappers or such. If you use the "latestimagesbyalbum" option there are for the titles and a wrapper class `latestimagesbyalbum` around each entry. However I just noticed that there seems to be missing a wrapper for the item description. It was once abut since TinyMCE could include that as well it would be invalid. Seems a repacement div was forgotten. Will be added for tonight's nightly.
Edit: No, I just recall we have no wrapper for the text description so you can let it float around the image.
i have a problem concerning the combi-news feature: a is put in between the album picture and the album description - and i don't really find a way to remove that. now the text begins under the image, but i want it to float right next to it. any hints? (i already looked through all php files of the theme, but found not a single linebreak - i think, the output of printNewsContent(); has to be changed, but i don't really know how to do that)