Welcome, Guest. Please login or register.
August 20, 2008, 05:03:03 PM

Login with username, password and session length
Search:     Advanced search
Website Baker 2.7.0 (stable) released!
For more information look here.
The announcement board can be found here.
60553 Posts in 9791 Topics by 5824 Members
Latest Member: blubb
* Home Help Search Login Register
+  Website Baker Community Forum
|-+  English
| |-+  Modules
| | |-+  ModuleEdit module reworked for WB 2.6.x and 2.7.x
Pages: [1] Go Down Print
Author Topic: ModuleEdit module reworked for WB 2.6.x and 2.7.x  (Read 250 times)
pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 1855


WWW
« on: July 22, 2008, 04:56:52 PM »

Reworked the old module edit module,

Added wb2.7 support and Syntaxhighlighting, thanks to the templatemodule Wink


John

Logged

Argos
"All I Do Is Bake" Baker
*****
Offline Offline

Posts: 531


WWW Email
« Reply #1 on: July 22, 2008, 05:01:09 PM »

You're the man John! Thanks alot!  grin
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: kwaliteitinklantcontact.nl, bruschke.nl, bereikbaarheid.nl, rondvaartijmuiden.nl, nvpit.nl, synergoscommunicatie.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl, bakker-schilder.nl
Argos
"All I Do Is Bake" Baker
*****
Offline Offline

Posts: 531


WWW Email
« Reply #2 on: July 22, 2008, 05:42:15 PM »

When I paste content from the editor into Dreamweaver or Notepad, all formatting (including line breaks and indents) is lost, making the code very hard to read. The format function in Dreamweaver cannot reformat it. How come?
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: kwaliteitinklantcontact.nl, bruschke.nl, bereikbaarheid.nl, rondvaartijmuiden.nl, nvpit.nl, synergoscommunicatie.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl, bakker-schilder.nl
Stefek
Marketing Team
Geek-Like Baker
******
Online Online

Posts: 486


Bake it as you will!


WWW
« Reply #3 on: July 22, 2008, 05:48:55 PM »

@Argos, Info: with the AdobeGolive (7.0.2) it works finde (in both directions).

Thanks for this module! It's really great.

How come, that the "highlighting" is working.
The template-edit module doesn't have it - or do I have an old version  grin

Regards,
Stefek
Logged

Backrezepte auf Nachfrage!
Argos
"All I Do Is Bake" Baker
*****
Offline Offline

Posts: 531


WWW Email
« Reply #4 on: July 22, 2008, 05:57:26 PM »

@Argos, Info: with the AdobeGolive (7.0.2) it works finde (in both directions).

I don't have that...

I still don't understand why the old way was considerd a bug, and why we have to jump through loops to simply edit module files. I appreciate John's module and his work, but it's all still not as simple as the way it was in previous versions. So if anyone know a way to undo this "bugfix" of not being able anymore to reinstall a module, I'd be happy to hear about it.
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: kwaliteitinklantcontact.nl, bruschke.nl, bereikbaarheid.nl, rondvaartijmuiden.nl, nvpit.nl, synergoscommunicatie.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl, bakker-schilder.nl
pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 1855


WWW
« Reply #5 on: July 22, 2008, 06:23:26 PM »

Stefek wrote:
Quote
How come, that the "highlighting" is working.
The template-edit module doesn't have it - or do I have an old version 

You probably have an old version, the syntax highlighting works from wb27 standard with templateedit
Here it does anyway
try reïnstalling the templatemodul


To Argos,
removing the bugfix mean tampering with corecode, I could do that

I allwyas use a local xampp copy for testing modules - templates etc, simply ups them to the server and change ownership with ftp works most of the time

Another option is to use something like phpexplorer -
http://www.phpxplorer.org/phpXplorer/www/
or quixplorer - http://quixplorer.sourceforge.net/
They are php based explorer like filebrowsers, they work with the same rights as the apacheuser - equals the user under wich wb runs

If you want to use such an explorer make sure you take care of the rights make sure no other then you can edit etc.

have fun,
John
Logged

Argos
"All I Do Is Bake" Baker
*****
Offline Offline

Posts: 531


WWW Email
« Reply #6 on: July 22, 2008, 06:41:53 PM »

removing the bugfix mean tampering with corecode, I could do that
I think you mean "could NOT do that"? Or can you?

Quote
I allwyas use a local xampp copy for testing modules - templates etc, simply ups them to the server and change ownership with ftp works most of the time
How can you change ownership with FTP??? Don't you need root level server access for that?

Quote
Another option is to use something like phpexplorer -
http://www.phpxplorer.org/phpXplorer/www/
or quixplorer - http://quixplorer.sourceforge.net/
They are php based explorer like filebrowsers, they work with the same rights as the apacheuser - equals the user under wich wb runs
I'll look into that...
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: kwaliteitinklantcontact.nl, bruschke.nl, bereikbaarheid.nl, rondvaartijmuiden.nl, nvpit.nl, synergoscommunicatie.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl, bakker-schilder.nl
Hans
Master Baker
*****
Offline Offline

Posts: 358


Email
« Reply #7 on: July 24, 2008, 12:03:04 AM »

Sorry if I don't understand you guys right, but why not use an FTP client that makes it possible to edit files that are on the server with an editor in the local machine.
I use Win SCP (Open Source) and I can edit all files with Notepad++ (also Open Source) locally. It updates automagically and has an almost infinite undo.
Hans
Logged

Hans - Nijmegen - The Netherlands
Argos
"All I Do Is Bake" Baker
*****
Offline Offline

Posts: 531


WWW Email
« Reply #8 on: July 24, 2008, 12:46:30 AM »

There will be an owner conflict. Some simple modules work after FTP and using Module Reload in the admin. But modules that add to the database will not work that way and need to be installed by WB. That causes WB to be the owner, and normal FTP won't work. In previous versiosn that wasn't a real problem, because you could simply rezip and reinstall after modding files. But in version 2.7 this is not possible anymore, so now we have to use the internal editor, which is rather limited compared to working offline and ftp or reinstall.
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: kwaliteitinklantcontact.nl, bruschke.nl, bereikbaarheid.nl, rondvaartijmuiden.nl, nvpit.nl, synergoscommunicatie.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl, bakker-schilder.nl
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!