Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emma-template :: JavaScript Errors #1

Open
slawkens opened this issue Feb 3, 2020 · 2 comments
Open

emma-template :: JavaScript Errors #1

slawkens opened this issue Feb 3, 2020 · 2 comments

Comments

@slawkens
Copy link
Owner

slawkens commented Feb 3, 2020

// Copied from old issues
// Original author: Jarofir

Hello,
There is a file menu.js in this template, that should give feature to hide submenu blocks, but it's not working.
Console Error
menu.js
basic.js
visibility

@krolikson
Copy link

krolikson commented Dec 25, 2020

It it really easy to fix. Just change + imgPath + on +<?php echo $template_path; ?> +and everythink should work. Into that template there is more issues. Menu.js do not changing the pictures and do not marking an active element, because it cannot find a menu-item element.Iam still trying to fix it :)

@krolikson
Copy link

krolikson commented Dec 25, 2020

or you can just put variable on the begging of page
imgPath = <? Echo $template_path; ?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants