Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
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
Offline
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
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
Re: 2 Firefox Add-on you might not know about
TXP Tip submitted, waiting for validation.
Offline
Re: 2 Firefox Add-on you might not know about
Its been posted on TXP Tips – thanks to Pascal for this excellent tutorial!
Offline
Re: 2 Firefox Add-on you might not know about
Thanks Jonathan for the fast validation!
Offline