NPDS allows you to display blocks (or boxes) on the side of your website.
NPDS (with an appropriate theme) allows to display blocks on most pages.
A Block can be visible only to administrators, members, or groups, for Anonymous only or visible by everyone..
Change the required informations inside the block and select the appropriate action, then click on OK.
You can only modify one block at a time.
Select the block and select delete block,, then click on OK.
You can only delete one block at a time.
Enter its title, its index (allows a sorted display) and its content then click onCreate a block ....
By default the new block is activated automatically.
If you need to include code you must respect this syntax :
class-title#nom d'une classe dans votre fichier CSS.
class-content#nom d'une classe dans votre fichier CSS.
Ces lignes permettent d'associer pour CHAQUE BLOC une CSS (titre et contenu) !
Pour avoir la css specifique, il faut :
Exemple css sur un bloc en particulier, ici le bloc gauche ID 2 :
#LB_2 .LB_title {
color: #FF0000;
font-family: Georgia, "Times New Roman", serif;
font-size: 1.25em;
font-weight: bold;
height: 21px;
text-align: center;
line-height: 21px;
}
#LB_2 .LB_contain ul {
list-style: none;
width: 150px;
margin:0px;
padding:0px;
}
#LB_2 .LB_contain li {
margin:0;
padding:0;
}
#LB_2 .LB_contain li a {
min-height: 1.5em;
height: auto !important;
height: 1.5em;
line-height: 1.5em;
margin: 1px 0px 1px 0px;
padding: 0px 5px 0px 5px;
border-bottom: solid 1px #C8C8C8;
border-left: solid 10px #427FBC;
color: #646464;
text-decoration: none;
font-weight: normal;
font-size: 1em;
}
#LB_2 .LB_contain li a:hover {
border-left: solid 10px #cccccc;
background: #f0f0f0;
font-weight: bold;
color: #000000;
text-decoration: none;
}
uri#uris_séparées_par_un_espace pour n'afficher le bloc que sur les URI citées.
Le temps de rétention doit-être égal à zéro dans ce cas.
Exemple : uri#index.php user.php forum.php static.php?op=statik.txt&npds=1
Le tag uri# permet l'utilisation du joker * : par exemple : viewforum.php?forum=* ou viewtopic.php?topic=*&forum=10
Cette syntaxe est la seule supportée !
hidden#... pour ne pas afficher le thème des blocs mais charger le contenu.
Cela permet d'utiliser le système de bloc pour 'charger' des javascripts, des fichiers PHP, des fichiers CSS...
Exemple : hidden#<script type="text/javascript" src="lib/yui/build/yui/yui-min.js"></script>
Cette syntaxe est la seule supportée !
NPDS - Administration manual