Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
drupal_notes [2008-03-25 00:12] – 81.188.78.24 | drupal_notes [2008-03-25 00:24] – 81.188.78.24 |
---|
* node_example.module: http://api.drupal.org/api/file/developer/examples/node_example.module/5/source | * node_example.module: http://api.drupal.org/api/file/developer/examples/node_example.module/5/source |
* node_example.install: http://api.drupal.org/api/file/developer/examples/node_example.install/5/source | * node_example.install: http://api.drupal.org/api/file/developer/examples/node_example.install/5/source |
| |
| |
| |
| |
* how do you use imagecache? | * how do you use imagecache? |
* it normally seems to need custom theming, but you can access the generated pics at /files/imagecache/NAMESPACE/FILENAME | * it normally seems to need custom theming, but you can access the generated pics at /files/imagecache/NAMESPACE/FILENAME |
| * from the imagecache README.TXT: <code>print theme('imagecache', $ruleset_namespace, $image['filepath'], $alt, $title, $attributes)</code> |
* can a normal image_gallery work with a non "image gallery" tag? | * can a normal image_gallery work with a non "image gallery" tag? |
* yes, /gallery/tid/XX where XX is the id of the tag. | * yes, /gallery/tid/XX where XX is the id of the tag. |
* <code>select * from node join term_node where node.nid=term_node.nid and tid=63;</code> | * <code>select * from node join term_node where node.nid=term_node.nid and tid=63;</code> |
* <code>select * from node join term_node, term_data where node.nid=term_node.nid and term_node.tid=term_data.tid and term_data.name="xmedk";</code> | * <code>select * from node join term_node, term_data where node.nid=term_node.nid and term_node.tid=term_data.tid and term_data.name="xmedk";</code> |
| * nicer: <code>select * from node join term_node on node.nid=term_node.nid join term_data on term_node.tid=term_data.tid where term_data.name="xmedk";</code> |
| |