Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#46 2011-09-30 08:27:06
- AdamK
- Member
- From: Kraków, Poland
- Registered: 2009-08-11
- Posts: 47
Re: adi_notes - leave notes for Textpattern users
Hello :)
the plugin is exactly what I need, thank you :)
but there is problem with multisite setup —- I translate it from Polish, I bet it sounds quite different in English ;) :
There is an error when opening the plugin: adi_notes -> Warning: include(./lib/classTextile.php): failed to open stream: no such file or directory on line 39
I think there should be a global variable path used in place of hardcoded path
you have
include('./lib/classTextile.php');
maybe change it to
include(txpath . '/lib/classTextile.php');
etc.
yours
Adam
Offline
#47 2011-09-30 09:42:20
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
AdamK wrote:
the plugin is exactly what I need, thank you :)
Glad you find it useful.
but there is problem with multisite setup … I think there should be a global variable path used in place of hardcoded path
Sounds good to me – I’ll send you a version to test.
Offline
Re: adi_notes - leave notes for Textpattern users
Hi,
I have been using this on one of my sites for a long time. Thanks!
Just installed it on a new site today and get the following error message:
I’m sorry. I’m afraid I can’t do that. I think article create is no safe operation at this time.
Any idea about how to fix this?
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline
#49 2012-05-13 14:17:06
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Hi Kjeld,
Are you using the latest update? Version 1.1.1 has a fix for that type of error (also known as “Get off my lawn”).
Offline
Re: adi_notes - leave notes for Textpattern users
gomedia wrote:
Hi Kjeld, Are you using the latest update? Version 1.1.1 has a fix for that type of error (also known as “Get off my lawn”).
Thanks, gomedia! That solved the problem. Interesting what a big difference it makes to go from 1.1 to 1.1.1. ^_-
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline
Re: adi_notes - leave notes for Textpattern users
I’m using adi_notes on all the sites I develop to instruct my clients on how they have to publish all kind of stuff with Txp. To make adi-notes responsive with Hive (Textpattern 4.5.0) I’ve put the following piece of CSS into the Width textarea: width: 600px; max-width: 600px;

It’s working in the latest Firefox (Mac) and so I presume it’s working too in Chrome and Safari. I didn’t check Windows.
My request to Adi is to make this hack (!) a core attribute … and more media-proof … :)
Last edited by RedFox (2012-09-03 06:49:37)
Offline
#52 2012-09-03 07:17:00
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Hi Joop,
Thanks for the suggestion. I do need to revisit adi_notes to make it more 4.5.0 friendly, so I’ll look into it then.
Cheers,
Adi
Offline
Re: adi_notes - leave notes for Textpattern users
I’m getting this error on TXP 4.4.1, on multi-site install:
A problem occured while loading the plugin: adi_notes -> Warning: include(./lib/classTextile.php) [function.include]: failed to open stream: No such file or directory on line 90
A problem occured while loading the plugin: adi_notes -> Warning: include() [function.include]: Failed opening ‘./lib/classTextile.php’ for inclusion (include_path=’.:/usr/local/php5_3/lib/php’) on line 90
This is the fix I’ve applied (I’m not sure if it’s compatible with single install, I think it is, but I haven’t tested)
if (@txpinterface == 'admin') {
- include('./lib/classTextile.php');
+ include_once txpath.'/lib/classTextile.php';
Offline
#54 2012-09-19 06:00:00
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Hi Julián,
I think this has come up before. I haven’t released an “official” fix but it is incorporated into a new 4.5-friendly beta version. Are you up for a bit of field testing?
Offline
#55 2012-10-15 23:49:34
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
Version 1.2 now available
- TXP 4.5-ified
- code tidy up
- changed: admin tab name/title now “Notes Admin”
- now uses lifecycle events
- changed the default width (thanks RedFox)
As always, make a backup of your notes before upgrading – just in case!
Offline
Re: adi_notes - leave notes for Textpattern users
Hi Adi.
Great update but, new version lost the option to set notes in the header of the pages.
So, i must use bot_write_tab_customize and insert this code $("#adi_notes").prependTo(".txp-body");
Offline
#57 2012-12-09 07:36:42
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
MarcoK wrote:
Great update but, new version lost the option to set notes in the header of the pages.
Not sure what you mean – I can get the notes at the top of the pages OK. I assume you’re selecting the “Header” option in Notes Admin? Which theme are you using?
Offline
Re: adi_notes - leave notes for Textpattern users
Hi Adi,
I use Hive theme in TXP 4.5.1 (now I can try to update at latest version)
and this is a screenshot of Notes Admin page: postimage.org/image/m8txxylr9/
Last edited by MarcoK (2012-12-10 06:26:15)
Offline
#59 2012-12-10 06:57:29
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_notes - leave notes for Textpattern users
MarcoK wrote:
I use Hive theme in TXP 4.5.1
Just found a note in my code : “header notes on TXP4.5 Hive are in the hard basket, footer enforced”.
Sorry, I’d forgotten about it. Will add it to the “to do” list.
Offline
Re: adi_notes - leave notes for Textpattern users
gomedia wrote:
Will add it to the “to do” list.
Great. A simple solution is whit Jquery…
$("#adi_notes").prependTo(".txp-body");
Last edited by MarcoK (2012-12-10 07:00:37)
Offline