hi, my problem is that there are extra tags added to the zen pages when viewed... they do not appear in the html source in the administration area.. but when i view the page through view source they are there after each
li and <p> and i dont want them there.. how do i fix this
Comments
Also please what Zenphoto release do you use and maybe post a link so we can look at it.
the version is Zenphoto version 1.2.5 [4022] (Official Build)
This can of course be configured differently. TinyMCE's configuration (for the Gallery, Zenpage has a separate one) is in `zp-core/js/editor_config.js.php`. You will find all configuration options here: http://wiki.moxiecode.com/index.php/TinyMCE:Configuration
You will have disable this option: http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/force_br_newlines
I would love some info on how to fix this, if anyone has any. For now I'm fixing it through CSS.
I've noticed nightly builds mentioned in other threads — is the expectation for users to use nightly builds instead of official stable releases? I'm not used to do things that way, but if that's the better way to go, I will do that.
Well, the nightly build is the developement version that will become the next official one. If you encounter issues in an official version it is of course fixed in the developement version. By testing if the nightly fixes your issue that you help us to eliminate any further bugs.
If I write:
`
on a single line, TinyMCE does this:
`
`
I have set `force_br_newlines` to false and `forced_root_block` to false in `zp-core/js/editor_config.js.php`. Not sure if that even matters, however, because there are no new lines to convert — it's all one line.
But it's neither here nor there — I fixed the issue through CSS by setting the br tag to `display:none`. It would be nice if br tags were not injected to begin with — Zenphoto is hardly an application that is useable out of the box by a novice so it doesn't make a lot of sense to "dumb down" this aspect of the text editor — especially when there is an html mode that gives the appearance of control over the html. It would make more sense to have `force_br_newlines` off by default and allow it to be activated by users who need it.
Just my $0.02.
Anyway, thanks for the help and fast replies. Zenphoto is a great piece of software. Thanks!
Does anyone have any idea why this might be happening?
I might be barking up the wrong tree, but it looks like the javascript is not being called on admin-edit.php when editing an album/image.
Thanks for any help!
Thanks so much acrylian and sbillard for your replies and help.
For now I'm getting around the problem by using echo `(getAlbumDesc());` to print the descriptions instead. That works fine.
If TinyMCE generates the right html there is no other way that this might be changed.