Preview when publishing entry

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Preview when publishing entry

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Preview when publishing entry

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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
Manuel
Regular
Posts: 36
Joined: Sun Feb 19, 2006 11:36 pm
Location: Lion's den :3
Contact:

Post 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
Image
Post Reply