Dashboard > FarCry 4.0 Developers Guide > Home > Content Types > Removing Content Types
FarCry 4.0 Developers Guide
Removing Content Types
Added by Geoff Bowers , last edited by Geoff Bowers on Aug 04, 2007  (view change)
Labels: 
(None)

Overview

There is no built in method for completely eradicating a type/rule. But if you want to do it manually, these are the parts you will need to cover.

Files

  • Remove the cfc in packages/types or packages/rules
  • Delete any include files. e.g. packages/types/_yourTypeName
  • Delete the webskin directory. e.g. webskin/yourTypeName

Database

  • Delete the table by the name of the type/rule
  • Delete tables named in the style of yourTypeName_arrayPropertyName
  • Remove references to that type from refObjects: delete from
  • refObjects where typename='yourTypeName'

Application variables

  • Simplest solution is to restart coldfusion or perform an &updateapp=1 to re-initialise the application
  • Otherwise set up a page to remove the type/rule from application.types/application.rules struct - there will be a key by the name of the type/rule
  • Remove the type/rule from application.stcoapi the same way

Powered by a free Atlassian Confluence Open Source Project License granted to FarCry CMS. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators