Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
drupal_notes [2008-03-19 16:59] – 81.188.78.24 | drupal_notes [2008-03-26 16:56] – 81.188.78.24 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
==== setup on debian ==== | ==== setup on debian ==== | ||
* http:// | * http:// | ||
+ | * creating the database user: http:// | ||
=== multisite setup on debian === | === multisite setup on debian === | ||
the drupal5 package installs drupal in / | the drupal5 package installs drupal in / | ||
+ | |||
+ | the following is based on http:// | ||
to make a new site: | to make a new site: | ||
- | * make a vhost in / | ||
- | <pre> | + | make a VirtualHost in / |
+ | |||
+ | <file> | ||
< | < | ||
- | ServerAdmin | + | ServerAdmin |
DocumentRoot / | DocumentRoot / | ||
- | ServerName | + | ServerName |
< | < | ||
Line 34: | Line 37: | ||
ServerSignature Off | ServerSignature Off | ||
</ | </ | ||
- | </pre> | + | </file> |
+ | |||
+ | then symlink this VirtualHost from / | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | ln -sf ../new-site 001-new-site | ||
+ | </ | ||
+ | |||
+ | also you need to make a new site config directory in / | ||
+ | |||
+ | < | ||
+ | cp -r / | ||
+ | </ | ||
+ | |||
+ | the name of the directory needs to be the domain under which the site will be accessed. | ||
+ | |||
+ | make sure that both the dbconfig.php and settings.php files are writeable by www-data. | ||
+ | |||
+ | < | ||
+ | chown .www-data / | ||
+ | chmod g+w / | ||
+ | </ | ||
+ | |||
+ | before you have a real domain setup, you can edit your /etc/hosts file on your local machine and add an entry that points the domain at the ip address of the server. eg: | ||
+ | |||
+ | < | ||
+ | 78.46.38.135 new-site.example.com | ||
+ | </ | ||
+ | |||
+ | //possibly you also need to add this to the server /etc/hosts file???// | ||
+ | |||
+ | now if you visit the new-site.example.com, | ||
==== themes ==== | ==== themes ==== | ||
- | * overviews | + | * overviews |
+ | * http:// | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
- | * theme constructatron | + | * theme construction |
+ | * A collection of ' | ||
+ | * Neem-tree tutorials on themes & theming.. . | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * theming a particular content type: http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== modules ==== | ||
+ | * timeline http:// | ||
+ | * development 5.x release http:// | ||
+ | * views_multiblock: | ||
+ | * allegedly allows blocks to take arguments from the currently viewed node (eg, taxonomy) | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== tutorials etc ==== | ||
+ | * some screencasts on CCK/ | ||
+ | * http:// | ||
+ | * drupal api | ||
+ | * http:// | ||
+ | * creating new node types in 5.x: http:// | ||
+ | * node_example.module: | ||
+ | * node_example.install: | ||
+ | * embedding two views in one view (by putting php in the header.. good trick) | ||
+ | * http:// | ||
+ | * with paging: http:// | ||
+ | * documentation for contributed modules... if something is listed here it's probably a good sign of support. | ||
+ | * http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== things to find out ==== | ||
+ | |||
+ | * flickr integration? | ||
+ | * special arrangements like our frontpage picture selection idea? | ||
+ | * http:// | ||
+ | * module that uploads to flickr and drupal at the same time: http:// | ||
+ | * how to get the flickr filter working? | ||
+ | * how to do lists of related links | ||
+ | * will they be made manually? or based on tags? or... | ||
+ | * views? | ||
+ | * and only have them show up on the correct pages | ||
+ | * block configuration? | ||
+ | * about tags: http:// | ||
+ | * " | ||
+ | * what is cck? ;) | ||
+ | * http:// | ||
+ | * for making structured kinds of content... but what is the structure of our content? | ||
+ | * can you link to the page of a paged view that contains a particular node? | ||
+ | * looking at the code in includes/ | ||
+ | * 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 / | ||
+ | * from the imagecache README.TXT: < | ||
+ | * can a normal image_gallery work with a non "image gallery" | ||
+ | * yes, / | ||
+ | * but since galleries can't really be included in anything else (views, panels etc) they are kind of useless. | ||
+ | * how would i do a view-like taxonomy query in mysql? (doesn' | ||
+ | * < | ||
+ | * < | ||
+ | * nicer: < | ||
+ | * 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:// | ||
+ | * http:// | ||
+ |