Elxis CMS Forum

Support => General => Topic started by: Farhad Sakhaei on September 22, 2007, 11:53:18

Title: problem with Dynamic Menu (based on JSCookMenu)
Post by: Farhad Sakhaei on September 22, 2007, 11:53:18
i have a problem with installing Dynamic Menu (based on JSCookMenu) , when i install it in a position , this error occured ...
Code: [Select]
PHP: Missing argument 2 for dmj::output_start(), called in D:\xampp\htdocs\elxis\modules\mod_dmj203.php on line 145 and defined
uri: index.php?mylang=english
path: /components/com_frontpage/frontpage.php
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): D:\xampp\htdocs\elxis\modules\mod_dmj203\functions.php, line 24
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: nikos65 on September 22, 2007, 14:56:18
Ηι Farhad,
i have the same problem with dynamic menu with same error message i think there is a  bug .
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: CREATIVE Options on September 22, 2007, 15:38:02
Here is the solution.

https://forum.elxis.org/index.php?topic=900.msg5792#msg5792

Elxis FAN.
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: Farhad Sakhaei on September 22, 2007, 15:44:28
hi sirigos , i searched all topics before i create this topic , but this is not an international post , could you please translate it here? thank you
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: CREATIVE Options on September 22, 2007, 15:58:53
Sorry I didn't notice that, here is the directions in English language.

1) Folder permissions:
Be sure that folders /modules/mod_dmj203 and all the sub folders have 755 permission.
With the installation procedure they get 711 and the script can't see the files of the subject neither the code.

2) Changes inside the code:
a) file: /modules/mod_dmj203.php, line 145.
Change it to:
Code: [Select]
dmj::output_start( '',$theme );
b) file: /modules/mod_dmj203/load_script.php, lines 28 and 29.
Change it to:
Code: [Select]
<script language = "JavaScript" src = "<?php echo $mosConfig_live_site?>/modules/mod_dmj203/JSCookMenu.js"></script>

<script language = "JavaScript" src = "<?php echo $mosConfig_live_site?>/modules/mod_dmj203/effect.js"></script>

Elxis FAN.
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: Farhad Sakhaei on September 22, 2007, 16:06:20
thank you , it is better to include these changes in module pack of Dynamic Menu and insert an attention to help users to change the permissions...
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: CREATIVE Options on September 22, 2007, 16:09:05
I would like to do that, but I don't have access in the files.
Probably John or Elias will do that soon.

Elxis FAN.
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: Farhad Sakhaei on September 22, 2007, 20:14:55
now i have a new problem , when i choose vbl from Menu Orientation , the submenus don't open from left , they only open from right!!! any body help ? ???
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: Farhad Sakhaei on September 24, 2007, 10:08:29
anybody help ?
Title: Re: problem with Dynamic Menu (based on JSCookMenu)
Post by: Farhad Sakhaei on September 24, 2007, 10:41:44
ok i found the solution myself , it is not module fault , it is for template , maybe for clear: left or right css tag ...  :D