Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
drupal_notes [2008-03-24 18:33] 81.188.78.24drupal_notes [2008-03-25 00:24] 81.188.78.24
Line 93: Line 93:
     * allegedly allows blocks to take arguments from the currently viewed node (eg, taxonomy)     * allegedly allows blocks to take arguments from the currently viewed node (eg, taxonomy)
   * http://drupal.org/project/imagecache   * http://drupal.org/project/imagecache
 +
 +
 +==== tutorials etc ====
 +  * some screencasts on CCK/nodereference (building a node out of several other nodes)
 +    * http://geoffhankerson.com/drupal
 +  * drupal api
 +    * http://api.drupal.org/api/5
 +  * creating new node types in 5.x: http://drupal.org/node/132845
 +    * 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
 +
 +
 +
  
  
Line 116: Line 129:
     * looking at the code in includes/pager.inc it looks like no.     * looking at the code in includes/pager.inc it looks like no.
     * would this work with an image gallery?     * would this work with an image gallery?
- +      * seems to use the same pager code. finding this out would require an extra query from the database. 
- +  * how do you use imagecache? 
- +    * it normally seems to need custom theming, but you can access the generated pics at /files/imagecache/NAMESPACE/FILENAME 
-==== tutorials etc ==== +    * from the imagecache README.TXT: <code>print theme('imagecache', $ruleset_namespace, $image['filepath'], $alt, $title, $attributes)</code> 
-  * some screencasts on CCK/nodereference (building a node out of several other nodes) +  * can a normal image_gallery work with a non "image gallery" tag? 
-    * http://geoffhankerson.com/drupal +    * yes, /gallery/tid/XX where XX is the id of the tag. 
-  * drupal api +    * but since galleries can't really be included in anything else (views, panels etc) they are kind of useless
-    * http://api.drupal.org/api/5 +  * how would i do a view-like taxonomy query in mysql? (doesn't the devel module tell you this stuff?) 
-  * creating new node types in 5.x: http://drupal.org/node/132845 +    * <code>select * from node join term_node where node.nid=term_node.nid and tid=63;</code> 
-    * node_example.module: http://api.drupal.org/api/file/developer/examples/node_example.module/5/source +    * <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> 
-    * node_example.install: http://api.drupal.org/api/file/developer/examples/node_example.install/5/source+    * 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>
  
  • drupal_notes.txt
  • Last modified: 2008-03-31 17:24
  • by 81.188.78.24