Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-09 10:25:18

carla
Member
Registered: 2005-09-20
Posts: 17
Website

search content of forms and pages

It would be lovely to be able to search, from within admin, the content of my forms and pages. One usage would be to find calls to specific plugins.

Any suggestions for implementing such a feature?


Offline

#2 2006-02-10 23:52:23

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: search content of forms and pages

that’s a cool idea

Offline

#3 2006-02-11 11:35:14

carla
Member
Registered: 2005-09-20
Posts: 17
Website

Re: search content of forms and pages

> 1beb wrote:

> that’s a cool idea

:) Thanks.

I guess I need to figure out exactly where in the database Textpattern stores such information. Hrm…


Offline

#4 2006-02-11 11:59:03

RenJonsin
Member
From: Tarpon Springs, FL USA
Registered: 2005-02-06
Posts: 103
Website

Re: search content of forms and pages

You could try using phpmyadmin to do a search of txp_form and txp_page.

I’m not sure if rss_admin_db_manager could be modified to use a search form, but I know that you can run some sql statements with it.

Ren

Offline

#5 2006-02-11 12:03:38

neptho
Member
From: A cold, dark place.
Registered: 2006-02-01
Posts: 48

Re: search content of forms and pages

SELECT FROM (this may vary – textpattern.textpattern) WHERE BODY LIKE %%string%%

[Admins, Mods, I plee, let me turn off textile in my posts, or escape it.. somehow.]

Last edited by neptho (2006-02-11 12:05:11)

Offline

#6 2006-02-11 12:21:35

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: search content of forms and pages

Use < code>< /code> tags (without the spaces) neptho.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB