1
luciorota
Old style blocks administrator tools
  • 2011/9/27 10:49

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


Are you using Xoops 2.5.0+?
Do you need/prefeer the old blocks administrator tool?
This is the patch you need!

Download this
http://luciorota.altervista.org/xoops/modules/wfdownloads/visit.php?cid=2&lid=19
Rota Lucio
lucio.rota@gmail.com;
mobile: +39 338 9966321

2
trabis
Re: Old style blocks administrator tools
  • 2011/9/27 22:08

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Although I like the drag and drop of 2.5.x blocks admin, I think the old version is more friendly. Big "thank you" for your work.

Would be nice to know what other users think about it.

3
sabahan
Re: Old style blocks administrator tools
  • 2011/9/27 22:14

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


will be nice in future xoops version user can choose from admin panel to use/switch between the new and old blocksadmin

4
Mamba
Re: Old style blocks administrator tools
  • 2011/9/28 1:23

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I am totally for "drag and drop" - I need to see visually where the blocks are. The old one doesn't do that for me.

The next level would be actually able to set the layout of the blocks directly in the front page, and be able to move them around and re-size them as needed.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
Mechs
Re: Old style blocks administrator tools
  • 2011/9/28 5:07

  • Mechs

  • Just popping in

  • Posts: 35

  • Since: 2007/4/16


Totally agree with Mamba, for the next level will be good if to include the header & footer as well, ie header; uploading header banner or flash header.

6
sabahan
Re: Old style blocks administrator tools
  • 2011/9/28 7:36

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5



7
Mamba
Re: Old style blocks administrator tools
  • 2011/9/28 7:46

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Vdrag is really cool! It would be nice to have it in Core as an option for the users.

Looks like we'll need to add it to XOOPS 2.6 as a proposed feature
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

8
luciorota
Re: Old style blocks administrator tools
  • 2011/9/28 7:55

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


To avoid misunderstandings
Now i share with xoopsers why I create this patch.

I like xoops 2.5.x blocks manager but it has a problem... is not possible to choose blocks weight.

This, usually, is not a problem... but some times ago i created a xoops site (http://www.caritasbergamo.it) that needed more than 8 blocks areas... in that site now there are 16 blocks areas.

Here the trick I use.
The theme i've realized, puts blocks with a even weight in a area, and puts blocks with a odd weight in an other area... this way I can use 8 areas for blocks with odd weight and 8 areas for blocks with even weight.

Here is the Smarty code I use in my theme
<{if $block.weight is odd}>
...
<{/if}>

<{if 
$block.weight is even}>
...
<{/if}>


That's why I need to set blocks weight as I want, and that's why I realized this patch. Now I can upgrade my site to Xoops 2.5.x

That's all, folks!

PS: I hope that in future Xoops versions will be possibile to set all blocks areas I need, as in many others cms.

Rota Lucio
lucio.rota@gmail.com;
mobile: +39 338 9966321

9
JCash
Re: Old style blocks administrator tools
  • 2011/10/4 9:47

  • JCash

  • Just popping in

  • Posts: 66

  • Since: 2011/2/22


Thanks Lucio, I had a dream and you make it real :))))


French translation :
// $Id: blocsadmin.php 2902 2009-03-05 07:13:07Z phppp $
// _LANGCODE: en
// _CHARSET : UTF-8
// Translator: XOOPS Translation Team

//%%%%%%    Admin Module Name  Blocks     %%%%%
define("_AM_DBUPDATED","Mise à jour réussie");

