Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 12:10:49 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155533
Posts in
21713
Topics by
7738
Members
Latest Member:
Pattieardathfe
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Module Creation
Pages: [
1
]
Go Down
Author
Topic: Module Creation (Read 413 times)
billynastie2002
Offline
Posts: 6
Module Creation
«
on:
September 21, 2009, 09:47:54 AM »
Hi, All
Im wanting to write a backend module to edit the template css file problem is I have an idea where to start but need to know if its possible to do its for a client website and the client only has access to 3 backend sections pages, media and preferences question is it possible to add my own tab to these which will only show up for the user in question or can I change security on tools so that she can only see the tool which i am creating for the client I have thought of doing a page module but I think a tool module is the correct way to go and the client must only have access to this one tool.
Plus the tool which I am creating is based loosely on edit_module_files.p
hp and code module so it is a hybrid module of my own design and also as it is a specific module for the termplate I am using it isnt a module I will be publishing or releasing for everyone yet everyone will be able to have it to pull apart and work with.
Module is not complete as I have only just started working on it but will issue the module when it is complete and I have had a answer on my previous questions.
Hi had a little bit of a play managed to get the module working although a little bit of bad code to do it which i will work on what I am having problems with now is saving the css file and returning to the editor page where it is working I have attached what I have so far.
«
Last Edit: September 21, 2009, 11:13:07 AM by billynastie2002
»
Logged
billynastie2002
Offline
Posts: 6
Re: Module Creation
«
Reply #1 on:
September 22, 2009, 09:12:52 AM »
No Help then not even off the admin's.
Logged
Luisehahne
Board Member
Development Team
Offline
Posts: 3147
Re: Module Creation
«
Reply #2 on:
September 22, 2009, 01:51:15 PM »
Addon File Editor is already an existing Modul
http://www.websitebakers.com/pages/admin/admin-tools/addon-file-editor.php
Dietmar
Logged
We are human beings - and nobody is perfect at all.
billynastie2002
Offline
Posts: 6
Re: Module Creation
«
Reply #3 on:
September 22, 2009, 03:57:34 PM »
Hi,
Ive tried that I really only want it for the template css file I have managed to make it work where it reads the file into the editor but I cannot make it write back to the file ie: make it save the editor content.
Can someone please have a look at what im doing wrong.
Logged
doc
Guest
Re: Module Creation
«
Reply #4 on:
September 22, 2009, 06:34:45 PM »
@billynastie2002:
Admin Tools do not have independent permission settings. If a group (user) has access to Admin Tools section, all tools listed there can be executed by default. To change this, one needs to hack some core files and/or add additional checks to (all) Admin tools used.
Easiest way is to go with a "page type" module and to create. Then you can add a single page with your module type and limit the access to this page only to group(s) you want.
Doc
«
Last Edit: September 22, 2009, 06:36:40 PM by doc
»
Logged
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...