Le 22/08/2012 12:36, Régis Houssin a écrit : > pourquoi tu n'appelles pas l'élément "agefodd_session" tout court ? > pourquoi deux fois "agefodd" ?
car la classe cherchée est alors agefodd/class/session.class.php et actuellement c'est agefodd/class/agefodd_session.class.php (et jusqu'à hier c'était agefodd/session/class/agefodd_session.class.php) > > > Le 22/08/12 12:23, Jean-François FERRY a écrit : >> Hello, >> >> For the module 'agefodd' we need to link object session with >> actioncomm but >> When insert in llx_actioncomm the 'elementtype' value is >> 'agefodd_agefodd_session' >> The classname is "Agefodd_session". >> >> But function getElementUrl() used in /comm/action/fiche.php doesn't >> accept two undersore in $objecttype value :( >> >> In this function I've modified : >> >> if (preg_match('/^([^_]+)_*([^_]+)*/i',$objecttype,$regs)) >> >> in >> >> if (preg_match('/^([^_]+)_*(.*+)*/i',$objecttype,$regs)) >> >> to correct but it' for dev only and require table modification on >> structure to pass varchar at 32 >> :\|<http://devmachine/phpmyadmin/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Fupdate.html&token=8ed285104ccbc9ed2396af8bd4c97897>| >> >> It would be nice to use the @ sign to designate the module as example >> for loading a language file, it would be utilier underscore in class >> names. >> >> Otherwise we need classes renamed (again). >> >> Or so I plant completely how to, thank you in this case to explain >> how to do it :) >> >> Regards, >> >> JF >> >> P.S : this is valable for Dolibarr 3.2.0 >> >> >> >> >> _______________________________________________ >> Dolibarr-dev mailing list >> Dolibarr-dev@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > > Cordialement, > -- > Régis Houssin > --------------------------------------------------------- > Cap-Networks > Cidex 1130 > 34, route de Gigny > 71240 MARNAY > FRANCE > VoIP: +33 1 83 62 40 03 > GSM: +33 6 33 02 07 97 > Web: http://www.cap-networks.com/ > Email: regis.hous...@cap-networks.com > > Dolibarr developer: re...@dolibarr.fr > Web Portal: http://www.dolibarr.fr/ > SaaS offers: http://www.dolibox.fr/ > Shop: http://www.dolistore.com/ > Development platform: https://doliforge.org/ > ---------------------------------------------------------
_______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev