Welcome, Guest. Please login or register.
July 04, 2009, 03:15:30 AM

Login with username, password and session length
Search:     Advanced search
Hier findest du alle Infos zur  Website Baker - Version 2.8.
85167 Posts in 13110 Topics by 8207 Members
Latest Member: kolerik
* Home Help Search Login Register
+  Website Baker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Module - Webbasededit = Admintool
Pages: [1] Go Down Print
Author Topic: Module - Webbasededit = Admintool  (Read 2241 times)
pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 2045


WWW
« on: July 22, 2008, 11:12:23 PM »

Many times I wish I could do more then only template or module editing
but the permission issues pop up many times

Therefor I took webadmin.php from http://cker.name/webadmin/
and made a admin module out of it

Have fun testing...


John

New version below.
« Last Edit: July 23, 2008, 11:01:11 PM by pcwacht » Logged

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

Posts: 981


WWW Email
« Reply #1 on: July 23, 2008, 01:53:57 AM »

Nice work John, it's already better than the current Module Editor. A few remarks:

- It seems that the icon files are not present.
- Like the Module Editor copying and pasting file code to and from a local computer file looses all formatting, creating a endless stream of code, without any line breaks or indents. How come using FTP does not affect formating, but these modules do?
- You cannot edit the files installed by WB during installation, as they have another owner. But I guess there is nothing you can do about that?
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: vitiligo.nl, vanbetuwgrafischontwerp.nl, pauladudok.nl,ksi-advies.nl, maycroft.com, bakker-schilder.nl, bruschke.nl, bereikbaarheid.nl, nvpit.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl
pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 2045


WWW
« Reply #2 on: July 23, 2008, 12:14:22 PM »

There are no icon files, the original is a one-file-solution

Copying and pasting looses format, might have to do with CodePress, it says so on their homepage : http://codepress.org/

Allways the FTp user and the WEB user : ftp-ed files can NOT be edited with a webbased editor unless a ftp subroutine will be built in - but this module was made to give more control on wb-made files, not to be used as an ftp substitute

I am having trouble with codepress allso, using ie7 as browser might have to do with it.
It is loosing empty lines or adding heaps of those, happenes in template- and moduleedit and css edit wich uses codepress as well.
But still using codepress cause it look sgood Wink


john


Logged

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

Posts: 981


WWW Email
« Reply #3 on: July 23, 2008, 01:27:12 PM »

There are no icon files, the original is a one-file-solution
Yes I see that on their homepage now. But the file does refer to icons, and shows empty image placeholders now. Look at the screenshot how it's supposed to look: http://cker.name/webadmin/webadmin.png
Well, no big deal...

Quote
Copying and pasting looses format, might have to do with CodePress, it says so on their homepage : http://codepress.org/
Yep, doesn't work in IE, but does work in FF. Good to know.

Quote
Allways the FTp user and the WEB user : ftp-ed files can NOT be edited with a webbased editor unless a ftp subroutine will be built in - but this module was made to give more control on wb-made files, not to be used as an ftp substitute
I understand, but all core WB files are also WB-made aren't they?  rolleyes
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: vitiligo.nl, vanbetuwgrafischontwerp.nl, pauladudok.nl,ksi-advies.nl, maycroft.com, bakker-schilder.nl, bruschke.nl, bereikbaarheid.nl, nvpit.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl
pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 2045


WWW
« Reply #4 on: July 23, 2008, 01:36:13 PM »

will look into icons, maybe it isn't hard a deal to get some


WB made, hmm yups

It is the difference between being upped to the server with FTP or created within wb, modules, pages, etc etc


You like the webadmin, it does heaps and heaps of stuff you can't with ftp Wink
For the rest, well I guess ftp will do Tongue


John
Logged

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

Posts: 981


WWW Email
« Reply #5 on: July 23, 2008, 01:40:39 PM »

