Welcome, Guest. Please login or register.
March 20, 2010, 05:17:35 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es hier .
110541 Posts in 15964 Topics by 9310 Members
Latest Member: starnetwork
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  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 1384 times)
pcwacht
Development Team
******
Offline Offline

Posts: 2194


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
Forum administrator
*****
Offline Offline

Posts: 1348


WWW
« 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/portfolio (mostly WB sites)
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Forum administrator
*****
Offline Offline

Posts: 1348


WWW
« 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/portfolio (mostly WB sites)
----------------------------------------------------------------
Please don't request personal support, use the forums!
Stefek
Backend Theme Team
******
Offline Offline

Posts: 3201



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

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
Argos
Forum administrator
*****
Offline Offline

Posts: 1348


WWW
« 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/portfolio (mostly WB sites)
----------------------------------------------------------------
Please don't request personal support, use the forums!
pcwacht
Development Team
******
Offline Offline

Posts: 2194


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
Forum administrator
*****
Offline Offline

Posts: 1348


WWW
« 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/portfolio (mostly WB sites)
----------------------------------------------------------------
Please don't request personal support, use the forums!
Hans

Offline Offline

Posts: 498


« 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
Forum administrator
*****
Offline Offline

Posts: 1348


WWW
« 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/portfolio (mostly WB sites)
----------------------------------------------------------------
Please don't request personal support, use the forums!
doc

Offline Offline

Posts: 3579


« Reply #9 on: January 18, 2009, 11:15:04 PM »

Hello,

if you are interested in editing modules, templates, or language files (Add-ons), you may want to check out the new admin module Addon File Editor.

Regards Christian
Logged
Pages: [1] Go Up Print 
Jump to:  

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