Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2014-05-06 07:32:37

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_notes - leave notes for Textpattern users

jpdupont wrote #280608:

Hello Adi,

is it possible to put Textpattern code in the note ?

Hi Jean-Pol. I’ve had that on my scribbly list for a while! I’ll look into it … but bear with me, I’m in client mode at the moment.

Offline

#77 2014-05-06 07:40:13

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: adi_notes - leave notes for Textpattern users

Ok, thanks Adi !

Offline

#78 2014-05-06 15:13:55

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,446
Website GitHub

Re: adi_notes - leave notes for Textpattern users

This plugin is a fabulous documentation aid for newbies. I’ve been adding per-panel text to guide people through the Textpattern learning curve and have exported the table so I can apply it to new installs in one swoop :-)

To that end, I can add style rules in the Extensions->adi_notes panel for text alterations, which is grand, but I can’t figure out how to affect the paragraph margins. Just wanted a weeny bit more margin/padding between paragraphs so they’re more easily distinguishable in a large sea of text. Had to alter the hard-coded p rule in the plugin itself to do it.

Is it just me being dim at CSS (highly likely), or is there some plugin enhancement that could be made to alter such things, either from the admin panel or by using a dedicated adi_notes stylesheet to offer more stylistic control over the note blocks?

Thanks in advance for any hints.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#79 2014-05-06 22:03:00

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_notes - leave notes for Textpattern users

Hi Stef,

Having just had a quick butchers at the styling code, I think I’d only give myself a C+ “could do better” – I reckon there’s scope for improvement.

Leave it with me …

Offline

#80 2014-06-30 23:43:23

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_notes - leave notes for Textpattern users

Version 1.3 now available.

  • edit link fixes for 4.6 (thanks jpdupont)
  • tag parsing (for jpdupont)
  • style fixes & improvements (thanks Bloke)
  • inline style fix (thanks uli)
  • fix for Hive theme header (thanks MarcoK)
  • fix for preference save issue in <= 4.5.5
  • admin tab layout & styling improvements
  • now TXP 4.5+ only

As always, make a backup of your notes in advance.

There’s been a change in the way custom styles are applied, so if you’re using them take a copy before you upgrade. The installation will attempt to automatically convert the style rules to the new format, but you may need to tweak things. If all else fails, save a blank custom style & you’ll be given a united-colours-of-benetton version that you can adapt/peruse.

Offline

#81 2014-07-01 20:57:55

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: adi_notes - leave notes for Textpattern users

Thanks Adi !

Offline

#82 2015-04-25 14:47:43

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: adi_notes - leave notes for Textpattern users

Hi Adi

The plugin doesn’t work convincingly in my installation, Textpattern 4.5.7. When I change the preferences from position footer to head, then the new setting is not saved, but the existing note disappears.

Also I don’t understand how I can determine what is a note tab or a embedded note or how I can store more than one note. Or is it restricted only to one note with many paragraphs?

Something I don’t understand properly, sorry.

Offline

#83 2015-04-25 17:36:01

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,384
Website GitHub Mastodon Twitter

Re: adi_notes - leave notes for Textpattern users

Hi,

The plugin provides one note/page (as long as you need it).


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#84 2015-04-25 22:39:02

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_notes - leave notes for Textpattern users

GugUser wrote #290238:

Hi Adi

The plugin doesn’t work convincingly in my installation, Textpattern 4.5.7. When I change the preferences from position footer to head, then the new setting is not saved, but the existing note disappears.

Works OK for me, can you give me a bit more detail on what you see?

Also I don’t understand how I can determine what is a note tab or a embedded note or how I can store more than one note. Or is it restricted only to one note with many paragraphs?

As Yiannis said there’s one embedded note per page (either at the top or bottom). Each of these are divided into a privately editable/visible note & a publicly visible one that can only be edited by someone with admin privs.

There’re also dedicated note pages that can sit under the Home, Content, Presentation or Admin menus. These are switched on in the Notes Admin tab under Extensions and are visible to all users but can only be edited by admin users who have the required privs.

Offline

#85 2015-04-25 23:58:27

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: adi_notes - leave notes for Textpattern users

Thank you Adi!

Many of your plugins are an important part of my installations, very helpful and work perfectly. I don’t know why I had today problems with adi_notes.

Initially my test note was visible, later not, and when I changed the settings, the note had disappeared. The behavior of the plugin was completely different than described. Finally I uninstalled it.

Then I found a better solution for my special requirement.

Maybe there were incompatibilities with the bot_write_tab_customize plugin.

Offline

#86 2015-04-26 00:17:38

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_notes - leave notes for Textpattern users

GugUser wrote #290243:

Maybe there were incompatibilities with the bot_write_tab_customize plugin.

It’s quite possible – we’re all fighting over the same real estate. I’ll make a note to test it one day. Sorry it didn’t work out for you.

Offline

#87 2015-05-14 13:02:06

Gallex
Member
Registered: 2006-10-08
Posts: 1,331

Re: adi_notes - leave notes for Textpattern users

should it work propely if:

PHP version: 5.3.1
MySQL: 5.6.20
Server: Microsoft-IIS/7.5
Server OS: Windows NT 6.1
TXP 4.5.7

can’t activate it :(

Internal error “BLOB/TEXT column ‘note’ can’t have a default value”

Last edited by Gallex (2015-05-15 09:34:34)

Offline

#88 2015-05-14 22:29:23

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_notes - leave notes for Textpattern users

Gallex wrote #290765:

should it work correctly…

In principle, yes. In practice, someone else would have to confirm … as I’m a Mac/Linux/Apache chap. It’s quite possible it’s my crappy coding – I’ll look into it.

Offline

#89 2015-05-14 23:03:02

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_notes - leave notes for Textpattern users

Gallex wrote #290765:

Internal error “BLOB/TEXT column ‘note’ can’t have a default value”

Might be something to do with your MySQL being … oh, so strict! I’ve emailed you a link to a tweaked adi_notes for testing.

Last edited by gomedia (2015-05-14 23:19:57)

Offline

#90 2015-06-07 12:24:29

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_notes - leave notes for Textpattern users

Version 1.3.1 available for download which as fixes for MySQL servers running in strict mode.

Offline

Board footer

Powered by FluxBB