Yes John, I do like your module  grin
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: vitiligo.nl, vanbetuwgrafischontwerp.nl, pauladudok.nl,ksi-advies.nl, maycroft.com, bakker-schilder.nl, bruschke.nl, bereikbaarheid.nl, nvpit.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl
oeh
Apprentice Baker
***
Offline Offline

Posts: 74

German Pischer's, what's life without them?


« Reply #6 on: July 23, 2008, 03:49:20 PM »

Hi.
I'm getting an error when trying to use this tool.
"Warning: htmlentities() [function.htmlentities]: charset `iso-8859-10' not supported, assuming iso-8859-1 in /home/sites/p/pinscher.no/modules/webbasededit/tool.php on line 1486"

Ist his just because of that the NO lang file are missing?

Regards
OE
Logged

Regards
Odd Egil
pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 2045


WWW
« Reply #7 on: July 23, 2008, 06:23:48 PM »

At Oeh,

Could be.

If you open up /modules/webbasededit/tool.php
at line 6 change
$lang = DEFAULT_LANGUAGE;
to
$lang = 'en';
for english language

Different from normal languages the languages are build in the tool.php
look at lines 1531 and later for language useage.

Maybe you can create the correct NO language?

John

Logged

pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 2045


WWW
« Reply #8 on: July 23, 2008, 06:43:59 PM »

New version, 0.01.1

added images Wink


Have fun,
John
Logged

Availor
Senior Baker
*****
Offline Offline

Posts: 154


Yup it's me


WWW
« Reply #9 on: July 23, 2008, 09:44:52 PM »

Thank you  grin
Logged

www.websitebakerden.com - free complex baker templates and tutorials
www.videoxone.com - watch free movies
Stefek
Backend Theme Team
A Baker's Baker
*****
Offline Offline

Posts: 2090


Friedenspfeife rumgereicht


WWW
« Reply #10 on: July 28, 2008, 12:45:12 AM »

Thank you very much for this one.
This one helps  a LOT.

Best regards,
Stefek
Logged

WebsiteBaker CMS   the best things in life are simple  .:. Bowling in Kiel, Halle und Aschaffenburg
Stefek
Backend Theme Team
A Baker's Baker
*****
Offline Offline

Posts: 2090


Friedenspfeife rumgereicht


WWW
« Reply #11 on: September 14, 2008, 06:56:29 PM »

Hello!

There is only one strenge thing about this module.

Please see picture.

I can't find the "why" myself.

The "Header" looks like squeezed.

Anothre thing: I don't understand the smiley. What it's funktion?

Regards,
Stefek
Logged

WebsiteBaker CMS   the best things in life are simple  .:. Bowling in Kiel, Halle und Aschaffenburg
pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 2045


WWW
« Reply #12 on: September 14, 2008, 10:02:57 PM »

Get the same squeezed header, is css issue, image size is defined in css within tool.php
I left it alone, gives me more edit space Wink

If you don't like it, you need to change the image tag within the tool.php, around line 887
img { width: 17px; height: 13px }
change the tag and change the image calls within the tool accordingly

Smiley does nothing, I think.
Didn't code this webeditor, just made a admin tool out of it cause I need one.
Original is here : http://freshmeat.net/projects/webadmin/


John

Logged

Stefek
Backend Theme Team
A Baker's Baker
*****
Offline Offline

Posts: 2090


Friedenspfeife rumgereicht


WWW
« Reply #13 on: September 15, 2008, 01:19:48 PM »

Hello John!

Thanks, I found it.
Line 2388 there is:
img width17pxheight13px }
If you deleate it, the Header is the same as at all other Admin-Panel Pages.


The smiley can be found around Line 1087
<th style="text-align: center; vertical-align: middle">
<
img src="' . WB_URL . '/modules/webbasededit/img/smiley.gif" alt="smiley" /></th>;
if you don't like it, replace with
<th style="text-align: center; vertical-align: middle">&nbsp;</th>;

Thank you for this Module.
I don't use it very often, but sometimes it's really helpfull to have something like this.

Regards,
Stefek