//%%%%%%    blocs.php     %%%%%
define("_AM_BADMIN","Administration des blocs");
define("_AM_ADDBLOCK","Ajouter un bloc");
define("_AM_LISTBLOCK","Liste des blocs");
define("_AM_SIDE","Emplacement");
define("_AM_BLKDESC","Description");
define("_AM_TITLE","Titre");
define("_AM_WEIGHT","Poids");
define("_AM_ACTION","Action");
define("_AM_BLKTYPE","Type de bloc");
define("_AM_LEFT","Gauche");
define("_AM_RIGHT","Droite");
define("_AM_CENTER","Centre");
define("_AM_VISIBLE","Visible");
define("_AM_POSCONTT","Position du contenu supplémentaire");
define("_AM_ABOVEORG","Avant");
define("_AM_AFTERORG","Après");
define("_AM_EDIT","Editer");
define("_AM_DELETE","Supprimer");
define("_AM_SBLEFT","Bloc latéral - Gauche");
define("_AM_SBRIGHT","Bloc latéral - Droite");
define("_AM_CBLEFT","Bloc central- Gauche");
define("_AM_CBRIGHT","Bloc central- Droite");
define("_AM_CBCENTER","Bloc central- Centre");
define("_AM_CBBOTTOMLEFT","Bloc central- Bas gauche");
define("_AM_CBBOTTOMRIGHT","Bloc central- Bas droite");
define("_AM_CBBOTTOM","Bloc central- Bas centre");
define("_AM_CONTENT","Contenu");
define("_AM_OPTIONS","Options");
define("_AM_CTYPE","Type de contenu");
define("_AM_HTML","HTML");
define("_AM_PHP","PHP");
define("_AM_AFWSMILE","Format automatique (smileys activés)");
define("_AM_AFNOSMILE","Format automatique (smileys désactivés)");
define("_AM_SUBMIT","Enregistrer");
define("_AM_CUSTOMHTML","Bloc personnalisé (HTML)");
define("_AM_CUSTOMPHP","Bloc personnalisé(PHP)");
define("_AM_CUSTOMSMILE","Bloc personnalisé (Format auto avec smileys)");
define("_AM_CUSTOMNOSMILE","Bloc personnalisé (Format auto sans smileys)");
define("_AM_DISPRIGHT","Afficher uniquement les blocs de droite");
define("_AM_SAVECHANGES","Sauvegarder");
define("_AM_EDITBLOCK","Editer un bloc");
define("_AM_SYSTEMCANT","Les blocs du module Système ne peuvent pas être supprimés");
define("_AM_MODULECANT","Ce bloc ne peut pas être supprimé directement. Veuillez désactiver le module au préalable.");
define("_AM_RUSUREDEL","Etes-vous certain de vouloir supprimer le bloc %s?");
define("_AM_NAME","Nom");
define("_AM_USEFULTAGS","Tags utiles:");
define("_AM_BLOCKTAG1","%s imprimera %s");
define('_AM_SVISIBLEIN''Blocs visible sur %s');
define('_AM_TOPPAGE''Page d'index du site');
define('
_AM_VISIBLEIN', 'Visible sutr');
define('
_AM_ALLPAGES', 'Toutes les pages');
define('
_AM_TOPONLY', 'Sur la page d'index uniquement');
define('_AM_ADVANCED''Paramètres avancés');
define('_AM_BCACHETIME''Délais de mise en cache');
define('_AM_BALIAS''Alias');
define('_AM_CLONE''Cloner');  // clone a bloc
define('_AM_CLONEBLK''Cloné'); // cloned bloc
define('_AM_CLONEBLOCK''Créer un clone');
define('_AM_NOTSELNG'"'%s' n'est pas sélectionné"); // error message
define('_AM_EDITTPL''Editer le template');
define('_AM_MODULE''Module');
define('_AM_GROUP''Accès');
define('_AM_UNASSIGNED''Non assigné');

define("_AM_CUSTOM","Bloc personnalisé");
define('_AM_GENERATOR''Blocs générés par %s');
define('_AM_TYPES''Tous les types');

// added for System 2.1 module

// Navigation
define("_AM_SYSTEM_BLOCKS_ADMIN","Administration des blocs");
define("_AM_SYSTEM_BLOCKS_MANAGMENT","Gestion");
define("_AM_SYSTEM_BLOCKS_ADDBLOCK","Ajouter un nouveau bloc");
define("_AM_SYSTEM_BLOCKS_EDITBLOCK","Editer un bloc");
define("_AM_SYSTEM_BLOCKS_CLONEBLOCK","Créer un clone");
define("_AM_SYSTEM_BLOCKS_DELETEBLOCK","Supprimer un bloc");

// Forms
define("_AM_SYSTEM_BLOCKS_CUSTOM","Bloc personnalisé");
define("_AM_SYSTEM_BLOCKS_TYPES","Tous les types");
define("_AM_SYSTEM_BLOCKS_GENERATOR","Modules");
define("_AM_SYSTEM_BLOCKS_GROUP","Groupes");
define("_AM_SYSTEM_BLOCKS_SVISIBLEIN","Page");
define("_AM_SYSTEM_BLOCKS_DISPLAY","Afficher le bloc ");
define("_AM_SYSTEM_BLOCKS_HIDE","Masquer le bloc ");
define("_AM_SYSTEM_BLOCKS_CLONE","Cloner");
define("_AM_SYSTEM_BLOCKS_SIDELEFT","Gauche");
define("_AM_SYSTEM_BLOCKS_SIDETOPLEFT","Haut Gauche");
define("_AM_SYSTEM_BLOCKS_SIDETOPCENTER","Haut Centre");
define("_AM_SYSTEM_BLOCKS_SIDETOPRIGHT","Haut Droite");
define("_AM_SYSTEM_BLOCKS_SIDERIGHT","Droite");
define("_AM_SYSTEM_BLOCKS_SIDEBOTTOMLEFT","Bas Gauche");
define("_AM_SYSTEM_BLOCKS_SIDEBOTTOMCENTER","Bas Centre");
define("_AM_SYSTEM_BLOCKS_SIDEBOTTOMRIGHT","Bas Droite");
define("_AM_SYSTEM_BLOCKS_ADD","Ajouter un bloc");
define("_AM_SYSTEM_BLOCKS_MANAGE","Gestion des blocs");
define("_AM_SYSTEM_BLOCKS_NAME","Nom");
define("_AM_SYSTEM_BLOCKS_TYPE","Type de bloc");
define("_AM_SYSTEM_BLOCKS_SBLEFT","Bloc latéral - Gauche");
define("_AM_SYSTEM_BLOCKS_SBRIGHT","Bloc latéral - Droite");
define("_AM_SYSTEM_BLOCKS_CBLEFT","Bloc central- Gauche");
define("_AM_SYSTEM_BLOCKS_CBRIGHT","Bloc central- Droite");
define("_AM_SYSTEM_BLOCKS_CBCENTER","Bloc central- Centre");
define("_AM_SYSTEM_BLOCKS_CBBOTTOMLEFT","Bloc central- Bas gauche");
define("_AM_SYSTEM_BLOCKS_CBBOTTOMRIGHT","Bloc central- Bas droite");
define("_AM_SYSTEM_BLOCKS_CBBOTTOM","Bloc central- Bas");
define("_AM_SYSTEM_BLOCKS_WEIGHT","Poids");
define("_AM_SYSTEM_BLOCKS_VISIBLE","Visible");
define("_AM_SYSTEM_BLOCKS_VISIBLEIN","Visible sur");
define("_AM_SYSTEM_BLOCKS_TOPPAGE","Page d'index du site");
define("_AM_SYSTEM_BLOCKS_ALLPAGES","Toutes les pages");
define("_AM_SYSTEM_BLOCKS_UNASSIGNED","Non assigné");
define("_AM_SYSTEM_BLOCKS_TITLE","Titre");
define("_AM_SYSTEM_BLOCKS_CONTENT","Contenu");
define("_AM_SYSTEM_BLOCKS_USEFULTAGS","Tags utiles:");
define("_AM_SYSTEM_BLOCKS_BLOCKTAG","%s imprimera %s");
define("_AM_SYSTEM_BLOCKS_CTYPE","Type de contenu");
define("_AM_SYSTEM_BLOCKS_HTML","HTML");
define("_AM_SYSTEM_BLOCKS_PHP","PHP");
define("_AM_SYSTEM_BLOCKS_AFWSMILE","Format automatique (smileys activés)");
define("_AM_SYSTEM_BLOCKS_AFNOSMILE","Format automatique (smileys désactivés)");
define("_AM_SYSTEM_BLOCKS_BCACHETIME","Délais de mise en cache");
define("_AM_SYSTEM_BLOCKS_CUSTOMHTML","Bloc personnalisé (HTML)");
define("_AM_SYSTEM_BLOCKS_CUSTOMPHP","Bloc personnalisé (PHP)");
define("_AM_SYSTEM_BLOCKS_CUSTOMSMILE","Bloc personnalisé (Format autom avec smileys)");
define("_AM_SYSTEM_BLOCKS_CUSTOMNOSMILE","Bloc personnalisé (Format auto sans smileys)");
define("_AM_SYSTEM_BLOCKS_EDITTPL","Editer le template");
define("_AM_SYSTEM_BLOCKS_OPTIONS","Options");
define("_AM_SYSTEM_BLOCKS_DRAG","Déplacer ou ordonner le bloc");

// Messages
define("_AM_SYSTEM_BLOCKS_DBUPDATED"_AM_SYSTEM_DBUPDATED);
define("_AM_SYSTEM_BLOCKS_RUSUREDEL",'Etes-vous certain de vouloir supprimer ce bloc ? %s
');
define("_AM_SYSTEM_BLOCKS_SYSTEMCANT","Les blocs du module Système ne peuvent pas être supprimés !");
define("_AM_SYSTEM_BLOCKS_MODULECANT","Ce bloc ne peut pas être supprimé directement. Veuillez désactiver le module au préalable.");

// Tips
define("_AM_SYSTEM_BLOCKS_TIPS",
'
    Vous pouvez :
  • modifier l'emplacement du bloc en cochant le bouton radioli>
    <
    li>modifier la position relative du bloc en saisissant un chiffreli>
    <
    li>ajouter un Bloc personnaliséli>
    <
    li>afficher (Oui) / masquer (Nonun blocli>
    ul>');
    ?>



10
luciorota
Re: Old style blocks administrator tools
  • 2011/10/7 10:03

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


Rota Lucio
lucio.rota@gmail.com;
mobile: +39 338 9966321

Login

Who's Online

281 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 281


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits