Les blocks

On peut ajouter la fonction d'un block dans une page statique. Cela permet par exemple d'ajouter un sondage sur la page d'accueil du site ou la liste des événements de l'agenda à venir.

  • Portal blocks
echo DB_getItem( 'gl_blocks', 'content',"bid = '**'");
// bid is block id.
  • phpblock
echo phpblock_polls();
echo phpblock_themetester();
// and so on...
  • user_block
echo COM_showBlock('user_block');
  • admin_block
echo COM_showBlock('admin_block');
  • section_block
echo COM_showBlock('section_block');
  • events_block
echo COM_showBlock('events_block');
  • whats_new_block
echo COM_showBlock('whats_new_block');

Source Ivy on Geeklog.net + Staticpage portal for BOTH hidden and none hidden portal blocks (qui ne fonctionne pas avec Geeklog 1.4.1)

Connecté en tant que : Guest (Guest)
astuces/blocks.txt · Dernière modification: 2008/01/25 14:01 par ::Ben
 

Download geeklog

Last version 1.8.1

Espace Membre





Devenir membre
Enregistrez-vous

Mot de passe oublié ?

Change language

Categories

  • Geeklog (38)
  • Plugins (53)
  • Thèmes (16)
  • My cart

    Votre panier (0 article)

    Votre panier est vide!

    0.00 EUR

    Visual Theme Switcher

    Test out available themes by selecting from one of the 6 available themes or give the Visual Switcher a try:

    Follow us on twitter

    En ligne

    Visiteurs: 8