How To / General

Teacher's Listing module problem

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 1 month ago #1 by saman سامان
Teacher's Listing module problem was created by saman سامان
i use for persian language and you set this in your module:
in line 21
$teachers = JoomdleHelperContent::call_method ('teachers_abc', 'abcdefghijklmnñopqrstuvwxyz');

need to change to :
$teachers = JoomdleHelperContent::call_method ('teachers_abc', '');
to work with all language.
if you you accept that please say my name in your changelog.
thank you

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #2 by Antonio Durán
Replied by Antonio Durán on topic Teacher's Listing module problem
Thanks for the info. I will upload a new version with your fix soon.

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 1 month ago #3 by saman سامان
Replied by saman سامان on topic Teacher's Listing module problem
also we can not use different layout for modules. there is no dropdown field in adavnce tab in module to select my custom default.php.
how can i resolve that? in the past some other module has this problem but i can find not your help about that.

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago - 7 years 1 month ago #4 by Antonio Durán
Replied by Antonio Durán on topic Teacher's Listing module problem
In module XML file, change config block by this one:
Code:
<config> <fields name="params"> <fieldset name="advanced"> <field name="layout" type="modulelayout" label="JFIELD_ALT_LAYOUT_LABEL" description="JFIELD_ALT_MODULE_LAYOUT_DESC" /> <field name="moduleclass_sfx" type="textarea" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" rows="3" /> </fieldset> </fields> </config>
Last edit: 7 years 1 month ago by Antonio Durán.

Please Log in or Create an account to join the conversation.