Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How I can make sure, that this custom_field don't using anymore?
I have using custom_fields (custom_9) in some articles. But I think, this one custom_field I don’t really using in form or site-template.
I having search during the SQL-Database, but has not outputting this custom_field, where I using it for – only in the prefs for naming the custom_field.
How I can going sure, that I don’t using this custom_field in any form or site-template? How I can search to this inside backend of textpattern?
Offline
Re: How I can make sure, that this custom_field don't using anymore?
You can try smd_where_used plugin and search for <txp:custom_field
in forms and pages.
Offline
Re: How I can make sure, that this custom_field don't using anymore?
If you’ve already looked with phpmyadmin and have checked all rows, you are probably right.
What you could also do is add the following tags temporarily to one of your templates:
<txp:article_custom limit="99999" status="sticky" expired="1">
<txp:if_custom_field name="name_of_custom_field">
#<txp:custom_field name="name_of_custom_field" /># : <txp:article_id />
</txp:if_custom_field>
</txp:article_custom>
<txp:article_custom limit="99999" expired="1">
<txp:if_custom_field name="name_of_custom_field">
#<txp:custom_field name="name_of_custom_field" /># : <txp:article_id />
</txp:if_custom_field>
</txp:article_custom>
That should show you the custom field value between two #
-signs along with the article id it is in. The duplicate entry is so that you also output sticky articles.
TXP Builders – finely-crafted code, design and txp
Offline
Re: How I can make sure, that this custom_field don't using anymore?
thank you, etc and jacob.
for articles I have found in sql-database, which articles using this custom_field.
For me is important, which forms using this field for implementing in my website. I will try out the smd_where_used-Plugin. :)
Offline
Re: How I can make sure, that this custom_field don't using anymore?
I found indeed a old form, which used the one custom_field. But this is depracted and not on my new website. Much thanks for help! :-)
Offline