BTW: I reworked the Template Edit and the Module Edit Modules shortly.
See: http://forum.websitebaker2.org/index.php/topic,11009.msg65763.html#msg65763
Logged

WebsiteBaker CMS   the best things in life are simple  .:. Bowling in Kiel, Halle und Aschaffenburg
ruebenwurzel
Leaders Team
Dangerous Baker
*****
Offline Offline

Posts: 7011


Keep on Rockin


WWW Email
« Reply #14 on: October 22, 2008, 02:19:23 PM »

Hello,

needed this modul for one of my pages. had to fix and adapt a few things.

 *  - moved styles from tool.php to backend.css
 *  - moved javascript from tool.php to backend.js
 *  - replaced head and body section in tool.php with "&nbsp;"
 *  - added german language file for the backend
 *  - fixed wrong image display in WB backend
 *  - removed smiley
 *  - fixed language detection

Attached you find version 0.02.

For to update best is to uninstall any previous version and then install the new version.

Have fun

Matthias
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
pcwacht
Development Team
A Baker's Baker
******
Offline Offline

Posts: 2045


WWW
« Reply #15 on: October 22, 2008, 02:55:16 PM »

thanx! Wink

Jiohn
Logged

daydreamer
Junior Baker
****
Offline Offline

Posts: 109


« Reply #16 on: October 24, 2008, 06:06:58 PM »

Can anyone help getting this error next to config.php

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/bin/sh) is not within the allowed path(s): (/home/sitedeli:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/FOLDER/public_html/FOLDER/modules/webbasededit/tool.php on line 1209


Thanks
Logged
ruebenwurzel
Leaders Team
Dangerous Baker
*****
Offline Offline

Posts: 7011


Keep on Rockin


WWW Email
« Reply #17 on: October 24, 2008, 06:23:20 PM »

Hallo,

Could it be that your server is running in "safe_mode"?

http://www.php.net/manual/en/features.safe-mode.php

Matthias
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
Argos
Moderator
"All I Do Is Bake" Baker
*****
Offline Offline

Posts: 981


WWW Email
« Reply #18 on: February 24, 2009, 11:45:13 AM »

Hello,

needed this modul for one of my pages. had to fix and adapt a few things.

 *  - moved styles from tool.php to backend.css
 *  - moved javascript from tool.php to backend.js
 *  - replaced head and body section in tool.php with "&nbsp;"
 *  - added german language file for the backend
 *  - fixed wrong image display in WB backend
 *  - removed smiley
 *  - fixed language detection

Matthias, can you remove the A style (color: navy) from the backend.css? It overrides the default link color setting of the admin.
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: vitiligo.nl, vanbetuwgrafischontwerp.nl, pauladudok.nl,ksi-advies.nl, maycroft.com, bakker-schilder.nl, bruschke.nl, bereikbaarheid.nl, nvpit.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl
Stefek
Backend Theme Team
A Baker's Baker
*****
Offline Offline

Posts: 2090


Friedenspfeife rumgereicht


WWW
« Reply #19 on: June 04, 2009, 12:12:38 AM »

Hello.

I am working a lot with this (helpful) admin-tool, but I disliked the way it looks in the backend.

Therefore I decided to restyle the way it looks and feels.

The attached Zip File is experimental.
I wanted to share this with you.


Quote
*  - 2009, Juni 3rd - Version 0.03 (Christian "Stefek" Stefan)
 *      - experimentally changed the backend design to match the
 *      default look&feel of websitebakers admin-tools

I have some (small) Ideas for additional functionality (such as: seeing the actual picture if I click on it; different icons for different files as pics, docs, .php, .css etc.).
If there is someone (with coder-skills) who wants to expand this admin tool with this functions, this where very appreciated.

Regards,
Stefek

Note: this Admin-Tool doesn't replace the Addon File Editor. It has it's own purposes. wink

Logged

WebsiteBaker CMS   the best things in life are simple  .:. Bowling in Kiel, Halle und Aschaffenburg
Pages: [1] Go Up Print 
Jump to:  

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