Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2009-06-29 16:04:20

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,092
Website Mastodon

Re: Help me with the 'election'. Wordpress or TextPattern?

Obviously i had mis-understood your point. I can appreciate that we can edit the “file” in the DB… but that is not the same as editing a FILE outside of the db, directly in say a CODA or BBedit or Textmate file editor. Now having this ability would be powerful.

PS mrdale .. can you shed any more light on your workflow on how you use txp as mentioned early in this thread? Cheers…


…. texted postive

Offline

#26 2009-06-29 16:11:14

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Help me with the 'election'. Wordpress or TextPattern?

I think there’s a textpattern bundle for Textmate – I’ve never followed through on getting it working.
Personally I still do a lot of copy/paste between Textmate and TXP.

Efficient? Nope.
Works fine for me though

Last edited by renobird (2009-06-29 16:12:25)

Offline

#27 2009-06-29 16:12:54

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

Re: Help me with the 'election'. Wordpress or TextPattern?

bici wrote:

editing a FILE outside of the db, directly in say a CODA or BBedit or Textmate file editor.

If you don’t want to edit pages, css etcetera directly in the Txp back-end (of course you don’t have to edit them in the db), there are a couple of possibilities. I’m using the It’s All Text! extension for Firefox, you can use it with an editor of your own choice. Or there is hak_editarea, also check that entire thread because it mentions more alternatives.

Offline

#28 2009-06-29 16:54:06

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Help me with the 'election'. Wordpress or TextPattern?

Els wrote:

I’m using the It’s All Text! extension for Firefox, y

Can you get this to work with a mac? No luck for me.

Offline

#29 2009-06-29 17:01:08

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Help me with the 'election'. Wordpress or TextPattern?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#30 2009-06-29 17:04:59

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Help me with the 'election'. Wordpress or TextPattern?

Edit: Oops, I didn’t see the tail of the thread. I am commenting on #19

bici The Textpattern logic is very similar to EE (what I know so far). The template tags follow the same abstraction logic. You just have to ‘translate’ some usages 1:1. eg {embed} is <txp:output_form form="EE_Template" />. In many cases you could use a search & replace script to adopt a high percentage of EE tags to become TXP tags.

And yes, of course you can edit every page, form, CSS outside of Textpattern and outside of the DB.

You can also take a naked HTML page, aka the design markup, and add (inject/replace) dynamic template tags. It’s the same procedure as in ExpressionEngine.

Last edited by merz1 (2009-06-29 17:08:41)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#31 2009-06-29 17:21:36

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,731
Website

Re: Help me with the 'election'. Wordpress or TextPattern?

Dale wrote:

It’s All Text! extension for Firefox – Can you get this to work with a mac? No luck for me.

Dale, for some obscure reason on the Mac you have to point it to the executable within the application package.

For Textmate that’s:

/Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate

For Espresso, it’s:

/Applications/Espresso.app/Contents/MacOS/Espresso

For Coda, I thought it would be /Applications/Coda.app/Contents/MacOS/Coda but it doesn’t want to seem to play…

For Safari:, there’s also Saft for Safari, with which you can “ctrl-click, open with…” to edit textareas in your favourite text editor. See External Text Editor Support for Textareas (scroll down or search). Textmate has it’s own Edit in Textmate extension.

 

Maniqui wrote:

Or cnk_versioning

I was going to suggest that too, and that works for pages, forms & styles (if you are careful how you work) but does it also work for articles??

Last edited by jakob (2009-06-29 17:38:51)


TXP Builders – finely-crafted code, design and txp

Offline

#32 2009-06-29 17:55:29

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,092
Website Mastodon

Re: Help me with the 'election'. Wordpress or TextPattern?

merz1 wrote:

Edit: Oops, I didn’t see the tail of the thread. I am commenting on #19

bici The Textpattern logic is very similar to EE (what I know so far). The template tags follow the same abstraction logic. You just have to ‘translate’ some usages 1:1. eg {embed} is <txp:output_form form="EE_Template" />. In many cases you could use a search & replace script to adopt a high percentage of EE tags to become TXP tags

And yes, of course you can edit every page, form, CSS outside of Textpattern and outside of the DB

You can also take a naked HTML page, aka the design markup, and add (inject/replace) dynamic template tags. It’s the same procedure as in ExpressionEngine.

Thanks Marcus! I becoming more confident by the minute with the choice of TxP for my next project!


…. texted postive

Offline

#33 2009-06-29 18:30:47

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

Re: Help me with the 'election'. Wordpress or TextPattern?

jakob wrote:

Dale, for some obscure reason on the Mac you have to point it to the executable within the application package.

IIRC, /usr/bin/mate is the symlink, but type -p mate will get you the correct path. It doesn’t make any difference, but it’s less to remember/type.

If you use Vim, Vimperator is a nice Firefox extension (Ctrl+i to edit textareas). It seems to be more reliable then It’s All Text too (i.e., 400 MacVim instances aren’t opened simultaneously).

Offline

#34 2009-06-29 19:03:06

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Help me with the 'election'. Wordpress or TextPattern?

You da man JM!

Now I’m using Textwrangler.

Offline

#35 2009-06-29 21:10:04

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,092
Website Mastodon

Re: Help me with the 'election'. Wordpress or TextPattern?

jakob wrote:

Dale, for some obscure reason on the Mac you have to point it to the executable within the application package.

For Textmate that’s:

/Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate

For Espresso, it’s:

/Applications/Espresso.app/Contents/MacOS/Espresso

For Coda, I thought it would be /Applications/Coda.app/Contents/MacOS/Coda but it doesn’t want to seem to play…

… and where how do we accomplish this?

Fixed blockquotes with a strong one (bq..) -Gocom

Last edited by Gocom (2009-06-29 21:45:15)


…. texted postive

Offline

#36 2009-06-29 22:38:54

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,731
Website

Re: Help me with the 'election'. Wordpress or TextPattern?

… and where how do we accomplish this?

These are fixes for using the It’s All Text! add-on for Firefox on the Mac. The mac replies it cannot find the texteditor although the link is correct. Instead, enter the values specified manually into the field provided in the preferences for that add-on. Then it works on the mac too.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB