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

tiggerific

Just a couple of points...

1. It seems that the only download available from AMASP is the old one (before the SVN) so it can't work with 2.8.
2. From checking (as best I can in German) the feature list of 2.8.1 RC3, there doesn't seem to be any mention of "collapsible" wysiwyg blocks.
3. Installing the SVN in the first post on 2.8.1 RC3 - everything appears to be there and I can select the Settings, etc. but viewing the WYSIWYG module with multiple blocks doesn't show any different.

I realise that the last post indicated the features would be available in 2.8.1, but that may be a while to wait and I also can't see this specific topic covered in those release notes.

Luisehahne

Can you pls wait for WB 2.8.1 something already will be integrate. A short list of changeset you can find here

Sorry in moment only in german
http://www.WebsiteBaker-next.de/wb/pages/de/startseite/aenderungen-wb-2.8.1.php

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

lousou76

- Minor update.
I have only changed the text input field in the advanced settings tab for the number of max editors to show as listbox (from 1-8 values).

-------------
To install this module you have to:

1) unpack the contents of the zip files to your WebsiteBaker installation overwriting the originals.
2) run the install_bakeronefckedit.php from http://yoursite/install_bakeronefckedit.php  once.
(doesn't matter if you run it more times).


PauluSJ

Hi All!
I'm just starting with WB, but it seems, that I'll love Module. Unfortunately I cannot install it. I use backend Install-module, but it doesn't work. I a result I see top backend menu, and blank content.
Help please!

mr-fan

QuoteI can't find anything related to the gallery on the link you posted...I did not quite understand about motools...

:roll: :roll: sorry my bad english.....

i've mixed to much the topics....

1. i wanted to thx for your work and tell you that i'm using it...and it works great

2. i wanted to crosslink the threat because a other user has made a admin backend modification of your admin backend!! nothing with the gallery!

    -> he made a JS animation with mootools that make with the editors like a "query"....or accordion...

i only want crosslink that not development gets here in the english part and similar in the german...to get no doubled work...

regards martin

lousou76

Thank you!

I 've updated the gallery with minorchanges (see the relevant post added X mark and descriptions on lightbox).
I can't find anything related to the gallery on the link you posted...I did not quite understand about motools...

I am kind of thinking to help on the googlemaps modules now...

Regards,
LS

Quote from: mr-fan on May 13, 2009, 12:47:13 PM
hi lousou,

QuoteI am very pleased to contribute in at least such a small way to this great project and will continue supporting with other modules as well. (as I can see my slideshow2gallery has reached stable release and working as expected too!!!).

indeed your work is great!!

someone of the german threat has made a mootools integrations for animating the whole thing you can take a look at it!

https://forum.WebsiteBaker.org/index.php/topic,13768.msg84716.html#msg84716

i've link it cross to her that nothing get loss in the different threats   :wink:

keep on rocking

ps.: your gallery runs on a site from me with more than 150-200 pics...http://www.mr-vilsbiburg.de/pages/mr-bildergalerie/mr-fahrten.php

THX again for your work - regards martin

mr-fan

hi lousou,

QuoteI am very pleased to contribute in at least such a small way to this great project and will continue supporting with other modules as well. (as I can see my slideshow2gallery has reached stable release and working as expected too!!!).

indeed your work is great!!

someone of the german threat has made a mootools integrations for animating the whole thing you can take a look at it!

https://forum.WebsiteBaker.org/index.php/topic,13768.msg84716.html#msg84716

i've link it cross to her that nothing get loss in the different threats   :wink:

keep on rocking

ps.: your gallery runs on a site from me with more than 150-200 pics...http://www.mr-vilsbiburg.de/pages/mr-bildergalerie/mr-fahrten.php

THX again for your work - regards martin

Stefek

Hello LouSou.
Quote from: lousou76 on May 12, 2009, 09:09:34 PM
It looks like the SEC_ANCHOR definition is defined in the language file as
'Section Anchor text' and I don;t know why it is not defined on 2.7 while I did find it already defined
in the svn version.
This is because it will be a new feature to the next release. Right now it is not possible to change the section anchor text without having a touch on the core files.

Kind 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

Dear Stefek,

Thank you for your kind comments.
I am very happy you find this usefull and I hope manyh other users will too. ( I really did!).
I have made the change you requested on the language file. ("Other WYSIWYG-Sections show as:").

It looks like the SEC_ANCHOR definition is defined in the language file as
'Section Anchor text' and I don;t know why it is not defined on 2.7 while I did find it already defined
in the svn version.

I 've added it to my language file as well.
I guess the module is ready and working as expected showing correct information no matter what template is selected on both standard 2.7 and svn versions.

However in case my module is not used on the new WB someone should correct that small mentioned bug on the standard svn and page admin/pages/modify.php should be corrected accordingly.

I am very pleased to contribute in at least such a small way to this great project and will continue supporting with other modules as well. (as I can see my slideshow2gallery has reached stable release and working as expected too!!!).

Regards,
LS

Quote from: Stefek on May 11, 2009, 04:28:23 PM
Hello LouSou.

Thank you for letting me know all this.

I am looking forward to this feature and I hope it will be implemented into the next version of WB CMS.

Thank you for developing this.

Regards,
Stefek

Stefek

Hello LouSou.

Thank you for letting me know all this.

I am looking forward to this feature and I hope it will be implemented into the next version of WB CMS.

Thank you for developing this.

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

Dear Stefek,

Sorry about long delay I was kind of busy to the neck...

I think SEC_ANCHOR is in the language file and if you are using anothe rlanguage it's not there,
but I will have a look at it.
I can also make the change you say on your hint easilly as well because it's in the languiage file.

I did forgot to say that working with that modification and trying this I 've noticed that there is a bug in the latest wb. Native version has a description on every block just like my own modification, but the information is wrong when the page has another default template defined. The section info is retrieved from the default template.

I do not remember the exact point I corrected, but my mod has this bug corrected and works fine.
Regards,
LS


Quote from: Stefek on April 09, 2009, 01:17:15 AM
Hello LouSou.

I am satisfied about the changes. Everything is working fine... however, I still get this massage:
Notice: Undefined index: SEC_ANCHOR in C:\xampp\htdocs\wb-testu\admin\settings\index.php on line 591

I am using the 2.7 version.

//Edit:
I have another hint:
"Other Blocks show as:" should be renamed into "Other Sections show as:" or better "Other WYSIWYG-Sections show as:"
Blocks has something to do with the (multiple) Blocks you are using in your Template.
This words are not synonyms in the WB terminology.
This could cause some confusion ;-)
(especialy by those starting with WB CMS.)


