Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 02:27:51 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155506 Posts in 21711 Topics by 7737 Members
Latest Member: simpleguy
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: easy menu problem  (Read 1252 times)
amitmalka

Offline Offline

Posts: 28


« on: June 29, 2009, 09:24:47 AM »

how i do in the code not in the panel that i can see from the child page because i have in my site
page hebrew and english and in the page i have 2 pages like multilang


my code in the site is:
<?php include_once( WB_PATH.'/modules/easymenu/include.php' ); easymenu(1); ?>

what i need to add to the code?
Logged
WebBird
Guest
« Reply #1 on: June 29, 2009, 10:31:10 AM »

I'm sorry, but I don't understand the problem. rolleyes
Logged
malkas3

Offline Offline

Posts: 16


« Reply #2 on: June 29, 2009, 11:40:28 AM »

your module dosent work because i use hebrew lang
so how i put in the index.php that he take from page child level 2
like in multiflex 3
Logged
WebBird
Guest
« Reply #3 on: June 29, 2009, 12:07:43 PM »

I'm really not sure about the problem. huh Do you want links to pages in hebrew to be shown in the menu for english pages?

Maybe you should post an example of the page structure. rolleyes
Logged
malkas3

Offline Offline

Posts: 16


« Reply #4 on: June 29, 2009, 12:49:36 PM »

i host in my computer i cant see you

but
 i want your module show me only the child page i send you pm this is not hard to understand
Logged
WebBird
Guest
« Reply #5 on: June 29, 2009, 12:57:41 PM »

The usage on multilanguage sites is explained here:

http://www.websitebaker2.org/forum/index.php/topic,13427.msg85291.html#msg85291

Prereqs:

* [Settings] -> Page Languages: Enabled
* [Admin-Tools] -> EasyMenu -> [Menus] -> Settings -> Use menu language: yes

And, of course, each page must be set to the correct language!

* [Pages] -> Settings -> Language: Hebrew / English
Logged
malkas3

Offline Offline

Posts: 16


« Reply #6 on: June 29, 2009, 01:27:59 PM »

i cant save in your module
שמירה - 0-9a-zᩭ謲???妧?A-Z?͓ڝ?̒لˏ֜?ŠΔۃѕ?ņǼИޜs-_ - FALSE
Logged
WebBird
Guest
« Reply #7 on: June 29, 2009, 01:47:16 PM »

Well, this is an error message thrown by the Validator. There seems to be a "funny" validator format. What is your backend language? Try "English", please.
Logged
malkas3

Offline Offline

Posts: 16


« Reply #8 on: June 29, 2009, 02:16:00 PM »

how i change this in the sql because this dosent work
Logged
WebBird
Guest
« Reply #9 on: June 29, 2009, 02:37:09 PM »

Have you tried "english" als backend language?

You may want to try this to analyze this:

Open file includes/class.wbValidator.php

In line 138, change

Code:
    var $debug    = false;

to

Code:
    var $debug    = true;

This will give LOTS of messages on the screen. Post the last 10 lines BEFORE the message you posted above here.
Logged
malkas3

Offline Offline

Posts: 16


« Reply #10 on: June 29, 2009, 02:51:02 PM »

10:


[debug] [varname] - shape
[debug] shape is valid var name
[debug] [varname] - tabindex
[debug] tabindex is valid var name
[debug] [get] variable -menu_id-
[debug] [get] tainted value [menu_id] not found!

[debug] [get] variable -cancel-
[debug] [get] tainted value [cancel] not found!
[debug] [get] variable -action-
[debug] [get] tainted value [action] not found!
Logged
malkas3

Offline Offline

Posts: 16


« Reply #11 on: June 29, 2009, 02:54:43 PM »

in my site when the script need to be i have
debug] creating object
[debug] FORM DATA:

