Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2008-06-12 13:22:12

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: [request] Find & Replace

I’ve used it to change all the prefixes in a template. It exports to the remote _templates folder (by default). I transfer this to an empty folder locally, do search and replace, transfer back into the pages, forms and style folders within _templates, and import. It’s quicker than it might sound.


BB6 Band My band
Gud One My blog

Offline

#14 2008-06-13 07:00:50

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: [request] Find & Replace

Thanks I already use mcw_templates but hadn’t thought about using it to import for search & replace.

I’ll try hcg_templates. Is version 0.3 the most recent?

Last edited by geoff777 (2008-06-13 07:01:19)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#15 2008-06-13 09:23:28

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: [request] Find & Replace

afaik, 0.3 is the latest


BB6 Band My band
Gud One My blog

Offline

#16 2008-06-13 22:14:08

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: [request] Find & Replace

I created 60+ forms in only a few hours. Great method. Thank you


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#17 2008-06-16 16:57:15

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: [request] Find & Replace

This way please, Bloke has answered our prayers (partially)!


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#18 2008-06-17 08:48:27

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: [request] Find & Replace

Hi Uli thanks I’ll check it out later.

I do like the method suggested previously using hcg_templates.

It backs up the templates before editing.
I download using Dreamweaver.
I convert .page and .form files to .txt using Renamer (An excellent free piece of software)
I can work locally using Dreamweaver’s Search & Replace which I’m very familiar and comfortable with.
It also means I can still work on my textpattern websites if I don’t have an internet connection. (Very handy in rural Spain!)

I then convert .txt back to .form & .page
Upload the files and Import the template. Again a back up is made.

Fantastic!! – This method of working has already saved me an estimated weeks work in only a few days.


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#19 2008-06-17 12:31:10

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: [request] Find & Replace

I’m glad you found it so useful, Geoff:) The plugin is a great time saver. I wrote an article about it but forgot to mention how useful it is with search and replace, so now I’ve added a paragraph for future reference. hcg_templates


BB6 Band My band
Gud One My blog

Offline

Board footer

Powered by FluxBB