INSTALL.txt in Subform 5
* enable modules: subform, relation_class, and fapi_table
* if your drupal basepath (see your settings.php file) is not the same as the path from which you are accessing the site, then your ajax calls will fail
a basepath http://www.site.com will not work if you are accessing the site from http://site.com as ajax will fail with permissions errors
* replace the drupal misc/collapse.js file with the one provide here
* when creating a cck subform field, you will have to select an existing relation class definition, you'll probably want to create one of these first at node/manage/relation_class
* if when testing subform, you are annoyed by lots of extra fieldsets within child nodes, this is because you are logged in as admin and admins are presented with lots of node-specific options
* when creating a subform field in cck, you will be presented with a generic selection list query of the form " SELECT
nid, title
FROM
{node}
WHERE
type = 'SOME CONTENT TYPE'
"
you will want to replace 'SOME CONTENT TYPE' with the name of the child type you selected under relation class. For example content_author, if you had an author cck content type.
File
INSTALL.txt
View source
- * enable modules: subform, relation_class, and fapi_table
-
- * if your drupal basepath (see your settings.php file) is not the same as the path from which you are accessing the site, then your ajax calls will fail
- a basepath http://www.site.com will not work if you are accessing the site from http://site.com as ajax will fail with permissions errors
-
- * replace the drupal misc/collapse.js file with the one provide here
-
- * when creating a cck subform field, you will have to select an existing relation class definition, you'll probably want to create one of these first at node/manage/relation_class
-
- * if when testing subform, you are annoyed by lots of extra fieldsets within child nodes, this is because you are logged in as admin and admins are presented with lots of node-specific options
-
- * when creating a subform field in cck, you will be presented with a generic selection list query of the form " SELECT
- nid, title
- FROM
- {node}
- WHERE
- type = 'SOME CONTENT TYPE'
- "
- you will want to replace 'SOME CONTENT TYPE' with the name of the child type you selected under relation class. For example content_author, if you had an author cck content type.