Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Hack: Notepad

#13 2004-11-11 21:30:07

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Hack: Notepad

ok – i’ll check it out

Offline

#14 2004-11-11 21:39:54

Cerebus
Member
Registered: 2004-02-24
Posts: 23
Website

Re: Hack: Notepad

The only reason why I suggested multiple notes is I am, by nature, a creature of organization. I like having things in separate little compartments, easily retrievable. It’s no big deal really.


How am I supposed to enjoy this with you crying?

Offline

#15 2004-11-11 22:00:36

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Hack: Notepad

I’m simply not escaping properly… what php function ‘s used for that again? Isn’t there a ready-made function in TXP used just for that? is it <code>doSlash()</code> ?

Last edited by compooter (2004-11-11 22:01:05)

Offline

#16 2004-11-11 22:03:40

Niloc
Member
Registered: 2004-05-15
Posts: 38

Re: Hack: Notepad

Looks like a cool hack. I plan on installing it soon, looks like it could be very helpful at times.

Great work.

Offline

#17 2004-11-11 22:13:39

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Hack: Notepad

Ok I’ve fixed the character-escaping issue. Please re-download the <em>txp_notepublic.php </em> & <em>txp_noteprivate.php </em> OR make this simple edit yourselves. (it really is a piece of cake — you gotta love Dean’s Library Of Every Function You’d Ever Need):

For both files, change: <br><br> <code>$note = gps(‘note’);</code><br><br>to<br><br><code>$note = doSlash(gps(‘note’));</code>

Last edited by compooter (2004-11-11 22:16:45)

Offline

#18 2004-11-11 22:53:16

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Hack: Notepad

ok i just had to post this so that i could break 600 ;-)

Offline

#19 2004-11-12 00:40:22

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Hack: Notepad

:) congratultions


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#20 2004-11-17 05:42:46

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Hack: Notepad

just thought of another reason why this rocks (although it’s more of a side-effect of the weird functionality of links): the notepad also provides a place to keep track of interesting links for those who (like daragh) opt to forego TXP’s “links” and post links grouped together in individual articles.

Offline

#21 2004-11-18 23:43:36

Hans
Member
From: Everywhere
Registered: 2004-03-07
Posts: 99
Website

Re: Hack: Notepad

Aha! Those pesky apostrophe’s… ;)
Again, thanks muchly. I’ve been dreaming of this since I discovered Textpattern.


Lumilux – A Photoblog

Offline

#22 2004-11-20 19:58:36

apo
Member
From: Germany
Registered: 2004-10-27
Posts: 53

Re: Hack: Notepad

uhm… i cannot download your files. whenever i open or download the txtified php files, i get an empty file :-(

Offline

#23 2004-11-20 20:01:23

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Hack: Notepad

looking into it…

Offline

#24 2004-11-20 20:23:17

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Hack: Notepad

Shit. I Figured it out and I apologize. It has to do with a AddHandler change I made for mod_security. All fixed now.

Offline

  1. Index
  2. » Archives
  3. » Hack: Notepad

Board footer

Powered by FluxBB