Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2012, 11:56:23 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155407
Posts in
21698
Topics by
7731
Members
Latest Member:
elwin90
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Module - Webbasededit = Admintool
Pages: [
1
]
Go Down
Author
Topic: Module - Webbasededit = Admintool (Read 6146 times)
pcwacht
AddOn Development
Online
Posts: 2855
Module - Webbasededit = Admintool
«
on:
July 22, 2008, 10: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, 10:01:11 PM by pcwacht
»
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
Argos
Moderator
Offline
Posts: 2156
Re: Module - Webbasededit
«
Reply #1 on:
July 23, 2008, 12: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
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
pcwacht
AddOn Development
Online
Posts: 2855
Re: Module - Webbasededit
«
Reply #2 on:
July 23, 2008, 11:14:22 AM »
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
john
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
Argos
Moderator
Offline
Posts: 2156
Re: Module - Webbasededit
«
Reply #3 on:
July 23, 2008, 12:27:12 PM »
Quote from: pcwacht on July 23, 2008, 11:14:22 AM
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?
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
pcwacht
AddOn Development
Online
Posts: 2855
Re: Module - Webbasededit
«
Reply #4 on:
July 23, 2008, 12: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
For the rest, well I guess ftp will do
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
Argos
Moderator
Offline
Posts: 2156
Re: Module - Webbasededit
«
Reply #5 on:
July 23, 2008, 12:40:39 PM »
Yes John, I do like your module
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
oeh
Offline
Posts: 190
Re: Module - Webbasededit
«
Reply #6 on:
July 23, 2008, 02: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
Good bye ;-{(
oeh ;-}>
pcwacht
AddOn Development
Online
Posts: 2855
Re: Module - Webbasededit
«
Reply #7 on:
July 23, 2008, 05: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
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
pcwacht
AddOn Development
Online
Posts: 2855
Re: Module - Webbasededit
«
Reply #8 on:
July 23, 2008, 05:43:59 PM »
New version, 0.01.1
added images
Have fun,
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
Availor
Offline
Posts: 225
Re: Module - Webbasededit
«
Reply #9 on:
July 23, 2008, 08:44:52 PM »
Thank you
Logged
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4883
Re: Module - Webbasededit = Admintool
«
Reply #10 on:
July 27, 2008, 11:45:12 PM »
Thank you very much for this one.
This one helps a LOT.
Best regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4883
Re: Module - Webbasededit = Admintool
«
Reply #11 on:
September 14, 2008, 05: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
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
pcwacht
AddOn Development
Online
Posts: 2855
Re: Module - Webbasededit = Admintool
«
Reply #12 on:
September 14, 2008, 09: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
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
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4883
Re: Module - Webbasededit = Admintool
«
Reply #13 on:
September 15, 2008, 12:19:48 PM »
Hello John!
Thanks, I found it.
Line 2388 there is:
img
{
width
:
17px
;
height
:
13px
}
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://www.websitebaker2.org/forum/index.php/topic,11009.msg65763.html#msg65763
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7972
Re: Module - Webbasededit = Admintool
«
Reply #14 on:
October 22, 2008, 01: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 " "
* - 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
pcwacht
AddOn Development
Online
Posts: 2855
Re: Module - Webbasededit = Admintool
«
Reply #15 on:
October 22, 2008, 01:55:16 PM »
thanx!
Jiohn
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
daydreamer
Offline
Posts: 252
Re: Module - Webbasededit = Admintool
«
Reply #16 on:
October 24, 2008, 05: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
WebsiteBaker Org e.V.
Offline
Posts: 7972
Re: Module - Webbasededit = Admintool
«
Reply #17 on:
October 24, 2008, 05: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
Argos
Moderator
Offline
Posts: 2156
Re: Module - Webbasededit = Admintool
«
Reply #18 on:
February 24, 2009, 11:45:13 AM »
Quote from: ruebenwurzel on October 22, 2008, 01: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 " "
* - 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
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4883
Re: Module - Webbasededit = Admintool
«
Reply #19 on:
June 03, 2009, 11:12:38 PM »
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.
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Waldschwein
Guest
Re: Module - Webbasededit = Admintool
«
Reply #20 on:
August 18, 2010, 04:21:16 PM »
Hello!
I had this error with another web-software these days on a v-server.
The cause of the error was that I updated PHP "wrong", so I had an old PHP.ini with a new PHP version (or call it mis-configured).
date_default_timezo
ne should be
never
in a software but in PHP.ini.
http://www.php.net/manual/de/datetime.configuration.php
Yours Michael
«
Last Edit: August 18, 2010, 04:30:09 PM by Waldschwein
»
Logged
Argos
Moderator
Offline
Posts: 2156
Re: Module - Webbasededit = Admintool
«
Reply #21 on:
August 18, 2010, 06:19:52 PM »
Hans Toolbox, this is an English forum, so please use only English here.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
oeh
Offline
Posts: 190
Re: Module - Webbasededit = Admintool
«
Reply #22 on:
November 20, 2010, 03:50:24 AM »
Hi All.
Added Norwegian language support to Webbasededit.
any coders that feels like doing further development on this great tool?
e.g enabling support for language files? instead of having all language parameters within the tool.php?
Maybe other functions as described in
Quote from: Stefek on June 03, 2009, 11:12:38 PM
**************~~~
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.
Attached the updated version of Webbasededit
Logged
Good bye ;-{(
oeh ;-}>
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...