Admin panel modification to load one fckeditor at a time plus more section info

Would you agree to integrate the "lousou76 - One fckeditor at the time + section info" backend to be integrated to the next release of WB?

Yes it's a must
8 (27.6%)
Only if I can enable/disable it through the WB panel
15 (51.7%)
Not really necessary
3 (10.3%)
I 'd preffer that it stays as a seperate package
1 (3.4%)
I hate it! The developer should be crucified and burned alive!
2 (6.9%)

Total Members Voted: 24

lousou76

I fixed the Notices and added the anchors.
It now takes you to the exact section you asked to edit.

I am now working on adding an iframe to show the html on the first page.

lousou76

Yeap I got the picture.
I must think of a way to do this safely though.
You see if I display the content blocks as html then they wouldn't be editable before the open editor button is pushed. It could also brea the html of the edit page.

I thought that the section names would help in that direction, but you are right.
It doesn't help the client.

We must show the html with all options turned off so it loads easily.
I ll see if we can do this.
I would though like to keep using this part for myself.
I want to be able to edit the html on first look.

LS

Stefek

Hello LouSou.
Thanks for fixing this.
But I didn't mean it.
What I meant is (I think) a more dificult thing to do.

Illutration:
In the normal case, if the editor is displayed you can see the entries in the sections a lá WYSIWYG. Thus a "standard user" can see at first glance which section to edit.
Using your addition it is very hard for the "standard user" (not familiar with HTML) to spot the right section to edit.
If it where possible somehow to show the entries WYSIWYG while the Editors are "turned off" anyway...
I hope you can follow this picture.
I am not coder so I don't know how doable it is. But if this where possible so it was a handy thing. I thought very often about something like this and your core replacement is the only one addition which goes in that direction.

If you still dont understand, let me know. I will make "screenshots" then to explain it visual.

Best Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

lousou76

Yeap, you where right. I did have a bug there.
I fixed it.

It now works the same if you have the editor enabled or not.
I will deal with the ancors later on.

Cheers!
LS

lousou76

Hmm point number 1 I can understand, I think it's a very good idea and I will try to add it.

The point number 2 I don;t quite get but I will try toggling out the editor and see if I missed something out.
It should be very easy to fix.

Will have it ready soon enough.
Cheers.
LS


Quote from: Stefek on February 27, 2009, 12:56:29 PM
Hello.
I fact very interesting. (And worth to see it.)

Some hints:
1 - while having more than one section on one page it would be very handy (after pressing the [open editor] button)  to move directly to the selected section. I am sure this can be achieved with "anchors" somehow.
2 - Unfortunatly there is no possibility to see the content of the section "Wysiwyg" if the editor is toggled out. So the normal user will have problems finding the section he wants to edit.  :-(

For my own installations it is very handy - but as long as the second point is not working with as I mentioned above it's not that good for my customers installations. Maybe someone has any solution for this?

Anybody has ideas?

Thanks for sharing and best regards to Greece.
Stefek

Stefek

Hello.
I fact very interesting. (And worth to see it.)

Some hints:
1 - while having more than one section on one page it would be very handy (after pressing the [open editor] button)  to move directly to the selected section. I am sure this can be achieved with "anchors" somehow.
2 - Unfortunatly there is no possibility to see the content of the section "Wysiwyg" if the editor is toggled out. So the normal user will have problems finding the section he wants to edit.  :-(

For my own installations it is very handy - but as long as the second point is not working with as I mentioned above it's not that good for my customers installations. Maybe someone has any solution for this?

Anybody has ideas?

Thanks for sharing and best regards to Greece.
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

lousou76

It's ok now you can download it.

Replaces two files, please check.

Stefek

Quote from: lousou76 on February 26, 2009, 07:06:04 PM
Hi, Well I uploaded the module but The moderators requested I sign up first so it didn't show.
You will have it as soon as they approve.
I understand, thanks.

Quote
It's pretty cool but it has a looot of work to do...
Oh yeehh. I can imagin that. Worked for some 200 hours on the Admin Backend and no end in sight ;-)
But it's a lot of fun, for sure.:-)

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

lousou76

Hi, Well I uploaded the files but The moderators requested I sign up first so they didn't show.
You will have it as soon as they approve.

It's pretty cool but it has a lot of work to do...

Stefek

Hello LouSou

This is something I like to see.

Where did you put the modifications in?
Do you have any files you could upload and share?

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

lousou76

Hi to all,

I d ' like to congratulate everyone for creating this project, I really liked it.

One problem that I usualy encounter when I use pages with many block sections is that it takes years to load 7 or 8 fckeditors when I try to modify them.

The second is that the modification page does not display any information on the module type, number and description.

So I made the panel open in html mode and have an Edit button in every block.
If you push the edit button the page reloads, taking you to that specific block with only that block having an fckeditor (or any other editor you have as default).

I also added code to display enough info on top of every block. (label, section number and module type)
You can now configure on how many editors in one page will actually activate this layout.

That way, pages with just a few editors will load as usual while others will display one editor at the time when clicking on the section you wish to edit.

Either way though, the section info on top of every section will always be displayed so that way you can use this info for example to print the same content on another page etc.

v0.7 update bugfix: - Modification on admin.class framework to correctly show block names when other template selected. (admin->get_page_results function)

LS

bakeronefckedit.zip

bakeronefckedit_svn.zip (for latest trunc r956)