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
drupal_notes [2008-03-25 00:12] 81.188.78.24drupal_notes [2008-03-31 17:24] (current) 81.188.78.24
Line 83: Line 83:
     * http://neemtree.com.au/drupal-theming-designers-continued     * http://neemtree.com.au/drupal-theming-designers-continued
   * theming a particular content type: http://drupal.org/node/17565   * theming a particular content type: http://drupal.org/node/17565
 +
  
  
Line 92: Line 93:
   * views_multiblock: http://drupal.org/project/views_multiblock   * views_multiblock: http://drupal.org/project/views_multiblock
     * 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 (for cropping down thumbnails to squares) 
 +  * http://drupal.org/project/devel 
 +  * http://drupal.org/project/image_exact (for cropping down thumbnails to squares.. needs less work than imagecache) 
 +  * http://drupal.org/project/pathauto (even nicer cleanurls.. based on tag name etc) 
 + 
  
  
Line 103: Line 109:
     * 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
 +  * embedding two views in one view (by putting php in the header.. good trick)
 +    * http://drupal.org/node/42599
 +    * with paging: http://drupal.org/node/85720
 +  * documentation for contributed modules... if something is listed here it's probably a good sign of support.
 +    * http://drupal.org/handbook/config/contribmodules
 +
 +
 +
 +
 +
 +
 +
 +
  
  
Line 130: Line 149:
   * 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.
Line 136: Line 156:
     * <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>
 +  * how do breadcrumbs work? are they like a back button, or is there some other hierarchy? how is it defined?
 +    * seems that they are set by modules. there are a few different ways of doing it.
 +      * it looks like the menu defines breadcrumbs by default..?
 +      * http://drupal.org/project/nodehierarchy
 +      * http://drupal.org/project/taxonomy_breadcrumb
 +  * manually setting the teaser breakpoint: http://drupal.org/node/176829
 +  * what happens when you upload two images with the same name?
 +    * the clash gets resolved automatically _0 (etc) is appended.
 +  * where do you set the front page?
 +    * admin/settings/site-information
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +see also [[delta_notes]]
 +
  
  • drupal_notes.txt
  • Last modified: 2008-03-31 17:24
  • by 81.188.78.24