Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-29 17:14:40

carachi
Member
Registered: 2005-03-12
Posts: 11

Editing page templates externally

Yes, I know the “thing” with Txp is that it is ALL in the database.
And before you mention it: I know there are plug-ins like hcg_templates, to download the templats and edit them offline.

But this is still very cumbersome, since I want to work online and see my changes on the template, as I work.
I have really tried to learn to like the web-based built-in templates. But I still hate the way they change every time i change page or saves them + the window is too small. And it does not handle tab. And more…

So I REALLY would like to put in some kind of code in the template window, that points to my external template, so that i can edit it in an external editor, on line, trough ftp, so that I can create beautiful and well formed templates just like I used to…

I think it should be possible – after all this is the way pictures are handled…

I can hack somewhere, but where, and how?

PLEASE help!
Carachi

Offline

#2 2008-01-29 18:58:01

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

Re: Editing page templates externally

I use the Firefox It’s all text extension. You can use your favourite editor.
Or try Editarea.

Last edited by els (2008-01-29 18:59:31)

Offline

#3 2008-01-29 21:36:04

carachi
Member
Registered: 2005-03-12
Posts: 11

Re: Editing page templates externally

Thanks for the tip! I will surely check them out!
There seems to bee some kind of problems with “It’s all text” on Mac, though…
And of course I use Mac…. and preferably Safari. And I would really like to use my favorite editor TextMate…

So more tips are welcome! :)
(is it really not impossible to link in external templates?)

Offline

#4 2008-01-29 22:44:01

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: Editing page templates externally

carachi wrote:

There seems to bee some kind of problems with “It’s all text” on Mac, though…

no problems here using it’s all text with textmate. make sure you read the documentation right. in brief: take a .txt file, hit command+i choose to open .txt with textmate as default and apply to all. that’s it. next time you press the it’s all text button, the document will open in tm.

Last edited by sthmtc (2008-01-29 22:44:18)

Offline

#5 2008-01-30 00:04:56

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Editing page templates externally

carachi wrote:

I use Mac…. and preferably Safari …the window is too small.

It’s not perfect, but in case it helps:

  • Did you know Safari 3.x has resizable (h&w) text areas? Just drag.
  • OmniWeb has a feature that opens text areas into their own window.

carachi wrote:

And I would really like to use my favorite editor TextMate…

I haven’t tried hcg_templates, but obviously it must not meet your goals. I’m not sure why it doesn’t, however. Could you elaborate? Thanks.

Mike

Offline

#6 2008-01-30 04:22:22

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Editing page templates externally

carachi, just use the Edit in TextMate bundle – I use Safari and edit templates in TextMate. Hit cmd+ctrl+e to open a TM window. See this if you’re on Leopard.

I haven’t had any problems with It’s All Text either, but I’ve been using 3b2 lately, so no extensions for me :(.

Offline

#7 2008-01-30 08:00:49

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: Editing page templates externally

jm wrote:

carachi, just use the Edit in TextMate bundle

wow, thanks for pointing that out! this is actually much better than it’s all text!

Offline

#8 2008-01-30 20:11:43

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: Editing page templates externally

OOH textpattern textmate bundle thanks!


Grrr RRR nnndth grrr Skeek!

Offline

Board footer

Powered by FluxBB