Kind Regards,
Stefek

Stefek

Hello LouSou.

I am satisfied about the changes. Everything is working fine... however, I still get this massage:
Notice: Undefined index: SEC_ANCHOR in C:\xampp\htdocs\wb-testu\admin\settings\index.php on line 591

I am using the 2.7 version.

//Edit:
I have another hint:
"Other Blocks show as:" should be renamed into "Other Sections show as:" or better "Other WYSIWYG-Sections show as:"
Blocks has something to do with the (multiple) Blocks you are using in your Template.
This words are not synonyms in the WB terminology.
This could cause some confusion ;-)
(especialy by those starting with WB CMS.)


Kind 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

Stefek

Hello LouSou.
Thank you for your corrections.


Yes, you're right and I encourage all the WB users to test it.
Unfortunately not everyone has the time to edit all this changes on his installations - therefore I hope the 2.8 Version will come very soon with this feature integrated.

Kind 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

Dear Stefek,

I have found a bug/missing attribute in function admin->get_page_details($page_id) which is used to get all required info in admin pages (modify.php, sections.php etc).

In the SELECT query the attribute "template" is not fetched so in the modify.php if a different template than the default has been selected the information shown is incorrect.

I modified and added the file in both 2.7 and 2.8 versions of my patch.
I am totally happy with the features this patch adds. It has made my life a lot easier and the clients are very happy.
But you cannot really see what it does unless you experiment with it by changing  html/textarea modes and having the feature on.

You can load the modify.php page with textareas and at the same time you are able to load a full featured fck editor for only one of the blocks, or you can view every block as html and open a full fckeditor on one block.

It makes loading pages with many editors fast as lightening!

Regards,
LS

Stefek

Hello LouSou.

Thank you for the Answer.

I am glad about this new feature and I hope this will be implemented into the 2.8 Version.
I do not really have a clue how they are working (and who).

I am only supporting good Ideas as WB User ;-)

So, thanks for this one.

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 Stefek,

I didn't have time to further develop using the suggestions you mentioned (like -1, 1 etc) but as it is now it is working and it does have an enable/disable radio, the familiar html/textarea select box and the number/page limit to activate.

I 've tested it in both 2,7 and latest wb. Some text definitions only exists in the English language file, they should be added to others for it to not show warnings when other language file used.

Regards,
LS

Quote from: Stefek on March 26, 2009, 10:47:42 PM
Hello LouSou,

I just wanted to ask if you was able to implement this functionality (with the switcher on/of).

Kind Regards,
Stefek

Stefek

Hello LouSou,

I just wanted to ask if you was able to implement this functionality (with the switcher on/of).

Kind 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

Ok enable/Disable setting now works, 'Open Editor' button is in the language file (English only) and Notices were fixed.

Please keep testing and I ll try to make the settings like you mentioned Christian but even so, I must leave the "Show other blocks As" setting as is unless you have another suggestion...

regards,
LS

doc

Hi,

Quote from: lousou76Well, I did see the index errors and I was trying to fix them with no luck.
Well most of the warnings are simply wrong array key declaration like $var = array(hash => value), which should read like $var = array('hash' => 'value'). Simply check the line number which contains the error for such constructs. Another source of those errors is using variables which were not defined before. Make use of isset etc.

Regards Christian

lousou76

