Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: ajw_notepad_public
Hi the table exists but is empty
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: ajw_notepad_public
I added a row to the table and now its working.
It’s not quite what I expected.
I was hoping I could leave messages and others could reply. Once written undeletable …?
Is this how it works …?
It seems only to be one ‘Notepad’.
If I give write permissions to Freelancers they can delete the whole ‘Notepad’ ?
Would it be possible/easy to have two installations of this plugin?
I could use an admin only one for help on articles writing and image uploading.
The other for messages.
Last edited by geoff777 (2008-07-07 12:17:20)
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: ajw_notepad_public
Yep, that’s the way it works. Just a single page which you can add text to or remove text and as far as I know (as I don’t use any special permissions) anyone who can see the tab can mess with it. It was always just a simple implementation, more something for keeping notes or maybe code snippets and stuff rather than an internal messaging system though it could be used for that at a very basic level, maybe between the site developer and the customer.
Just thinking about your need for installing twice you would need to do a few things. The first is to call the second plug-in install file by a different name otherwise it will simply overwrite itself which would mean extracting the plug-in code to a plug-in template first. You would also need to hack the plug-in in 2 areas. First you would need to call the second tab something different to the first. Second you would need the second plug-in to create a different table in the database so that would need its own name as well.
After that, assuming it worked, you would need to set up your permissions for each tab.
Last edited by thebombsite (2008-07-07 15:58:28)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline