Page 1 of 1
Preview when publishing entry
Posted: Sun Feb 26, 2006 8:49 pm
by carl_galloway
I'm starting to get quite annoyed with the preview function when saving a post. I know some users like to see the preview, but personally it just annoys me. Is it possible to disable this and simply see the messages in plain text?
Carl
Re: Preview when publishing entry
Posted: Mon Feb 27, 2006 1:37 pm
by garvinhicking
Hm, what do you want to see, I don't fully understand that? If you don't like the preview function, you don't need to click on the button?!
Best regards,
Garvin
Posted: Mon Feb 27, 2006 5:01 pm
by carl_galloway
Sorry I'm exhausted and not making sense - when you save a post the iframe automatically styles the success messages and page preview, but I don't want this, I just want the messages like they would look if the admin suite was the theme. My vision is deteriorating, and even some of my own themes are hard to read, but the admin suite uses plain black text and I would like the success messages to be the same. I don't see why the success message need to be styled like the my chosen theme if I'm in the admin suite - that's just silly, but I do understand why the preview would be styled like the theme. If I want the preview, I can as you say, click the button.
Posted: Mon Feb 27, 2006 7:57 pm
by garvinhicking
The problem is that the iframe at that point does not know if it is going to display a preview or save the entry. So we need to load a stylesheet that "works" for both ways.
It would mean a total change in logic to revert that. Instead I would suggest to style the frontend theme to include a 'serendipity_adminMsg' class to style that message differently...?
At least until I'll have some more time to change the code logic there.
Best regards,
Garvin
Posted: Mon Feb 27, 2006 10:33 pm
by carl_galloway
Garvin, I don't see this as a major priority, but the iframe thing seems to confuse a lot of people, there have been several threads about it over the last month. I think the logic change would be very useful, but maybe for version 1.5? instead of version 1.0
I will experiment with the serendipity_adminMsg and see if that solves my problem. My vision problems are unusual, they're neurological not physical, so perhaps this isn't an issue to other people, and in this case I wouldn't expect you to make changes. On the other hand, quite a few of my suggestions have made their way into the core code so if I don't mention my thoughts then other people won't be able to agree or disagree.
By the way, I love the links to s9y.org you're added to the intro page of the admin suite in the latest nightly.
Tchuss!
Carl
Posted: Tue Feb 28, 2006 11:47 am
by Manuel
Hi Garvin!
carl_galloway wrote:My vision problems are unusual, they're neurological not physical, so perhaps this isn't an issue to other people, and in this case I wouldn't expect you to make changes.
Personally, I
do appreciate the fact that s9y shows the entry completely styled after you click on "Save". In fact, I can't really see why people wouldn't want this.
So, before changing anything in the code, it would be great if you could think about a switch in the configuration menu which leaves the choice to the user whether an entry be shown styled or not after it's been saved.
Greetings,
-Manuel