Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:web_based_apps

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
becki:linux:web_based_apps [2009-03-30 12:38]
becki
becki:linux:web_based_apps [2011-12-19 17:26] (aktuell)
becki
Zeile 4: Zeile 4:
 Tips and Howtos for installation,​ update and modifications on web based applications. Targeted mainly for a [[wp>​LAMP]] system. Tips and Howtos for installation,​ update and modifications on web based applications. Targeted mainly for a [[wp>​LAMP]] system.
  
-===== Drupal == +===== SquirrelMail ​==
-==== Newsletter ​==+
  
-FIXME Check [[drupal>​node/​197057|Simplenews]]!+See [[SquirrelMail tips]]
  
- ==== Calendar Events ​==+===== Drupal ​==
  
-All is done on Drupal 6.9 / [[http://​www.drupaltherapy.com/​node/​76|information source]] (screencast) / [[drupal>​node/​262062|General info]] +See [[Drupal]]
- +
-=== Basic principle == +
- +
-  - Create a new content (node) type for events +
-  - Add a date field to this new event type +
- +
-FIXME +
- +
-=== Detailled Instructions == +
- +
-  - Install this modules: +
-    * [[drupal>​project/​cck|cck]] allows you to add custom fields to nodes using a web browser. +
-    * [[drupal>​project/​date|date]] defines CCK date/time fields and widgets. +
-    * [[drupal>​project/​views|views]] to create customized lists and queries from your database. +
-    * [[drupal>​project/​calendar|calendar]] is a Views plugin to display views containing dates as Calendars. +
-  - Enable in Administer -> Modules  +
-    * CCK: ''​Content''​ (and optionally ​ ''​Number'',​ ''​Option widgets''​ & ''​Text''​ for later usage) +
-    * Date/Time: ''​Calendar'',​ ''​Date'',​ ''​Date API''​ & ''​Date Timezone''​ +
-    * Views: ''​Views''​ & ''​Views UI''​ +
-  - Set Timezone anew in Administer -> Date and time +
-  - Administer -> Content types -> Add content type:  +
-    * Name: Event, Type: event (proposal) +
-    * Uncheck: Workflow settings -> Default options -> Promoted to front page +
-  - Administer -> Content types -> "​Event"​ -> Manage fields +
-    * Add new field: Label: Date; field name: field_date; Field type: Date; Widget: Select list +
-    * Save +
-    * Global Settings -> Required: yes; Global Settings -> To Date: optional +
-    * Save +
-  - Administer -> Blocks: Enable Upcoming +
-  - Administer -> Views -> calander -> Enable +
-  - Administer -> Views -> calander -> edit -> Defaults: +
-    * Arguments: ''​Date:​ Date Content: Datum (field_datum value)''​ +
-    * Fields ''​Node:​ Title''​ (remove date field) +
-    * Sort criteria: ''​Content:​ Datum (field_datum value) asc''​ +
-  - Administer -> Views -> calander -> edit -> Upcoming: (Take care not to overwrite the Defaults when editing this view!) +
-    * Arguments ->  Date: Date -> Granularity:​ Day (Overwrite Upcoming, don't modfy Default!) +
-    * Fields: +
-      * ''​Node:​ Title''​ +
-      * ''​Content:​ Datum (field_datum value) Short''​ +
-    * Filters:  +
-      * ''​Node:​ Published Yes''​ +
-      * ''​Date:​ Date Content: Datum (field_datum value) >= now''​ +
- +
-==== WYSIWYG with FCKEditor == +
- +
-  - Download the [[drupal>​project/​fckeditor|module]] and the [[http://​www.fckeditor.net/​download|editor]] +
-  - Follow the instructions in ''​README.TXT''​ of the Module :!: +
-    - Install module and editor +
-    - Enable the module in ''​Administer -> Modules''​ +
-    - Grant ''​fckeditor access''​ permissions for user with story/page write access (eg. self-created role ''​authors''​) and ''​authenticated users''​ +
-    - Under ''​Administer -> FCKeditor'',​ allow ''​authors''​ to use the advanced profile and optionally ''​authenticated users''​ to use the default profile +
-    - Under ''​Administer -> Input formats''​  +
-      - Make ''​Filtered HTML''​ the default format +
-      - Add the tags ''<​p>​ <br />''​ to the list of allowed HTML tags in ''​Filtered HTML''​  +
-      - Allow the role authors to use ''​Full HTML''​ +
-      - Uncheck Line break converter in both formats +
- +
-==== Handling Images == +
- +
-The [[drupal>​project/​image|image module]] is easy to use and allows to add one image per node. See [[drupal>​node/​191718|Attaching images to other nodes]]. +
- +
-==== Install == +
- +
-  * Download and extract ​Drupal ​somewhere in apache document root, on Slackware /​var/​www/​htdocs. Maybe its better not to extract directly on the server but to ftp the files up to the server, because otherwise you get strange permissions for the directories i.e. ''​drwxr-sr-x''​ instead of ''​drwxr-xr-x''​ +
-  * Symlink drupal -> drupal-<​versionnumber>​ +
-  * chown -R nobody:​nobody /​var/​www/​htdocs/​drupal/​* :?: Maybe it's more secure to just give write permission to only the files wich drupal wants to edit, eg. drupal/​sites/​default/​settings.php +
-  * Make sure that you use PHP5 not 4. Otherwise you may get an error message about ''​register_globals''​ being illegally on. You can check this by creating a file containing "''<?​php phpinfo(); ?>''"​ inside the drupal directory on your server. You can switch to PHP5 by adding the line "''​AddHandler php-fastcgi5 .php .php5''"​ to the file ''​.htaccess''​ in the drupal directory. +
-  * Point your Browser to %%http://​yourhostname/​drupal%% and follow installation instructions. +
- +
-Obsolete instructins for drupal 5.2: +
- +
-  * Create the drupal database by help of INSTALL.mysql.txt. Don't omit ''​@localhost''​ in the SQL statement :!: Otherwise you might not connect to the database. (See column ''​mysql.user.Host''​) +
-  * Create administrator account +
-  * Create a directory called '​files'​ in root dir of drupal and make it writable by httpd +
- +
-==== Install a different Language == +
- +
-Update: It seems to be better to select the default language at installation (Drupal 6.9) --- 2009-01-19 +
- +
-This refers to Drupal 6.2: +
-  * Downlad a language tarball from drupal>​project/​Translations +
-  * Enable: Administer -> Site building -> Modules -> Locale +
-  * Upload language tarball to drupa root dir and unpack it +
-  * Home › Administer › Site configuration > Languages > Add language +
-  * Make new language the default language on the same page +
- +
-==== Cron == +
- +
-Some modules need to be triggered periodically. This is done by calling the script /​drupal/​cron.php with lynx. Therfore add a hourly conjob. With Slackware this is achieved by simply creating and making runnable ''/​etc/​cron.hourly/​drupal''​ whith the following content: +
-<code bash> +
-#​!/​bin/​bash +
-lynx -source http://​localhost/​drupal/​cron.php +
-</​code>​ +
- +
-==== WYSIWYG with Tinymce == +
- +
-This paragraph is obsolete! +
- +
-[[drupal>​project/​tinymce|Download]] tinymce module and follow the instructions in INSTALL.txt and optionally at the [[drupal>​handbook/​modules/​tinymce|Drupal Handbook]] +
- +
-Notes: +
-  * If seems better to try additonal features (eg images) with WYSIWYG turned off in order to get the proper source code and then perhaps config tinymce to produce that source code. +
-  * Images to be set up with tinymce. +
-  * For config HTML-Filters see: [[drupal>​node/​59769]] +
-  * There is also a FCKEditor module, but Tinymce seems to be more lightweight & better supported +
-  * [[http://​www.theempowerment.com/​mediawikiisobsolete|Recommendation]] for tinymce & freelinking instead of a wiki +
- +
-==== Test / Todo == +
- +
-  * Check out ''​Views exporter''​ +
-  * Taxonomie +
-    * Test [[drupal>​node/​81589|VIEWS Module]] +
-    * How to link Categories? / +
-    * Understand and setup [[drupal>​handbook/​modules/​taxonomy|Taxonomy]] or [[http://​category.greenash.net.au/​|Categories]];​ see also [[drupal>​node/​46268|Understanding categories for new users]]+
  
 ===== Dokuwiki == ===== Dokuwiki ==
-==== Updating Dokuwiki == 
- 
-  * Download and extract newest version on the server 
-  * Find all files with the extension .org or .dist. 
-  * Spot all differences between <​file>​.org and <​file>​ in the old dokuwiki installation 
-  * Back up original <​file>​ as <​file>​.org ​ in the new dokuwiki installation 
-  * Patch <​file>​ in the new dokuwiki installation with those differences 
-  * Copy additional Interwiki Shortcut images to ''​lib/​images/​interwiki''​ 
-  * Copy additional smiley images to ''​lib/​images/​smileys''​ 
-  * Update additional plugins with new versions from the web 
-  * chmod a-w install.php 
-  * delete unnecessary language translations 
-  * copy data: <code bash> 
-cp -a oldDokuwiki/​data/​pages/​* newDokuwiki/​data/​pages 
-cp -a oldDokuwiki/​data/​media/​* newDokuwiki/​data/​media 
-cp -a oldDokuwiki/​data/​meta/​* ​ newDokuwiki/​data/​meta 
-</​code>​ 
- 
-=== Possible Config Update Alternative == 
- 
-<code bash> 
-cd oldDokuwiki 
-diff -u $file.org $file > $file.diff 
-cp $file.diff newDokuwiki 
-cd newDokuwiki 
-patch $file.diff 
-</​code>​ 
- 
-See also http://​www.dokuwiki.org/​install:​diffupgrade 
- 
-==== Add an Interwiki Shortcut == 
- 
-  - Add URL in ''​dokuwiki/​conf/​interwiki.conf''​ 
-  - Add the interwiki icon at ''​dokuwiki/​lib/​images/​interwiki''​. Possible formats: .gif and .png, but not .ico (Tested with version 2007-06-26b) 
-  - Delete the cache: ''​rm -rf dokuwiki/​data/​cache/​*''​ 
-  - Reload the page in browser 
- 
-See also http://​www.dokuwiki.org/​interwiki 
- 
-==== Linebreak Plugin == 
- 
-Just install the [[doku>​plugin:​linebreak|linebreak plugin]]. No additional config is necessary. 
- 
-==== URL Rewriting == 
- 
-Make sure that .htaccess file is respected with 
-<code apache> 
-<​Directory /​path/​to/​dokuwiki>​ 
-  AllowOverride All 
-</​Directory>​ 
-</​code>​ 
-or 
-<code apache> 
-<​Directory /​var/​www/​htdocs>​ 
-  AllowOverride All 
-</​Directory>​ 
-</​code>​ 
-in ''/​etc/​apache/​httpd.conf''​ 
- 
- 
-Uncomment everything beginning with ''#​Rewrite...''​ in ''/​var/​www/​htdocs/​dokuwiki/​.htaccess'',​ but **not** the line ''#​RewriteBase /​dokuwiki''​. 
- 
-Enable rewriting in admin config menu by setting it to type 1 
- 
-See also: [[doku>​wiki:​rewrite]] 
- 
-==== monospaced in blue == 
- 
-lib/​tpl/​default/​design.css --- 2007-01-06 17:16 
  
-diff design.css.org design.css +See [[dokuwiki tips]]
-<​code>​ +
-465a466 +
->   ​color:​ darkblue; +
-</​code>​+
  
 ===== Webadmin == ===== Webadmin ==
becki/linux/web_based_apps.1238416735.txt.gz · Zuletzt geändert: 2009-03-30 12:38 von becki

Impressum - Datenschutzerklärung