Hi Everyone,
I want to register a module that should be accessible for customers not logged-in yet. This module should return a JSON data. I want to improve the login by making some validations while the user is typing, before he click the submit button.

So, I create a simple OTRS package for install this module.
It's configuration file is like this:

<?xml version="1.0" encoding="iso-8859-1" ?>
<otrs_config version="1.0" init="Application">
<ConfigItem Name="PublicFrontend::Module###PublicMyPackage" Required="1" Valid="1"> <Description Lang="en">Frontend module registration for MyPackage.</Description>
      <Group>MyPackage</Group>
      <SubGroup>Frontend::Public::ModuleRegistration</SubGroup>
      <Setting>
          <FrontendModuleReg>
              <Description>MyPackage</Description>
              <NavBarName>MyPackage</NavBarName>
              <Title>MyPackage</Title>
          </FrontendModuleReg>
      </Setting>
  </ConfigItem>
</otrs_config>

But the module is inaccesible in the public.pl. This URL: http://<HOST>/otrs/public.pl?Action=MyPackage
doesn't work. And shows the following error: "Error: Got no ModuleReg!"

All files are copied correctly:

Kernel/Config/Files/MyPackage.xml
Kernel/System/MyPackage.pm
Kernel/Modules/PublicMyPackage.pm
Kernel/Language/en_PublicMyPackage.pm
Kernel/Output/HTML/Standard/PublicMyPackage.dtl

What i am doing wrong? Can someone helpme?

Thanks!
Juan Manuel


---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to