Jump to content

Emil Eriksen

Members
  • Posts

    3
  • Joined

  • Last visited

About Emil Eriksen

  • Birthday 08/15/1995

Contact Methods

Profile Information

  • Location
    Denmark
  • Activity
    Freelancer

Emil Eriksen's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thank you but this is what I've done already After changing it to a textarea saving doesn't work - no changes take effect when I try to edit the transit time textarea. I've cut the code snippets in the OP to better show the changes I've made.
  2. No one? I would imagine this would be easy to solve for a more experienced developer.
  3. Hi, I'm trying to change the "Transit time"-textbox in the carrier creation wizard to a textarea using overrides. The files I'm working with are "AdminCarrierWizardController.php" and "Carrier.php". So far I've managed to change the textbox to a textarea with the visual editor but the issue is that my input isn't saved. If i change the text from "x" to "xx" nothing happens and transit time still shows as "x". I've made the following changes to AdminCarrierWizardController.php: From array( 'type' => 'text', 'label' => $this->l('Transit time:'), 'name' => 'delay', 'lang' => true, 'required' => true, 'size' => 41, 'maxlength' => 128, 'desc' => $this->l('Estimated delivery time will be displayed during checkout.') ), To array( 'type' => 'textarea', 'label' => $this->l('Transit time:'), 'name' => 'delay', 'autoload_rte' => true, 'lang' => true, 'rows' => 5, 'cols' => 40, 'required' => true, 'size' => 41, 'desc' => $this->l('Estimated delivery time will be displayed during checkout.') ), I've made the following changes to Carrier.php:From /* Lang fields */ 'delay' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 128), To /* Lang fields */ 'delay' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true),
×
×
  • Create New...