====== Coin presse : dotclear ======
==== SL tricks ====
./layout/prepend.php line 43
/*** SL.org l10n patch ***/
require_once(SL_INC_PATH.'sl_l10n.inc.php'); // Load the localization objects and functions
// we have no articles in english thus we force the language in french if not already selected
if (SL_LANG=='en') $lang = (!empty($_GET['l'])) ? $_GET['l'] : 'fr';
else $lang = SL_LANG;
/*** end of SL.org patch ***/
./index.php
# En-tĂȘtes et prologue
# Envoie des en-tĂȘte HTTP
...
commented (already set by SL.org template)
./themes/swisslinux/* : the SL.org template for Dotclear.
./themes/swisslinux/layout.css : #main ... commented
./themes/swisslinux/style.css :
#footer -> #dc_footer
./themes/swisslinux/post.php : trackbacks and comments commented
./themes/swisslinux/list.php : link to comments and trackbacks removed (commented)
==== Funny URL's ====
.htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !^/atom.php
RewriteCond %{REQUEST_URI} !^/rss.php
RewriteCond %{REQUEST_URI} !^/tb.php
RewriteCond %{REQUEST_URI} !^/ecrire/
RewriteCond %{REQUEST_URI} !^/images/
RewriteCond %{REQUEST_URI} !^/themes/
RewriteRule ^(.*)$ /index.php [L]
=== Configuration ===
[[http://press.swisslinux.org/ecrire/tools.php?p=blogconf]]
* **URL du weblogue** set from "///index.php///" to "/////"
* **Type des URL** set to "//Path info//"
Instalation of the plugin "Personnalisation d'URLs" ([[http://tw.apinc.org/stuff/plugin-twurlmod-0.2.tar.gz]])
Tricky configuration of that plugin.