Custom module from CTLModuleMaker

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
patak
Forum Members
Forum Members
Posts: 29
Joined: Thu Jun 12, 2008 2:55 pm

Custom module from CTLModuleMaker

Post by patak »

Hi,
I've created my module with CTLModulMaker, but on frontend labels of a fields aren't translated in spite of on backend there are translated.
When I try this module on site without MLE, it works fine.
Could anyone help me with it?

Here are my system information.
----------------------------------------------

Cms Version: 1.6

Installed Modules:

    * CMSMailer: 1.73.14
    * FileManager: 1.0
    * MenuManager: 1.6
    * ModuleManager: 1.3
    * News: 2.10
    * nuSOAP: 1.0.1
    * Printing: 1.0
    * Search: 1.6.1
    * ThemeManager: 1.1.1
    * FCKeditorX: 1.1.0-beta1
    * FormBuilder: 0.5.11
    * CGExtensions: 1.16
    * NMS: 2.2.2
    * Cart: 1.4.2
    * Album: 0.9.3
    * relatives: 0.2
    * Products: 2.3.1
    * Captcha: 0.4
    * Jobs: 1.0
    * TinyMCE: 2.5.0
    * Orders: 1.2.4
    * CGSimpleSmarty: 1.4.3
    * FrontEndUsers: 1.6.7
    * SelfRegistration: 1.2.5
    * CustomContent: 1.5.3
    * CTLModuleMaker: 1.8.8.2
    * reference: 1.0


Config Information:

    * php_memory_limit:
    * process_whole_template: true
    * max_upload_size: 8000000
    * default_upload_permission: 664
    * assume_mod_rewrite: true
    * page_extension: /
    * internal_pretty_urls: false
    * use_hierarchy: true


Php Information:

    * phpversion: 5.2.3
    * md5_function: On (True)
    * gd_version: 2
    * tempnam_function: On (True)
    * magic_quotes_runtime: Off (False)
    * memory_limit: 32M
    * max_execution_time: 60
    * safe_mode: On (True)
    * session_save_path: No check because open basedir active


Server Information:

    * Server Api: apache
    * Server Db Type: MySQL (mysql)
    * Server Db Version: 4.1.21


----------------------------------------------
klenkes
Power Poster
Power Poster
Posts: 307
Joined: Mon Sep 08, 2008 9:43 am

Re: Custom module from CTLModuleMaker

Post by klenkes »

Hi.
Okay... this may sound like a stupid question, but how do you call your custom module?
... cms_module module=yourmodule ... lang=$lang ... always worked for me to display the related language.

Bernd
patak
Forum Members
Forum Members
Posts: 29
Joined: Thu Jun 12, 2008 2:55 pm

Re: Custom module from CTLModuleMaker

Post by patak »

klenkes wrote: Hi.
Okay... this may sound like a stupid question, but how do you call your custom module?
... cms_module module=yourmodule ... lang=$lang ... always worked for me to display the related language.

Bernd
Hi Bernd,
Yes I call it this way ... {cms_module module="nameOfmodule" lang=$lang}
But labels are always in English in spite of I have also Czech language file.
alby

Re: Custom module from CTLModuleMaker

Post by alby »

patak wrote: Yes I call it this way ... {cms_module module="nameOfmodule" lang=$lang}
But labels are always in English in spite of I have also Czech language file.
Upgrade your version, 1.6-1.6.2 have a security problem ....
I don't know CTLModulMaker but if your module follow API module, lang param force this language.
Are you sure of correct value of $lang? display with {$lang} in your template

Alby
Locked

Return to “[locked] CMSMS MLE fork”