Developer wanted: commentform iframe

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Developer wanted: commentform iframe

Post by Don Chambers »

For entries, we have previews shown in an iframe.... this allows the stylesheet(s) for the frontend to be loaded so that the entry looks just like it would on the front end.

We really need the same thing for comments. Right now, when you click on "Comments" in the admin sidebar, then edit a comment, the commentform.tpl is loaded, but not the frontend stylesheet(s). As a result, that commentform looks nothing like the frontend. This can be a real problem if a template uses a custom commentform.tpl and relies on the stylesheet for proper formatting.

I was thinking that a reasonable solution would be to show the commentform within an iframe much the same way as an entry is previewed, complete with a comment_iframe.tpl file that can be customized by a theme, just as preview_iframe.tpl can be. Again - this is only from the admin/backend. I am not suggesting an iframe for the comment form on the frontend. And perhaps there is a better way to accomplish the objective other than an iframe....

Once in awhile, I come up with a decent idea or 2 in stylesheets, but I am not a designer nor programmer, and this is way over my head. One of you talented developer/php people like to take a shot at this?
=Don=
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

C'mon you coders!!!! Let's give Garvin a little help here. He is buried!!!! He can certainly bring this to life, but he has many other priorities. Anyone??!!!!
=Don=
Post Reply