Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.


Initial Email From:
Michael
Initial Email Subject: Overwriting of information?
Support Case Month: March 2012

Hi. 
I have two users (user R and user M) who udpate the same site.  If user R makes an update and then M makes an update later on R's updates are overwritten (and vise versa).  
Does Likno allow more than one user to make an update to the same site within minutes of each other (or hours, days)?
Please advise

Reply From: Likno Customer Support

Hello,

I am not sure I understand what you mean. If I understand correctly, then this is not related to Likno at all.

Assuming that you talk about AllWebMenus, if someone uploads some files online and then someone else uploads some other files with the same name, your first files are lost (overwritten).

It is the editors responsibility to make sure that (s)he opened the new updated project file so that no changes are lost.

This is not something we can control. You upload the Likno files just like any other file (e.g. a text file) and they are overwritten the same way.

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: Michael

Hi

I am working with {NAME REMOVED}.  I am user M.  When user R makes an update he finishes with loading file ‘menu.js’.

If I make an update I too finish with loading the ‘menu.js file’.  We are finding that the information we are installing is being overwritten.

In summary, two people are trying to update the same menu.js  (at different times) but for some reason changes get lost. 

Please assist

Thanks

Reply From: Likno Customer Support

Dear Michael (and Jean),

As I tried to explain to my previous email, this is a “procedural” problem. If both M and R had a word file, then each did a change and uploaded the file in turn, the second upload would overwrite the first. The same thing happens now with the menu.

The solution in both cases would be to make sure that you have the latest version before adding any new changes. To do this, I suggest that when a user compiles the menu and uploads changes (s)he should also upload the menu project file (use “File -> Export -> To ZIP”). Then the next user to edit the menu should first download the latest project file, make the new changes, then upload both the compiled menu and a new export of the project file.

In any case, the two (or more) users should always make sure that they have the latest project (with the latest changes) before adding any new changes.

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: Michael

Dear support,

We received your response. We still have questions that hopefully you can shed some light on.

There are two individuals building and making changes to the web site menu. When only one individual updates the menu by copying the “menu.js” file to the website, everything works file. However, when the other individual copies the newly created menu.js file, adds it to their desktop and makes changes to the menu, everything the last person changed is lost.

Keeping this in mind I noticed the pop up after compiling the menu and it suggests copying 3 files to the website, not just one.(shown below) The problem is the location of the “\awmdata\menu” file. It doesn’t appear in the same folder as all the other files. (shown below)

1. Please advise where the \awmdata\menu file can be located so that we can load it along with the other two files. Will this solve our problem?...Loading all 3 files?

2. Do the files need to be Zipped as per your e-mail instructions?

Your reply is greatly appreciated,

Reply From: Likno Customer Support

Hello,

Please see the answers below:

1. "However, when the other individual copies the newly created menu.js file, adds it to their desktop and makes changes to the menu, everything the last person changed is lost."

But why do you edit the "menu.js" file? This is what you do? This is the compiled menu file and should not be directly edited, as it is full of javascript and you will not know what to change, etc. Changing this file is not supported. Unless, you do not really mean "menu.js" but "menu.awm", which is the project file to open in AllWebMenus.

Still, I am not clear. You change the "menu.js" file (either manually or by compiling its "menu.awm" project), upload it in REPLACEMENT of the existing "menu.js" file online and you expect that the changes of the last person to be maintained? How could that be, since you replace the last "menu.js" with your new "menu.js"?

2. "Please advise where the \awmdata\menu file can be located so that we can load it along with the other two files. Will this solve our problem?...Loading all 3 files?"

The \awmdata\menu is not a file, it is a folder. It is mentioned at the screen:

menu file path

This has nothing to do with the FILE "menu.js", it is just a folder (inside the "awmdata" folder) that contains the image files of the menu. Just upload the "awmdata" folder and this subfolder will also be uploaded within it.

3. "Do the files need to be Zipped as per your e-mail instructions?"

No, the compiled files should not be zipped, this is irrelevant. We refer to the PROJECT .AWM file (the SOURCE) with which you edit the menu within AllWebMenus. This file is the one that you should make sure that BOTH developers use its latest version, so when anyone of the compiles you always get the latest changed inside the COMPILED menu file (menu.js) that is the one uploaded to the server. We just suggested that each one ZIPs the project (use “File -> Export Project -> To ZIP”) and send it to the other one (or upload it somewhere on your website for the other one to download it), so that the other one opens it and make changes to the menu, etc.

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

 

Tags: , , , , , , , , , , , ,