Guest Posted June 29, 2007 Share Posted June 29, 2007 right now i currently have default modules. what i wanna do is take flat.php and copy another version as flat2.php. it finds it fine under admin but produces the same thing and is actually the same thing. I have edited the flat2.php to use a different class constructor and edited the id. and it seems, under admin shipping module, it just reads the module directory and allows each shipping module to use the defined text constants under the appropriate file in the languages folder. mine doesnt do that, it seems both flat and flat2 uses the same flat in the languages dir. any help? Quote Link to comment Share on other sites More sharing options...
oschellas Posted June 29, 2007 Share Posted June 29, 2007 Changing only the class constructor to flat2 is not sufficient, you would have to modify every flat instance to flat2, including the defined (capital) language strings. Quote Link to comment Share on other sites More sharing options...
satish Posted June 29, 2007 Share Posted June 29, 2007 In the class code there are some db insert statement did You modify those. as flat2 should go into shipping installed config table fileds. Also as stated above did You change the language file. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.