Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Great, thanks ;-) Regards Tobias Merkl Software-Entwicklung * shoptimax GmbH Guntherstraße 45a 90461 Nürnberg Tel(09 11) 2 55 66 - 25 Fax(09 11) 2 55 66 - 29 eMail [email protected] Webwww.shoptimax.de * Geschäftsführung: Friedrich Schreieck Ust.-IdNr.: DE 814340642 Amtsgericht Nürnberg HRB 21703 * -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von Alfonsas Cirtautas Gesendet: Donnerstag, 31. Mai 2012 11:16 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? HI, thank you for quick response. We will do check inside oxajax.php to fall back to file include if oxNew will fail (and will remove it in next major version) Alf From: [email protected] [[email protected]] on behalf of Lang, Raimund [[email protected]] Sent: Thursday, May 31, 2012 12:05 PM To: [email protected] Subject: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Good point... Ando f course need to upload a new version to the eXchange as well. Maybe a (temporary) workaround would be better, so modules do not need to changed again after just one minor release. This big change can be implemented later anyway, in 4.7 or in 5.0 when even more changes are made. Ray Haller Stahlwaren GmbH Am Gartennest 1 74544 Michelbach/Bilz --- Tel.: 0791/47003 Fax : 0791/47005 www.haller-stahlwaren.de --- Sitz: Schwäbisch Hall Registergericht: Stuttgart HRB 570131 Geschäftsführer: Hermann Hebsacker, Karin Hebsacker -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von Tobias Merkl Gesendet: Donnerstag, 31. Mai 2012 10:12 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hey alf, this sounds good, but ... all module developer has to update their modules in 4.6.2 (?) if they are using admin ajax classes! :-( Kindest Regards Tobias Merkl Software-Entwicklung * shoptimax GmbH Guntherstraße 45a 90461 Nürnberg Tel(09 11) 2 55 66 - 25 Fax(09 11) 2 55 66 - 29 eMail [email protected] Webwww.shoptimax.de * Geschäftsführung: Friedrich Schreieck Ust.-IdNr.: DE 814340642 Amtsgericht Nürnberg HRB 21703 * -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von Alfonsas Cirtautas Gesendet: Donnerstag, 31. Mai 2012 09:05 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hi With bugfix for https://bugs.oxid-esales.com/view.php?id=4037 we will move and rename all ajax list related admin classes. As an example admin/inc/actions_article.inc.php will become admin/actions_article_ajax.php With this change it will be possible to extend existing and register new ajax list files in module metadata. Alf. From: [email protected] [[email protected]] on behalf of Stefan Moises [[email protected]] Sent: Monday, May 14, 2012 12:22 PM To: [email protected] Subject: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? submitted as bug now at https://bugs.oxid-esales.com/view.php?id=4037 Best, Stefan Am 14.05.2012 09:56, schrieb Stefan Moises: > any idea from the OXID developers? :) > > Thanks, > Stefan > > Am 11.05.2012 15:20, schrieb Stefan Moises: >> Hi list, >> >> I am trying to port a module to the new Oxid 4.6. module logic and >> having a hard time getting the paths etc. right... now I seem to have >> hit the wall with admin includes: >> >> [11-May-2012 15:07:06] PHP Warning: include_once(): Failed opening >> 'inc/smxb2b_accounts_main.inc.php' for inclusion >> (include_path='.:/usr/local/lib/php') in >> /...smxDemoshopB2B46/admin/oxajax.php on line 740 >> >> The file smxb2b_accounts_main.inc.php is located at >> "/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from >> "/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php". >> At first, not even that was working and I had to adjust the path to >> the include in my admin class. Now that part is working, but oxaja
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
HI, thank you for quick response. We will do check inside oxajax.php to fall back to file include if oxNew will fail (and will remove it in next major version) Alf From: [email protected] [[email protected]] on behalf of Lang, Raimund [[email protected]] Sent: Thursday, May 31, 2012 12:05 PM To: [email protected] Subject: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Good point... Ando f course need to upload a new version to the eXchange as well. Maybe a (temporary) workaround would be better, so modules do not need to changed again after just one minor release. This big change can be implemented later anyway, in 4.7 or in 5.0 when even more changes are made. Ray Haller Stahlwaren GmbH Am Gartennest 1 74544 Michelbach/Bilz --- Tel.: 0791/47003 Fax : 0791/47005 www.haller-stahlwaren.de --- Sitz: Schwäbisch Hall Registergericht: Stuttgart HRB 570131 Geschäftsführer: Hermann Hebsacker, Karin Hebsacker -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von Tobias Merkl Gesendet: Donnerstag, 31. Mai 2012 10:12 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hey alf, this sounds good, but ... all module developer has to update their modules in 4.6.2 (?) if they are using admin ajax classes! :-( Kindest Regards Tobias Merkl Software-Entwicklung * shoptimax GmbH Guntherstraße 45a 90461 Nürnberg Tel(09 11) 2 55 66 - 25 Fax(09 11) 2 55 66 - 29 eMail [email protected] Webwww.shoptimax.de * Geschäftsführung: Friedrich Schreieck Ust.-IdNr.: DE 814340642 Amtsgericht Nürnberg HRB 21703 * -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von Alfonsas Cirtautas Gesendet: Donnerstag, 31. Mai 2012 09:05 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hi With bugfix for https://bugs.oxid-esales.com/view.php?id=4037 we will move and rename all ajax list related admin classes. As an example admin/inc/actions_article.inc.php will become admin/actions_article_ajax.php With this change it will be possible to extend existing and register new ajax list files in module metadata. Alf. From: [email protected] [[email protected]] on behalf of Stefan Moises [[email protected]] Sent: Monday, May 14, 2012 12:22 PM To: [email protected] Subject: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? submitted as bug now at https://bugs.oxid-esales.com/view.php?id=4037 Best, Stefan Am 14.05.2012 09:56, schrieb Stefan Moises: > any idea from the OXID developers? :) > > Thanks, > Stefan > > Am 11.05.2012 15:20, schrieb Stefan Moises: >> Hi list, >> >> I am trying to port a module to the new Oxid 4.6. module logic and >> having a hard time getting the paths etc. right... now I seem to have >> hit the wall with admin includes: >> >> [11-May-2012 15:07:06] PHP Warning: include_once(): Failed opening >> 'inc/smxb2b_accounts_main.inc.php' for inclusion >> (include_path='.:/usr/local/lib/php') in >> /...smxDemoshopB2B46/admin/oxajax.php on line 740 >> >> The file smxb2b_accounts_main.inc.php is located at >> "/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from >> "/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php". >> At first, not even that was working and I had to adjust the path to >> the include in my admin class. Now that part is working, but oxajax >> can't find the include now as you can see... >> I've tried to set the include path with PHP like this: >> >> if (oxConfig::getParameter("aoc")) >> { >> $newIncPath = dirname(__FILE__); >> set_include_path(get_include_path() . PATH_SEPARATOR . >> $newIncPath); >> >> $aColumns = array(); >> include_once 'inc/' . strtolower(__CLASS__) . '.inc.php'; >> $this->_aViewData['oxajax'] = $aColumns; >> >> return "popups/" . $this->_sThisTemplate; >> } >> >> This works for my admin class, but not for oxajax.php... >> I
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Good point... Ando f course need to upload a new version to the eXchange as well. Maybe a (temporary) workaround would be better, so modules do not need to changed again after just one minor release. This big change can be implemented later anyway, in 4.7 or in 5.0 when even more changes are made. Ray Haller Stahlwaren GmbH Am Gartennest 1 74544 Michelbach/Bilz --- Tel.: 0791/47003 Fax : 0791/47005 www.haller-stahlwaren.de --- Sitz: Schwäbisch Hall Registergericht: Stuttgart HRB 570131 Geschäftsführer: Hermann Hebsacker, Karin Hebsacker -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von Tobias Merkl Gesendet: Donnerstag, 31. Mai 2012 10:12 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hey alf, this sounds good, but ... all module developer has to update their modules in 4.6.2 (?) if they are using admin ajax classes! :-( Kindest Regards Tobias Merkl Software-Entwicklung * shoptimax GmbH Guntherstraße 45a 90461 Nürnberg Tel(09 11) 2 55 66 - 25 Fax(09 11) 2 55 66 - 29 eMail [email protected] Webwww.shoptimax.de * Geschäftsführung: Friedrich Schreieck Ust.-IdNr.: DE 814340642 Amtsgericht Nürnberg HRB 21703 * -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von Alfonsas Cirtautas Gesendet: Donnerstag, 31. Mai 2012 09:05 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hi With bugfix for https://bugs.oxid-esales.com/view.php?id=4037 we will move and rename all ajax list related admin classes. As an example admin/inc/actions_article.inc.php will become admin/actions_article_ajax.php With this change it will be possible to extend existing and register new ajax list files in module metadata. Alf. From: [email protected] [[email protected]] on behalf of Stefan Moises [[email protected]] Sent: Monday, May 14, 2012 12:22 PM To: [email protected] Subject: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? submitted as bug now at https://bugs.oxid-esales.com/view.php?id=4037 Best, Stefan Am 14.05.2012 09:56, schrieb Stefan Moises: > any idea from the OXID developers? :) > > Thanks, > Stefan > > Am 11.05.2012 15:20, schrieb Stefan Moises: >> Hi list, >> >> I am trying to port a module to the new Oxid 4.6. module logic and >> having a hard time getting the paths etc. right... now I seem to have >> hit the wall with admin includes: >> >> [11-May-2012 15:07:06] PHP Warning: include_once(): Failed opening >> 'inc/smxb2b_accounts_main.inc.php' for inclusion >> (include_path='.:/usr/local/lib/php') in >> /...smxDemoshopB2B46/admin/oxajax.php on line 740 >> >> The file smxb2b_accounts_main.inc.php is located at >> "/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from >> "/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php". >> At first, not even that was working and I had to adjust the path to >> the include in my admin class. Now that part is working, but oxajax >> can't find the include now as you can see... >> I've tried to set the include path with PHP like this: >> >> if (oxConfig::getParameter("aoc")) >> { >> $newIncPath = dirname(__FILE__); >> set_include_path(get_include_path() . PATH_SEPARATOR . >> $newIncPath); >> >> $aColumns = array(); >> include_once 'inc/' . strtolower(__CLASS__) . '.inc.php'; >> $this->_aViewData['oxajax'] = $aColumns; >> >> return "popups/" . $this->_sThisTemplate; >> } >> >> This works for my admin class, but not for oxajax.php... >> I also can't set the path for this include file in my metadata.php, >> because it isn't a "real" class like the main admin class: >> >> 'files' => array( >> 'smxb2b_accounts_main'=> >> 'shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php', >> 'ajaxComponent' => >> 'shoptimax/smxb2b_accounts/admin/inc/smxb2b_accounts_main.inc.php', >>
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Hey alf, this sounds good, but ... all module developer has to update their modules in 4.6.2 (?) if they are using admin ajax classes! :-( Kindest Regards Tobias Merkl Software-Entwicklung * shoptimax GmbH Guntherstraße 45a 90461 Nürnberg Tel(09 11) 2 55 66 - 25 Fax(09 11) 2 55 66 - 29 eMail [email protected] Webwww.shoptimax.de * Geschäftsführung: Friedrich Schreieck Ust.-IdNr.: DE 814340642 Amtsgericht Nürnberg HRB 21703 * -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von Alfonsas Cirtautas Gesendet: Donnerstag, 31. Mai 2012 09:05 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hi With bugfix for https://bugs.oxid-esales.com/view.php?id=4037 we will move and rename all ajax list related admin classes. As an example admin/inc/actions_article.inc.php will become admin/actions_article_ajax.php With this change it will be possible to extend existing and register new ajax list files in module metadata. Alf. From: [email protected] [[email protected]] on behalf of Stefan Moises [[email protected]] Sent: Monday, May 14, 2012 12:22 PM To: [email protected] Subject: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? submitted as bug now at https://bugs.oxid-esales.com/view.php?id=4037 Best, Stefan Am 14.05.2012 09:56, schrieb Stefan Moises: > any idea from the OXID developers? :) > > Thanks, > Stefan > > Am 11.05.2012 15:20, schrieb Stefan Moises: >> Hi list, >> >> I am trying to port a module to the new Oxid 4.6. module logic and >> having a hard time getting the paths etc. right... now I seem to have >> hit the wall with admin includes: >> >> [11-May-2012 15:07:06] PHP Warning: include_once(): Failed opening >> 'inc/smxb2b_accounts_main.inc.php' for inclusion >> (include_path='.:/usr/local/lib/php') in >> /...smxDemoshopB2B46/admin/oxajax.php on line 740 >> >> The file smxb2b_accounts_main.inc.php is located at >> "/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from >> "/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php". >> At first, not even that was working and I had to adjust the path to >> the include in my admin class. Now that part is working, but oxajax >> can't find the include now as you can see... >> I've tried to set the include path with PHP like this: >> >> if (oxConfig::getParameter("aoc")) >> { >> $newIncPath = dirname(__FILE__); >> set_include_path(get_include_path() . PATH_SEPARATOR . >> $newIncPath); >> >> $aColumns = array(); >> include_once 'inc/' . strtolower(__CLASS__) . '.inc.php'; >> $this->_aViewData['oxajax'] = $aColumns; >> >> return "popups/" . $this->_sThisTemplate; >> } >> >> This works for my admin class, but not for oxajax.php... >> I also can't set the path for this include file in my metadata.php, >> because it isn't a "real" class like the main admin class: >> >> 'files' => array( >> 'smxb2b_accounts_main'=> >> 'shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php', >> 'ajaxComponent' => >> 'shoptimax/smxb2b_accounts/admin/inc/smxb2b_accounts_main.inc.php', >> ... >> I've tried to set the path for "ajaxComponent" as you can see, but of >> course this isn't working either... >> >> So is there any way I can get oxajax to load my include file from the >> modules directory, or do I have to copy it over to the "/admin/inc/" >> dir of the shop (which would break the whole concept :P) >> >> >> And another "path question": is there a way to load the >> "bottomnavicustom.tpl" from my module folder, too? E.g. this doesnt >> seem to overwrite the default template: >> 'templates' => array( >> "bottomnavicustom.tpl"=> >> "shoptimax/smxb2b_accounts/out/admin/tpl/bottomnavicustom.tpl", >> "smxb2b_accounts.tpl" => >> "shoptimax/smxb2b_
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Hi With bugfix for https://bugs.oxid-esales.com/view.php?id=4037 we will move and rename all ajax list related admin classes. As an example admin/inc/actions_article.inc.php will become admin/actions_article_ajax.php With this change it will be possible to extend existing and register new ajax list files in module metadata. Alf. From: [email protected] [[email protected]] on behalf of Stefan Moises [[email protected]] Sent: Monday, May 14, 2012 12:22 PM To: [email protected] Subject: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? submitted as bug now at https://bugs.oxid-esales.com/view.php?id=4037 Best, Stefan Am 14.05.2012 09:56, schrieb Stefan Moises: > any idea from the OXID developers? :) > > Thanks, > Stefan > > Am 11.05.2012 15:20, schrieb Stefan Moises: >> Hi list, >> >> I am trying to port a module to the new Oxid 4.6. module logic and >> having a hard time getting the paths etc. right... now I seem to have >> hit the wall with admin includes: >> >> [11-May-2012 15:07:06] PHP Warning: include_once(): Failed opening >> 'inc/smxb2b_accounts_main.inc.php' for inclusion >> (include_path='.:/usr/local/lib/php') in >> /...smxDemoshopB2B46/admin/oxajax.php on line 740 >> >> The file smxb2b_accounts_main.inc.php is located at >> "/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from >> "/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php". >> At first, not even that was working and I had to adjust the path to >> the include in my admin class. Now that part is working, but oxajax >> can't find the include now as you can see... >> I've tried to set the include path with PHP like this: >> >> if (oxConfig::getParameter("aoc")) >> { >> $newIncPath = dirname(__FILE__); >> set_include_path(get_include_path() . PATH_SEPARATOR . >> $newIncPath); >> >> $aColumns = array(); >> include_once 'inc/' . strtolower(__CLASS__) . '.inc.php'; >> $this->_aViewData['oxajax'] = $aColumns; >> >> return "popups/" . $this->_sThisTemplate; >> } >> >> This works for my admin class, but not for oxajax.php... >> I also can't set the path for this include file in my metadata.php, >> because it isn't a "real" class like the main admin class: >> >> 'files' => array( >> 'smxb2b_accounts_main'=> >> 'shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php', >> 'ajaxComponent' => >> 'shoptimax/smxb2b_accounts/admin/inc/smxb2b_accounts_main.inc.php', >> ... >> I've tried to set the path for "ajaxComponent" as you can see, but of >> course this isn't working either... >> >> So is there any way I can get oxajax to load my include file from the >> modules directory, or do I have to copy it over to the "/admin/inc/" >> dir of the shop (which would break the whole concept :P) >> >> >> And another "path question": is there a way to load the >> "bottomnavicustom.tpl" from my module folder, too? E.g. this doesnt >> seem to overwrite the default template: >> 'templates' => array( >> "bottomnavicustom.tpl"=> >> "shoptimax/smxb2b_accounts/out/admin/tpl/bottomnavicustom.tpl", >> "smxb2b_accounts.tpl" => >> "shoptimax/smxb2b_accounts/out/admin/tpl/smxb2b_accounts.tpl", >> ... >> My own template is found, but bottomnavi is not overwritten with my >> version >> >> Thanks a lot, >> Stefan >> > -- Mit den besten Grüßen aus Nürnberg, Stefan Moises *** Stefan Moises Senior Softwareentwickler Leiter Modulentwicklung shoptimax GmbH Guntherstraße 45 a 90461 Nürnberg Amtsgericht Nürnberg HRB 21703 GF Friedrich Schreieck Tel.: 0911/25566-0 Fax: 0911/25566-29 [email protected] http://www.shoptimax.de *** ___ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general ___ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Maybe this helps as well? http://wiki.oxidforge.org/Features/Extension_metadata_file#Multilanguage_fields Ray Haller-Händlershop - jetzt Passwort anfordern! www.haller-stahlwaren.de/shop Haller Stahlwaren GmbH Am Gartennest 1 74544 Michelbach/Bilz --- Tel.: 0791/47003 Fax : 0791/47005 www.haller-stahlwaren.de --- Sitz: Schwäbisch Hall Registergericht: Stuttgart HRB 570131 Geschäftsführer: Hermann Hebsacker, Karin Hebsacker Von: [email protected] [mailto:[email protected]] Im Auftrag von Xavier VILLARD Gesendet: Mittwoch, 23. Mai 2012 10:59 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Many thanks Frank ! Best regards, Xavier Hi Xavier, the languagefiles are called module_options.php and reside in modulefolder/out/admin/language, e.g. modules/yourmodule/out/admin/de/module_options.php. keys have prefixes SHOP_MODULE_GROUP_, SHOP_MODULE_ and HELP_SHOP_MODULE_. So your file module_options.php could be like 'ISO-8859-15', 'SHOP_MODULE_GROUP_main' => 'Paybox Einstellungen', 'SHOP_MODULE_paybox_ctx_mode' => 'CTX Mode', 'HELP_SHOP_MODULE_paybox_ctx_mode' => 'Stellen Sie hier den CTX-Mode ein', ); At least this is what I found out looking at the paypal module. Regards, Frank Von: [email protected]<mailto:[email protected]> [mailto:[email protected]] Im Auftrag von Xavier VILLARD Gesendet: Mittwoch, 23. Mai 2012 10:34 An: [email protected]<mailto:[email protected]> Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hi guys, I'm currently adapting some modules to be 4.6 compatible. I made my metadata file which is correct. For this module I've some options I declared as settings in metadata.php as follows : 'settings' => array( array('group' => 'main', 'name' => 'paybox_ctx_mode', 'type' => 'str', 'value' => 'TEST'), array('group' => 'main', 'name' => 'paybox_module_call_method', 'type' => 'str', 'value' => 'curl'), ), My problem is that I don't know how to manage translations for these settings.. In the admin area I get the I get translation error messages for each setting... Any clue ? Regards -- Xavier ___ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Many thanks Frank ! Best regards, Xavier Hi Xavier, the languagefiles are called module_options.php and reside in modulefolder/out/admin/language, e.g. modules/yourmodule/out/admin/de/module_options.php. keys have prefixes SHOP_MODULE_GROUP_, SHOP_MODULE_ and HELP_SHOP_MODULE_. So your file module_options.php could be like 'ISO-8859-15', 'SHOP_MODULE_GROUP_main' => 'Paybox Einstellungen', 'SHOP_MODULE_paybox_ctx_mode' => 'CTX Mode', 'HELP_SHOP_MODULE_paybox_ctx_mode' => 'Stellen Sie hier den CTX-Mode ein', ); At least this is what I found out looking at the paypal module. Regards, Frank *Von:* [email protected] [ mailto:[email protected]] *Im Auftrag von *Xavier VILLARD *Gesendet:* Mittwoch, 23. Mai 2012 10:34 *An:* [email protected] *Betreff:* Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hi guys, I’m currently adapting some modules to be 4.6 compatible. I made my metadata file which is correct. For this module I’ve some options I declared as settings in metadata.php as follows : 'settings' => array( array('group' => 'main', 'name' => 'paybox_ctx_mode', 'type' => 'str', 'value' => 'TEST'), array('group' => 'main', 'name' => 'paybox_module_call_method', 'type' => 'str', 'value' => 'curl'), ), My problem is that I don’t know how to manage translations for these settings.. In the admin area I get the I get translation error messages for each setting... Any clue ? Regards -- Xavier ___ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Hi Xavier, the languagefiles are called module_options.php and reside in modulefolder/out/admin/language, e.g. modules/yourmodule/out/admin/de/module_options.php. keys have prefixes SHOP_MODULE_GROUP_, SHOP_MODULE_ and HELP_SHOP_MODULE_. So your file module_options.php could be like 'ISO-8859-15', 'SHOP_MODULE_GROUP_main' => 'Paybox Einstellungen', 'SHOP_MODULE_paybox_ctx_mode' => 'CTX Mode', 'HELP_SHOP_MODULE_paybox_ctx_mode' => 'Stellen Sie hier den CTX-Mode ein', ); At least this is what I found out looking at the paypal module. Regards, Frank Von: [email protected] [mailto:[email protected]] Im Auftrag von Xavier VILLARD Gesendet: Mittwoch, 23. Mai 2012 10:34 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Hi guys, I'm currently adapting some modules to be 4.6 compatible. I made my metadata file which is correct. For this module I've some options I declared as settings in metadata.php as follows : 'settings' => array( array('group' => 'main', 'name' => 'paybox_ctx_mode', 'type' => 'str', 'value' => 'TEST'), array('group' => 'main', 'name' => 'paybox_module_call_method', 'type' => 'str', 'value' => 'curl'), ), My problem is that I don't know how to manage translations for these settings.. In the admin area I get the I get translation error messages for each setting... Any clue ? Regards -- Xavier ___ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Hi guys,
I’m currently adapting some modules to be 4.6 compatible.
I made my metadata file which is correct.
For this module I’ve some options I declared as settings in metadata.php as
follows :
'settings' => array(
array('group' => 'main', 'name' => 'paybox_ctx_mode', 'type' => 'str',
'value' => 'TEST'),
array('group' => 'main', 'name' => 'paybox_module_call_method', 'type' =>
'str', 'value' =>
'curl'),
),
My problem is that I don’t know how to manage translations for these
settings.. In the admin area I get the I get translation error messages for
each setting...
Any clue ?
Regards
--
Xavier
___
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Good Morning Raimund (the second time today^^), Am 15.05.2012 07:45, schrieb Lang, Raimund: Would be great to put this additional info as well to the wiki about new Module Handling if necessary to understand how it works now with 4.6? Yes Yes, i know :(. still working on the translation for my part. Regards, Björn -- ___ WBL Konzept, Beerden &Lange GbR Björn Lange Geschäftsführender Gesellschafter Luxemburger Straße 266 50937 Köln Telefon: 0221 282 755 82 www.wbl-konzept.de www.facebook.com/wbl.konzept [email protected] ___ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Would be great to put this additional info as well to the wiki about new Module Handling if necessary to understand how it works now with 4.6? -> http://wiki.oxidforge.org/Features/Extension_metadata_file -> http://wiki.oxidforge.org/Tutorials#How_to_Extend_OXID_eShop_With_Modules_.28Part_1.29 -> http://wiki.oxidforge.org/Tutorials#Create_a_backend_module_-_1._Getting_started Of course I can help adding new info to the wiki, no matter what language - but as I am not a coder, I would need a whitepaper first. Ray Haller Stahlwaren GmbH Am Gartennest 1 74544 Michelbach/Bilz --- Tel.: 0791/47003 Fax : 0791/47005 www.haller-stahlwaren.de --- Sitz: Schwäbisch Hall Registergericht: Stuttgart HRB 570131 Geschäftsführer: Hermann Hebsacker, Karin Hebsacker -Ursprüngliche Nachricht- Von: [email protected] [mailto:[email protected]] Im Auftrag von WBL Björn Lange Gesendet: Montag, 14. Mai 2012 23:28 An: [email protected] Betreff: Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working? Good Evening Stefan, Am 14.05.2012 22:00, schrieb Stefan Moises: > Hello Björn, > > thanks a lot, good idea to use functions.php and oxutilsView to load the > admin includes even in oxajax.php and the overwritten templates from the > module directory! > Now I have everything loaded and packed nice and clean in my module dir, > no need to copy anything into the core shop dirs anymore... sweet :) Yeah, sure. No Problem! > > If anybody else is using "admin/inc/...inc.php" file includes in custom > modules, just add this to your functions.php file: > > # add module admin dirs to include path to get the "admin/inc/*.inc.php" > files working! > $aModuleDirs = glob( dirname(__FILE__) . '/*/admin/', GLOB_ONLYDIR); > $aModuleDirsVendor = glob( dirname(__FILE__) . '/*/*/admin/', > GLOB_ONLYDIR); > $aIncludeDirs = array_merge( $aModuleDirs, $aModuleDirsVendor ); > if (is_array($aIncludeDirs) && count($aIncludeDirs)) { > foreach($aIncludeDirs as $sIncDir) { > set_include_path(get_include_path() . PATH_SEPARATOR . $sIncDir); > } > } I would not do it like this, i think this is way to much overhead. > > I guess I will write a little blog entry this week about all the little > pitfalls when updating modules to Oxid 4.6... Yeah that would be nice, maybe this <http://ecommerce-developer.de/unser-oxid-autoloader/> <http://ecommerce-developer.de/wbl-autoloader-und-oxid-4-6-0/> Can help you too. Still working on the translation and the oxid project. @Marco Steinhäuser Is there still the possibilty to get the github project rep for the autoloader, even when the translation is not done yet? Regards, Björn -- ___ WBL Konzept, Beerden &Lange GbR Björn Lange Geschäftsführender Gesellschafter Luxemburger Straße 266 50937 Köln Telefon: 0221 282 755 82 www.wbl-konzept.de www.facebook.com/wbl.konzept [email protected] ___ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general ___ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Good Evening Stefan,
Am 14.05.2012 22:00, schrieb Stefan Moises:
Hello Björn,
thanks a lot, good idea to use functions.php and oxutilsView to load the
admin includes even in oxajax.php and the overwritten templates from the
module directory!
Now I have everything loaded and packed nice and clean in my module dir,
no need to copy anything into the core shop dirs anymore... sweet :)
Yeah, sure. No Problem!
If anybody else is using "admin/inc/...inc.php" file includes in custom
modules, just add this to your functions.php file:
# add module admin dirs to include path to get the "admin/inc/*.inc.php"
files working!
$aModuleDirs = glob( dirname(__FILE__) . '/*/admin/', GLOB_ONLYDIR);
$aModuleDirsVendor = glob( dirname(__FILE__) . '/*/*/admin/',
GLOB_ONLYDIR);
$aIncludeDirs = array_merge( $aModuleDirs, $aModuleDirsVendor );
if (is_array($aIncludeDirs) && count($aIncludeDirs)) {
foreach($aIncludeDirs as $sIncDir) {
set_include_path(get_include_path() . PATH_SEPARATOR . $sIncDir);
}
}
I would not do it like this, i think this is way to much overhead.
I guess I will write a little blog entry this week about all the little
pitfalls when updating modules to Oxid 4.6...
Yeah that would be nice, maybe this
Can help you too.
Still working on the translation and the oxid project.
@Marco Steinhäuser Is there still the possibilty to get the github
project rep for the autoloader, even when the translation is not done yet?
Regards,
Björn
--
___
WBL Konzept, Beerden &Lange GbR
Björn Lange
Geschäftsführender Gesellschafter
Luxemburger Straße 266
50937 Köln
Telefon: 0221 282 755 82
www.wbl-konzept.de
www.facebook.com/wbl.konzept
[email protected]
___
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Hello Björn,
thanks a lot, good idea to use functions.php and oxutilsView to load the
admin includes even in oxajax.php and the overwritten templates from the
module directory!
Now I have everything loaded and packed nice and clean in my module dir,
no need to copy anything into the core shop dirs anymore... sweet :)
If anybody else is using "admin/inc/...inc.php" file includes in custom
modules, just add this to your functions.php file:
# add module admin dirs to include path to get the "admin/inc/*.inc.php"
files working!
$aModuleDirs = glob( dirname(__FILE__) . '/*/admin/', GLOB_ONLYDIR);
$aModuleDirsVendor = glob( dirname(__FILE__) . '/*/*/admin/', GLOB_ONLYDIR);
$aIncludeDirs = array_merge( $aModuleDirs, $aModuleDirsVendor );
if (is_array($aIncludeDirs) && count($aIncludeDirs)) {
foreach($aIncludeDirs as $sIncDir) {
set_include_path(get_include_path() . PATH_SEPARATOR . $sIncDir);
}
}
And for overwriting templates, create an oxutilsview module like so (of
course, adjust name and paths used):
class smxb2b_oxutilsview extends smxb2b_oxutilsview_parent
{
/**
* Initializes and returns templates directory info array
*
* @return array
*/
public function getTemplateDirs()
{
$myConfig = $this->getConfig();
if ( !$this->isAdmin() ) {
$this->setTemplateDir( $myConfig->getModulesDir( true ) .
"shoptimax/smxb2b_accounts/out/".$myConfig->getConfigParam( 'sTheme'
)."/tpl/" );
}
else {
$this->setTemplateDir( $myConfig->getModulesDir( true ) .
"shoptimax/smxb2b_accounts/out/admin/tpl/" );
}
return parent::getTemplateDirs();
}
}
I guess I will write a little blog entry this week about all the little
pitfalls when updating modules to Oxid 4.6...
Cheers,
Stefan
Am 14.05.2012 11:52, schrieb WBL Björn Lange:
Hello Stefan,
Am 11.05.2012 15:20, schrieb Stefan Moises:
This works for my admin class, but not for oxajax.php...
I also can't set the path for this include file in my metadata.php,
because it isn't a "real" class like the main admin class:
'files' => array(
'smxb2b_accounts_main'=>
'shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php',
'ajaxComponent' =>
'shoptimax/smxb2b_accounts/admin/inc/smxb2b_accounts_main.inc.php',
...
I've tried to set the path for "ajaxComponent" as you can see, but of
course this isn't working either...
So is there any way I can get oxajax to load my include file from the
modules directory, or do I have to copy it over to the "/admin/inc/"
dir of the shop (which would break the whole concept :P)
The "admin/inc/"-Container is identified by the "container"-parameter.
The oxajax.php script is called directly and not through the
shopcontrol, but the modules/functions.php is included. So you can set
your include-path in this modules/functions.php to resolve
"include_once 'inc/'.$sContainer.'.inc.php';" in oxajax.php on 748
(OXID 4.6.0). Did you try this allready?
And another "path question": is there a way to load the
"bottomnavicustom.tpl" from my module folder, too? E.g. this doesnt
seem to overwrite the default template:
'templates' => array(
"bottomnavicustom.tpl"=>
"shoptimax/smxb2b_accounts/out/admin/tpl/bottomnavicustom.tpl",
"smxb2b_accounts.tpl" =>
"shoptimax/smxb2b_accounts/out/admin/tpl/smxb2b_accounts.tpl",
The Module-Templates are saved in the config var "aModuleTemplates"
which are called in oxconfig::getTemplatePath after the standard logic:
public function getTemplatePath( $sFile, $blAdmin )
{
$sTemplatePath = $this->getDir( $sFile, $this->_sTemplateDir,
$blAdmin );
if (!$sTemplatePath) {
$sBasePath= getShopBasePath();
$aModuleTemplates =
$this->getConfigParam('aModuleTemplates');
So there is no way to "override" a default template with this way. But
i suggest to overload oxUtilsView::getTemplateDirs to add your own
template dir first for overwriting this template and load your
template first.
Regards,
Björn
--
Mit den besten Grüßen aus Nürnberg,
Stefan Moises
***
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung
shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck
Tel.: 0911/25566-0
Fax: 0911/25566-29
[email protected]
http://www.shoptimax.de
***
___
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
Hello Stefan,
Am 11.05.2012 15:20, schrieb Stefan Moises:
This works for my admin class, but not for oxajax.php...
I also can't set the path for this include file in my metadata.php,
because it isn't a "real" class like the main admin class:
'files' => array(
'smxb2b_accounts_main'=>
'shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php',
'ajaxComponent' =>
'shoptimax/smxb2b_accounts/admin/inc/smxb2b_accounts_main.inc.php',
...
I've tried to set the path for "ajaxComponent" as you can see, but of
course this isn't working either...
So is there any way I can get oxajax to load my include file from the
modules directory, or do I have to copy it over to the "/admin/inc/"
dir of the shop (which would break the whole concept :P)
The "admin/inc/"-Container is identified by the "container"-parameter.
The oxajax.php script is called directly and not through the
shopcontrol, but the modules/functions.php is included. So you can set
your include-path in this modules/functions.php to resolve "include_once
'inc/'.$sContainer.'.inc.php';" in oxajax.php on 748 (OXID 4.6.0). Did
you try this allready?
And another "path question": is there a way to load the
"bottomnavicustom.tpl" from my module folder, too? E.g. this doesnt
seem to overwrite the default template:
'templates' => array(
"bottomnavicustom.tpl"=>
"shoptimax/smxb2b_accounts/out/admin/tpl/bottomnavicustom.tpl",
"smxb2b_accounts.tpl" =>
"shoptimax/smxb2b_accounts/out/admin/tpl/smxb2b_accounts.tpl",
The Module-Templates are saved in the config var "aModuleTemplates"
which are called in oxconfig::getTemplatePath after the standard logic:
public function getTemplatePath( $sFile, $blAdmin )
{
$sTemplatePath = $this->getDir( $sFile, $this->_sTemplateDir,
$blAdmin );
if (!$sTemplatePath) {
$sBasePath= getShopBasePath();
$aModuleTemplates = $this->getConfigParam('aModuleTemplates');
So there is no way to "override" a default template with this way. But i
suggest to overload oxUtilsView::getTemplateDirs to add your own
template dir first for overwriting this template and load your template
first.
Regards,
Björn
--
___
WBL Konzept, Beerden&Lange GbR
Björn Lange
Geschäftsführender Gesellschafter
Luxemburger Straße 266
50937 Köln
Telefon: 0221 282 755 82
www.wbl-konzept.de
www.facebook.com/wbl.konzept
[email protected]
___
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
submitted as bug now at https://bugs.oxid-esales.com/view.php?id=4037
Best,
Stefan
Am 14.05.2012 09:56, schrieb Stefan Moises:
any idea from the OXID developers? :)
Thanks,
Stefan
Am 11.05.2012 15:20, schrieb Stefan Moises:
Hi list,
I am trying to port a module to the new Oxid 4.6. module logic and
having a hard time getting the paths etc. right... now I seem to have
hit the wall with admin includes:
[11-May-2012 15:07:06] PHP Warning: include_once(): Failed opening
'inc/smxb2b_accounts_main.inc.php' for inclusion
(include_path='.:/usr/local/lib/php') in
/...smxDemoshopB2B46/admin/oxajax.php on line 740
The file smxb2b_accounts_main.inc.php is located at
"/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from
"/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php".
At first, not even that was working and I had to adjust the path to
the include in my admin class. Now that part is working, but oxajax
can't find the include now as you can see...
I've tried to set the include path with PHP like this:
if (oxConfig::getParameter("aoc"))
{
$newIncPath = dirname(__FILE__);
set_include_path(get_include_path() . PATH_SEPARATOR .
$newIncPath);
$aColumns = array();
include_once 'inc/' . strtolower(__CLASS__) . '.inc.php';
$this->_aViewData['oxajax'] = $aColumns;
return "popups/" . $this->_sThisTemplate;
}
This works for my admin class, but not for oxajax.php...
I also can't set the path for this include file in my metadata.php,
because it isn't a "real" class like the main admin class:
'files' => array(
'smxb2b_accounts_main'=>
'shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php',
'ajaxComponent' =>
'shoptimax/smxb2b_accounts/admin/inc/smxb2b_accounts_main.inc.php',
...
I've tried to set the path for "ajaxComponent" as you can see, but of
course this isn't working either...
So is there any way I can get oxajax to load my include file from the
modules directory, or do I have to copy it over to the "/admin/inc/"
dir of the shop (which would break the whole concept :P)
And another "path question": is there a way to load the
"bottomnavicustom.tpl" from my module folder, too? E.g. this doesnt
seem to overwrite the default template:
'templates' => array(
"bottomnavicustom.tpl"=>
"shoptimax/smxb2b_accounts/out/admin/tpl/bottomnavicustom.tpl",
"smxb2b_accounts.tpl" =>
"shoptimax/smxb2b_accounts/out/admin/tpl/smxb2b_accounts.tpl",
...
My own template is found, but bottomnavi is not overwritten with my
version
Thanks a lot,
Stefan
--
Mit den besten Grüßen aus Nürnberg,
Stefan Moises
***
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung
shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck
Tel.: 0911/25566-0
Fax: 0911/25566-29
[email protected]
http://www.shoptimax.de
***
___
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
Re: [oxid-dev-general] new module structure in 4.6 and admin include files not working?
any idea from the OXID developers? :)
Thanks,
Stefan
Am 11.05.2012 15:20, schrieb Stefan Moises:
Hi list,
I am trying to port a module to the new Oxid 4.6. module logic and
having a hard time getting the paths etc. right... now I seem to have
hit the wall with admin includes:
[11-May-2012 15:07:06] PHP Warning: include_once(): Failed opening
'inc/smxb2b_accounts_main.inc.php' for inclusion
(include_path='.:/usr/local/lib/php') in
/...smxDemoshopB2B46/admin/oxajax.php on line 740
The file smxb2b_accounts_main.inc.php is located at
"/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from
"/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php".
At first, not even that was working and I had to adjust the path to
the include in my admin class. Now that part is working, but oxajax
can't find the include now as you can see...
I've tried to set the include path with PHP like this:
if (oxConfig::getParameter("aoc"))
{
$newIncPath = dirname(__FILE__);
set_include_path(get_include_path() . PATH_SEPARATOR .
$newIncPath);
$aColumns = array();
include_once 'inc/' . strtolower(__CLASS__) . '.inc.php';
$this->_aViewData['oxajax'] = $aColumns;
return "popups/" . $this->_sThisTemplate;
}
This works for my admin class, but not for oxajax.php...
I also can't set the path for this include file in my metadata.php,
because it isn't a "real" class like the main admin class:
'files' => array(
'smxb2b_accounts_main'=>
'shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php',
'ajaxComponent' =>
'shoptimax/smxb2b_accounts/admin/inc/smxb2b_accounts_main.inc.php',
...
I've tried to set the path for "ajaxComponent" as you can see, but of
course this isn't working either...
So is there any way I can get oxajax to load my include file from the
modules directory, or do I have to copy it over to the "/admin/inc/"
dir of the shop (which would break the whole concept :P)
And another "path question": is there a way to load the
"bottomnavicustom.tpl" from my module folder, too? E.g. this doesnt
seem to overwrite the default template:
'templates' => array(
"bottomnavicustom.tpl"=>
"shoptimax/smxb2b_accounts/out/admin/tpl/bottomnavicustom.tpl",
"smxb2b_accounts.tpl" =>
"shoptimax/smxb2b_accounts/out/admin/tpl/smxb2b_accounts.tpl",
...
My own template is found, but bottomnavi is not overwritten with my
version
Thanks a lot,
Stefan
--
Mit den besten Grüßen aus Nürnberg,
Stefan Moises
***
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung
shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck
Tel.: 0911/25566-0
Fax: 0911/25566-29
[email protected]
http://www.shoptimax.de
***
___
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
[oxid-dev-general] new module structure in 4.6 and admin include files not working?
Hi list,
I am trying to port a module to the new Oxid 4.6. module logic and
having a hard time getting the paths etc. right... now I seem to have
hit the wall with admin includes:
[11-May-2012 15:07:06] PHP Warning: include_once(): Failed opening
'inc/smxb2b_accounts_main.inc.php' for inclusion
(include_path='.:/usr/local/lib/php') in
/...smxDemoshopB2B46/admin/oxajax.php on line 740
The file smxb2b_accounts_main.inc.php is located at
"/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from
"/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php". At
first, not even that was working and I had to adjust the path to the
include in my admin class. Now that part is working, but oxajax can't
find the include now as you can see...
I've tried to set the include path with PHP like this:
if (oxConfig::getParameter("aoc"))
{
$newIncPath = dirname(__FILE__);
set_include_path(get_include_path() . PATH_SEPARATOR .
$newIncPath);
$aColumns = array();
include_once 'inc/' . strtolower(__CLASS__) . '.inc.php';
$this->_aViewData['oxajax'] = $aColumns;
return "popups/" . $this->_sThisTemplate;
}
This works for my admin class, but not for oxajax.php...
I also can't set the path for this include file in my metadata.php,
because it isn't a "real" class like the main admin class:
'files' => array(
'smxb2b_accounts_main'=>
'shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php',
'ajaxComponent' =>
'shoptimax/smxb2b_accounts/admin/inc/smxb2b_accounts_main.inc.php',
...
I've tried to set the path for "ajaxComponent" as you can see, but of
course this isn't working either...
So is there any way I can get oxajax to load my include file from the
modules directory, or do I have to copy it over to the "/admin/inc/" dir
of the shop (which would break the whole concept :P)
And another "path question": is there a way to load the
"bottomnavicustom.tpl" from my module folder, too? E.g. this doesnt
seem to overwrite the default template:
'templates' => array(
"bottomnavicustom.tpl"=>
"shoptimax/smxb2b_accounts/out/admin/tpl/bottomnavicustom.tpl",
"smxb2b_accounts.tpl" =>
"shoptimax/smxb2b_accounts/out/admin/tpl/smxb2b_accounts.tpl",
...
My own template is found, but bottomnavi is not overwritten with my
version
Thanks a lot,
Stefan
--
Mit den besten Grüßen aus Nürnberg,
Stefan Moises
***
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung
shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck
Tel.: 0911/25566-0
Fax: 0911/25566-29
[email protected]
http://www.shoptimax.de
***
___
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