Array
(
    [lang] => HE
    [__utma] => 33845691.2772679435 869679000.124619248 1.1246192481.124619 2481.1
    [__utmz] => 33845691.1246192481 .1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    [wb_jsadmin_pages] =>
    [wb_8645_session_id] => c55084be031b65bf3d7 904181f6363af
)
[debug] [varname] - orientation
[debug] orientation is valid var name
[debug] [varname] - shape
[debug] shape is valid var name
[debug] [varname] - accesskeypad
[debug] accesskeypad is valid var name
[debug] [varname] - action
[debug] action is valid var name
[debug] [varname] - addtheme
[debug] addtheme is valid var name
[debug] [varname] - adv
[debug] adv is valid var name
[debug] [varname] - cancel
[debug] cancel is valid var name
[debug] [varname] - cancelopt
[debug] cancelopt is valid var name
[debug] [varname] - color_scheme
[debug] color_scheme is valid var name
[debug] [varname] - create_level_css
[debug] create_level_css is valid var name
[debug] [varname] - css_prefix
[debug] css_prefix is valid var name
[debug] [varname] - current_href_css
[debug] current_href_css is valid var name
[debug] [varname] - current_li_css
[debug] current_li_css is valid var name
[debug] [varname] - deltheme
[debug] deltheme is valid var name
[debug] [varname] - first_li_css
[debug] first_li_css is valid var name
[debug] [varname] - heading
[debug] heading is valid var name
[debug] [varname] - href_css
[debug] href_css is valid var name
[debug] [varname] - include
[debug] include is valid var name
[debug] [varname] - item_close
[debug] item_close is valid var name
[debug] [varname] - item_open
[debug] item_open is valid var name
[debug] [varname] - last_li_css
[debug] last_li_css is valid var name
[debug] [varname] - li_css
[debug] li_css is valid var name
[debug] [varname] - line
[debug] line is valid var name
[debug] [varname] - max_level
[debug] max_level is valid var name
[debug] [varname] - menu_close
[debug] menu_close is valid var name
[debug] [varname] - menu_id
[debug] menu_id is valid var name
[debug] [varname] - menu_open
[debug] menu_open is valid var name
[debug] [varname] - menu_type
[debug] menu_type is valid var name
[debug] [varname] - min_level
[debug] min_level is valid var name
[debug] [varname] - name
[debug] name is valid var name
[debug] [varname] - orientation
[debug] orientation is valid var name
[debug] [varname] - page_id
[debug] page_id is valid var name
[debug] [varname] - remove
[debug] remove is valid var name
[debug] [varname] - save
[debug] save is valid var name
[debug] [varname] - start_page
[debug] start_page is valid var name
[debug] [varname] - theme
[debug] theme is valid var name
[debug] [varname] - theme_id
[debug] theme_id is valid var name
[debug] [varname] - tpl
[debug] tpl is valid var name
[debug] [varname] - trail_li_css
[debug] trail_li_css is valid var name
[debug] [varname] - type
[debug] type is valid var name
[debug] [varname] - ul_css
[debug] ul_css is valid var name
[debug] [varname] - urlencode
[debug] urlencode is valid var name
[debug] [varname] - wb_menu_number
[debug] wb_menu_number is valid var name
[debug] [varname] - wb_menu_use_lang
[debug] wb_menu_use_lang is valid var name
[debug] [varname] - accesskey
[debug] accesskey is valid var name
[debug] [varname] - charset
[debug] charset is valid var name
[debug] [varname] - coords
[debug] coords is valid var name
[debug] [varname] - hreflang
[debug] hreflang is valid var name
[debug] [varname] - rel
[debug] rel is valid var name
[debug] [varname] - ref
[debug] ref is valid var name
[debug] [varname] - shape
[debug] shape is valid var name
[debug] [varname] - tabindex
[debug] tabindex is valid var name
[debug] [varname] - name
[debug] name is valid var name
[debug] adding var [name] with value [EMTOP] to tainted
[debug] [get] variable -name-
[debug] [get] validating -name-
[debug] [__validate] name
[debug] [validate] -name- with method -string-
[debug] [string] validating var [name]

Array
(
    [format] => 0-9a-zᩭ謲???妧?A-Z?͓ڝ?̒لˏ֜?ŠΔۃѕ?ņǼИޜs-_
)
[debug] value [EMTOP] is valid string
[debug] [get] found clean ---> $value: EMTOP
[debug] [get] returning unstripped value -EMTOP-
Logged
WebBird
Guest
« Reply #12 on: June 29, 2009, 03:22:08 PM »

Is this the stack with the error occuring, or did you just alter the file an call EasyMenu in Admin-Tools?
Logged
malkas3

Offline Offline

Posts: 16


« Reply #13 on: June 29, 2009, 03:23:01 PM »

i just install and this is the problem
Logged
WebBird
Guest
« Reply #14 on: June 29, 2009, 03:56:52 PM »

So the error message occurs when clicking on Admin-Tools -> EasyMenu directly AFTER installing the module?

For all readers: Please, when posting an error, add a most detailled description of all steps needed to reproduce the error!
Logged
malkas3

Offline Offline

Posts: 16


« Reply #15 on: June 29, 2009, 04:04:48 PM »

yes


this is a problem in your module when i install

Logged
WebBird
Guest
« Reply #16 on: June 29, 2009, 04:47:23 PM »

Hm. Maybe I'll have to install hebrew to reproduce this. Again: Have you tried with english as backend language?
Logged
WebBird
Guest
« Reply #17 on: June 29, 2009, 05:11:41 PM »

I can confirm that this problem occurs when using Hebrew as backend language. The text on the [Cancel] button is treated as an invalid string.

Workaround: Use English as backend language.

I'll fix this in the next version of EM.
Logged
WebBird
Guest
« Reply #18 on: June 29, 2009, 05:44:33 PM »

Try to replace the files class.wbValidator.p hp and init.php in the includes subfolder with the files attached. Does this help?
Logged
amitmalka

Offline Offline

Posts: 28


« Reply #19 on: June 30, 2009, 09:33:08 AM »

i use english and i have this problem too
and i upload and this dosent work

i need this please i use multilang so i want the menu will show me the pages in the lang

in multiflex this was work
Logged
WebBird
Guest
« Reply #20 on: June 30, 2009, 09:35:58 AM »

I'm sorry, but I cannot reproduce this, so I'm unable to fix it.

Please note that EasyMenu was just withdrawn. (See here: http://www.websitebaker2.org/forum/index.php/topic,13427.msg89012.html#msg89012)

Maybe you should try show_menu2() instead.
Logged
amitmalka

Offline Offline

Posts: 28


« Reply #21 on: June 30, 2009, 09:41:11 AM »

man after i false the debug everything work

you fix it!!!


yes!!!

i love u Smiley
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!