Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-09 17:59:12

FireFusion
Member
Registered: 2005-05-10
Posts: 698

2 Firefox Add-on you might not know about

This two add-ons make web development a dream

Refresh the page when saving your files.
http://xrefresh.binaryage.com/

Open any Firefox text box in your choice editor, save and it updates!
https://addons.mozilla.org/en-US/firefox/addon/4125

Last edited by FireFusion (2010-01-09 17:59:36)

Offline

#2 2010-01-09 19:47:53

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: 2 Firefox Add-on you might not know about

I’ve been using It’s all text for ages now, couldn’t do without it! Can’t see the use of Xrefresh for Txp sites though… it seems only useful for editing static sites locally. Or am I missing something? Anyway, can’t use it: Windows. OSX. Period. :(

Offline

#3 2010-01-09 19:52:23

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: 2 Firefox Add-on you might not know about

Sadly xrefresh doesn’t work on Linux.
However, I’ve been able to write a basic script which does exactly the same: refresh the browser as soon as any file changes under chosen directory. Believe me, it’s a dream to use with a local server!!!
Incron utility allows this kind of powerful watch over you filesystem.
My script is very raw for the moment, and I could only get it to work with Opera: the Firefox command line options can’t refresh the existing page or load a page inside the existing tab !
If someone is interested, I’ll be glad to share the trick. Just Keep in mind it’s very basic with rough edges, I never wrote a shell script before!

P.S:

Can’t see the use of Xrefresh for Txp sites though…

It makes working on a local site much more comfortable! I use “It’s all text” too.

Each time, you have to save inside the editor, switch to the navigator, be sure the extension has done it’s job, save again, refresh the page.
In comparison, I just press CTRL+S in my editor, the change is instantly visible in Opera.

Last edited by PascalL (2010-01-09 20:01:32)

Offline

#4 2010-01-09 21:02:10

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: 2 Firefox Add-on you might not know about

PascalL wrote:

If someone is interested, I’ll be glad to share the trick.

I am :) I assume your script works in Linux? ;)

Offline

#5 2010-01-09 21:12:30

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: 2 Firefox Add-on you might not know about

Els wrote:

I am :) I assume your script works in Linux? ;)

Of course! Just forgot this small detail ;)
Glad to see you’re working with the penguin. In fact, I just assume, because you didn’t really say it either :D

I’ll just have to write a little “how to”. There is a trick to use specifically when working on the stylesheet, because Opera wouldn’t refresh the damn sheet.

Maybe I’d better post that int the “Howto” forum?

Last edited by PascalL (2010-01-09 22:02:03)

Offline

#6 2010-01-09 21:43:29

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: 2 Firefox Add-on you might not know about

How about a TXP Tip submission?

Offline

#7 2010-01-09 22:04:15

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: 2 Firefox Add-on you might not know about

Ok, thanks Jonathan for your interest!

Just have to clean up things a bit.

Offline

#8 2010-01-10 00:16:18

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: 2 Firefox Add-on you might not know about

OK, I’ll wait for the TXP Tip :) (Good thought, Jonathan!)

Offline

#9 2010-01-10 03:16:22

CLee
New Member
From: Ohio (Cold here!)
Registered: 2010-01-10
Posts: 1
Website

Re: 2 Firefox Add-on you might not know about

Thanks for the info. I just switched to FireFox last month. IE was not letting me edit website. Guys at work said to try FireFox and so far so good.

Offline

#10 2010-01-10 17:50:30

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: 2 Firefox Add-on you might not know about

TXP Tip submitted, waiting for validation.

Offline

#11 2010-01-10 19:22:21

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: 2 Firefox Add-on you might not know about

Its been posted on TXP Tips – thanks to Pascal for this excellent tutorial!

Live editing of pages, forms and CSS on Linux

Offline

#12 2010-01-10 19:40:55

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: 2 Firefox Add-on you might not know about

Thanks Jonathan for the fast validation!

Offline

Board footer

Powered by FluxBB