Well now that I check it you are right. The enable/disable option doesn't work.

Yeap, my mistake. I can  see where the error is.
I fixed the language thing and the setting problem.

I will try to fix the notices until you comment on the rest.

Regards,
LS

lousou76

Hi,

Well, I did see the index errors and I was trying to fix them with no luck.
If you could help a bit on that I would appreciate it...  :-D

The settings do work Christian unless I messed something up. But I did try them all on both the svn and the 2.7 version and have them setup in both. I will although try them again reinstalling from sratch just to be sure.

First you need the feature enabled.
Then you need to set number of blocks/page to activate.
Then you need to go modify a page with more than this number of blocks.

You also need to have one WYSI editor defined (I have the fckeditor). If you have none than this does not work of course.

After that:

- If you have set html mode then the modify page will load showing every block with an "Open Editor button" and a "Cancel" button (you cannot edit stuff, you just see how it looks).

- If you set textarea then you get 3 buttons ("Save", "Open Editor", "Cancel") and you see the blocks in textareas. You can either open one editor or edit the textarea and save without opening the Editor.
(that's the kind I like most)...

Now how can we use your suggestion to improve those settings...you kind of rule out the html mode with what you mentioned..

The Open Editor I think I forgot to put on the language file...I will you 're right..

Regards,
LS

Quote from: doc on March 06, 2009, 07:01:32 PM
Hi,

some more warning due to not defined indizes in admin/settings/index.php but easy to fix. Can you please check your php.ini settings again, if display error is enabled and error reporting is set to E_ALL. In addition, you need to set error reporting in the WB advanced settings to E_ALL to see errors and warnings.

Also it seems that the settings have no impact at all. I can disable / enable, use html or textarea, but any number, the behaviour is always the same. Also all the settings are quite confusing (at least to me). Wouldn´t it be enough to have one text field called: One editor if editor/page >
With the options:
-1... (disabled, default value, everything is as without the stuff)
0... (always show text area, you need to click in text area to show the WYSIWY editor)
1.999... (only show if more than x editors ares present at one single page)

What is the option other blocks show as for? Also the "Open Editor" text seems to be hardcoded and should be moved into the WB language files.

Regards Christian

doc

Hi,

some more warning due to not defined indizes in admin/settings/index.php but easy to fix. Can you please check your php.ini settings again, if display error is enabled and error reporting is set to E_ALL. In addition, you need to set error reporting in the WB advanced settings to E_ALL to see errors and warnings.

Also it seems that the settings have no impact at all. I can disable / enable, use html or textarea, but any number, the behaviour is always the same. Also all the settings are quite confusing (at least to me). Wouldn´t it be enough to have one text field called: One editor if editor/page >
With the options:
-1... (disabled, default value, everything is as without the stuff)
0... (always show text area, you need to click in text area to show the WYSIWY editor)
1.999... (only show if more than x editors ares present at one single page)

What is the option other blocks show as for? Also the "Open Editor" text seems to be hardcoded and should be moved into the WB language files.

Regards Christian

lousou76

lol, Thanks for finding that doc.

Yes I am pretty positive I have the right svn zip ready.
I wasn't although that positive on puting the right link in the first page.
So both links I gave were pointing on the same file... (the 2.7 one).

Download now the correct one if you like.

Regards,
LS


Quote from: doc on March 05, 2009, 07:31:42 PM
Hi lousou76,

are you sure you linked the right zip archive based on the latest WB trunk from SVN?

In the trunk from SVN, all template files were moved to the folder /templates/wb_theme/. The file /admin/settings/template.html should be located in /templates/wb_theme/templates/settings.htt and the file /admin/settings/index.php should use THEME_PATH instead of ADMIN_PATH.

Could you please check if you have really the latest version from SVN or linket the correct file?

Best regards
Christian

doc

Hi lousou76,

are you sure you linked the right zip archive based on the latest WB trunk from SVN?

In the trunk from SVN, all template files were moved to the folder /templates/wb_theme/. The file /admin/settings/template.html should be located in /templates/wb_theme/templates/settings.htt and the file /admin/settings/index.php should use THEME_PATH instead of ADMIN_PATH.

Could you please check if you have really the latest version from SVN or linket the correct file?

Best regards
Christian

Stefek

Quote from: lousou76 on March 04, 2009, 11:17:21 PM
Loading more than one editor would only make sence if you could save multiple chances at once.

You're absolutley right.
And the solution you provide is pretty handy indeed.

Quote from: lousou76 on March 04, 2009, 11:17:21 PM
Let's see how the voting goes.
Yes.
The current votes:
QuoteWould 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                                                                     0 (0%)
Only if I can enable/disable it through the WB panel                 5 (71.4%)
Not really necessary                                                             1 (14.3%)
I 'd preffer that it stays as a seperate package                         1 (14.3%)
I hate it! The developer should be crucified and burned alive!      0 (0%)
Indicate that it is wanted.
But let us see if additional Voters come tomorrow.  :wink:

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