Hi,

It does not seem useful to create PHP pages with redundant code.
Is it possible, in a module, use only one controller instead of the
tradional list.php, fiche.php, etc..

We could set up a referral mechanism using parameters.

For example :
--------------
Instead of using this king of URI :
/publication/subscriber/index.php
=> We could use this model :
/publication/subscriber.php?page=index

Another sample :
----------------
/publication/subscriber.php?page=fiche&action=create
could be the same as :
/publication/subscriber/fiche.php?action=create

I know there is a template mechanism in Dolibarr, but i have not tried
to understand how it works...

Does this URI scheme would allow us to democratize its use?

Best regards,
-- 
Marc-Henri Pamiseux

SARL Libricks
Maison de la technopole
6, rue Léonard de Vinci - BP 0119
53001 LAVAL Cedex

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à