Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Bookmarklets

#1 2004-05-25 18:07:50

DougBTX
Archived Plugin Author
Registered: 2004-05-23
Posts: 22

Bookmarklets

Hi all,

I’m working on a bookmarklet plugin.

At the moment, it is set up to create the bookmarklet from the following tag:

<txp:btx_bookmarklets adminURL="http://yoursite.com/textpattern/" />

You have to set adminURL to the URL of your admin area for TXP, and the bookmarklet will only work if you have TXP set to remember your login.

Get it:
http://redmelon.net/btx_bookmarklets.txt

At this stage, you’re probably wondering why I made it in the form of a plugin… two reasons: I’d like to find a way for the plugin to find out where the admin directory its all by itself, and I’d also like it to be able to handle a page which could let the user log in.

Does anyone know how to write in either of those features?

Thanks,
Douglas

Offline

#2 2004-05-25 18:23:43

jayaqt
Member
From: Phils
Registered: 2004-05-13
Posts: 11
Website

Re: Bookmarklets

tried it.got this:

Warning: main(/home/NAME/public_html/textpattern/include/txp_prefs/?.php): failed to open stream: No such file or directory in /home/NAME/public_html/textpattern/index.php on line 49 Warning: main(): Failed opening ‘/home/NAME/public_html/textpattern/include/txp_prefs/?.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/NAME/public_html/textpattern/index.php on line 49

I see the moon, and the moon sees me.
God bless the moon, and God bless me.

Offline

#3 2004-05-25 19:11:49

DougBTX
Archived Plugin Author
Registered: 2004-05-23
Posts: 22

Re: Bookmarklets

I don’t understand that error, try this instead:

http://www.redmelon.net/bookmarklets.txt

Repalce YOURWEBSITE with your admin panel URL.

Douglas

Offline

#4 2004-05-25 19:41:36

jayaqt
Member
From: Phils
Registered: 2004-05-13
Posts: 11
Website

Re: Bookmarklets

the admin panel you’re talkin is the one between the presentation and view site tabs right?

something like:
http://www.com/textpattern/index.php?event=prefs


I see the moon, and the moon sees me.
God bless the moon, and God bless me.

Offline

#5 2004-05-25 21:42:46

DougBTX
Archived Plugin Author
Registered: 2004-05-23
Posts: 22

Re: Bookmarklets

yea, but without the “index.php?event=prefs” part. So just:

http://www.com/textpattern/

hth,
Douglas

Offline

#6 2004-05-26 05:14:30

jayaqt
Member
From: Phils
Registered: 2004-05-13
Posts: 11
Website

Re: Bookmarklets

ok. it’s working now.


I see the moon, and the moon sees me.
God bless the moon, and God bless me.

Offline

#7 2004-05-26 11:51:16

rg
New Member
From: UK
Registered: 2004-03-29
Posts: 2

Re: Bookmarklets

Great plugin.

It is perfect for me because, being as lazy as I am, it means I don’t have to go all the way to bookmarks to edit my site while perusing my posts ;-)

Thanks.


“It is difficult to fight against anger, for a man will buy vengeance with his soul”
——-
Heraclitus

Offline

#8 2004-06-01 12:25:21

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Bookmarklets

Hie Doug,

i did install your plugin and did place the tag on frontpage. as much as i did understand, there should appear a link?? i did not quite understand this point.
so far, nothing showed up or happend…

Offline

#9 2004-06-01 13:55:37

DougBTX
Archived Plugin Author
Registered: 2004-05-23
Posts: 22

Re: Bookmarklets

Is the plugin active?

If you still can’t get it to work, you can do it manually using the text file below:

bookmarklets.txt

Replace YOURWEBSITE with the address of your website admin panel (such as http://www.yoursite.com/textpattern/).

Douglas

Offline

#10 2004-06-01 16:34:05

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Bookmarklets

Great! Thx VC 201 :-) !! Works really fine now. Thx a lot.

Offline

#11 2004-09-10 14:13:03

liza
New Member
Registered: 2004-06-11
Posts: 2

Re: Bookmarklets

I’m sorry but I am a new user. I’m coming out of MT. I am trying to understand how this installation works.

I went to the plugin section of TxtP, uploaded, installed and just got a TXT file on the screen. Isn’t this supposed to work like the MT and WP bookmarlet? And why can’t I install it easily? What am I missing —-please note I am still not familiar with the TxtP lingo, so you’ll have to break it down.

Thanks

Last edited by liza (2004-09-10 14:13:24)

Offline

#12 2004-09-11 23:08:49

ChrisJ
Member
From: Vienna, Austria
Registered: 2004-03-30
Posts: 54
Website

Re: Bookmarklets

I modified the bookmaklet to add a new link to your website. Works like the original version.

Tested in IE6 and Firefox 0.8. Important: IE6 SP2 blocks this pop-up. Probably possible to configure.

It’s a textfile. Copy & paste as the URL (IE) or Location (Firefox) of the link. Remember to change example.com with your URL.
If the window doesn’t focus add original window.focus(); at the end.

Get it

[edited: link location]

Last edited by ChrisJ (2005-07-24 18:54:42)

Offline

#13 2004-09-13 11:32:52

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: Bookmarklets

Thanks Chris – that solves a long standing problem I had with the other add link bookmarklets.


Cheers,
Jon VC#9

Offline

#14 2004-11-23 08:39:44

timtak
New Member
Registered: 2004-08-12
Posts: 2

Re: Bookmarklets

It seems to open the entry page, not the link page, for me.
Also the new window is blocked by my popup blocker.
Tim

Offline

#15 2004-11-23 16:25:23

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

Re: Bookmarklets

The window still doesn’t focus (even with <code>window.focus();</code>). And what is this with the “via” link? I mean, I’d love it if links/textile in the description actually worked, but I can’t see how you’re getting it to work. For me it breaks the link entirely when I spit them back out with <code><txp:link_feed_link /></code>. I’m assuming you’re using a plugin to spit those links out, or some other method?

Last edited by compooter (2004-11-23 16:30:27)

Offline

  1. Index
  2. » Archives
  3. » Bookmarklets

Board footer

Powered by FluxBB